Function at 0x461150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
setne al
movzx ecx, byte [eax + esi + 0x19]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x34], ecx
cmp ecx, edi
je 0x461da0
cmp eax, edi
jne 0x461da0
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x38]
push ecx
push esi
push eax
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], edi
call fcn.0045f0f0
add esp, 0x10
test eax, eax
jne 0x461d48
mov dword [esp + 0x1c], edi
cmp dword [esi + 0x14], edi
jle 0x4619c3
mov eax, 3
mov dword [esp + 0x68], 0x5508dc
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], 0x5508e4
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x461209
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
jmp 0x46120f
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x24]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x461224
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x1c]
movsx ecx, word [ecx + edx*2]
jmp 0x46122b
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx + 0x20]
lea edx, [ecx + ecx*2]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edx*8]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edx, dword [edx + 4]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
mov edx, dword [eax + edx]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], edx
test ecx, ecx
jne 0x46125f
xor eax, eax
jmp 0x461272
mov eax, ecx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x461264
sub eax, esi
and eax, 0x3fffffff
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], eax
test edx, edx
jne 0x461286
xor edi, edi
mov dword [esp + 0x44], edi
jmp 0x4612a4
mov eax, edx
lea edx, [eax + 1]
jmp 0x461290
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x461290
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x10]
xor eax, eax
lea ecx, [edi + 0x31]
push eax
push ecx
mov dword [esp + 0x78], ecx
call fcn.004184b0
mov ebx, eax
add esp, 8
mov dword [esp + 0x40], ebx
test ebx, ebx
je 0x461319
mov eax, dword [esp + 0x70]
push eax
push 0
push ebx
call fcn.004f8f00
or ecx, 0xffffffff
lea eax, [edi + 1]
add esp, 0xc
mov byte [ebx], 0x1b
mov word [ebx + 0x22], cx
test eax, eax
jne 0x4612f2
or dword [ebx + 4], 0x400
mov dword [ebx + 8], eax
jmp 0x461312
lea eax, [ebx + 0x30]
mov dword [ebx + 8], eax
test edi, edi
je 0x46130b
mov edx, dword [esp + 0x60]
push edi
push edx
push eax
call fcn.004f8b20
add esp, 0xc
mov eax, dword [ebx + 8]
mov byte [edi + eax], 0
mov dword [ebx + 0x18], 1
mov edi, dword [esp + 0x24]
xor ecx, ecx
inc edi
lea eax, [edi + 0x30]
push ecx
push eax
call fcn.004184b0
mov ebx, eax
add esp, 8
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x46138b
lea eax, [edi + 0x30]
push eax
push 0
push ebx
call fcn.004f8f00
or ecx, 0xffffffff
add esp, 0xc
mov byte [ebx], 0x1b
mov word [ebx + 0x22], cx
test edi, edi
jne 0x461360
or dword [ebx + 4], 0x400
mov dword [ebx + 8], edi
jmp 0x461384
mov edi, dword [esp + 0x24]
lea eax, [ebx + 0x30]
mov dword [ebx + 8], eax
test edi, edi
je 0x46137d
mov edx, dword [esp + 0x50]
push edi
push edx
push eax
call fcn.004f8b20
add esp, 0xc
mov eax, dword [ebx + 8]
mov byte [edi + eax], 0
mov dword [ebx + 0x18], 1
push 0
push 0x34
call fcn.004184b0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4613db
push 0x34
push 0
push ebx
call fcn.004f8f00
mov byte [ebx], 0x1b
lea eax, [ebx + 0x30]
mov dword [ebx + 8], eax
add esp, 0xc
or ecx, 0xffffffff
mov word [ebx + 0x22], cx
mov dx, word [0x5508dc]
mov word [eax], dx
mov cl, byte [0x5508de]
mov byte [eax + 2], cl
mov edx, dword [ebx + 8]
mov byte [edx + 3], 0
mov dword [ebx + 0x18], 1
mov eax, dword [ebp + 8]
mov esi, dword [eax]
push 0
push 0x30
call fcn.004184b0
mov edi, eax
add esp, 8
test edi, edi
je 0x461410
push 0x30
push 0
push edi
call fcn.004f8f00
add esp, 0xc
or ecx, 0xffffffff
mov byte [edi], 0x7a
mov word [edi + 0x22], cx
mov dword [edi + 0x18], 1
mov edx, dword [ebp + 8]
mov esi, dword [edx]
test edi, edi
jne 0x461433
push ebx
push esi
call fcn.0044a550
mov eax, dword [esp + 0x44]
push eax
push esi
call fcn.0044a550
mov ebx, dword [ebp + 8]
add esp, 0x10
jmp 0x461480
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x46144a
mov dword [edi + 0x10], eax
mov ecx, dword [eax + 4]
and ecx, 0x200100
or dword [edi + 4], ecx
test ebx, ebx
je 0x46145d
mov dword [edi + 0xc], ebx
mov edx, dword [ebx + 4]
and edx, 0x200100
or dword [edi + 4], edx
mov esi, edi
call fcn.00449df0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
cmp dword [edi + 0x18], eax
jle 0x461480
push eax
push 0x54e704
push ebx
call fcn.0041ad80
add esp, 0xc
mov esi, dword [ebx]
push 0
push 0x30
call fcn.004184b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4614b2
push 0x30
push 0
push esi
call fcn.004f8f00
add esp, 0xc
or ecx, 0xffffffff
mov byte [esi], 0x4f
mov word [esi + 0x22], cx
mov dword [esi + 0x18], 1
mov edx, dword [ebx]
mov dword [esp + 0x3c], edx
test esi, esi
jne 0x4614d9
mov eax, edx
push edi
push eax
call fcn.0044a550
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
call fcn.0044a550
add esp, 0x10
jmp 0x461520
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4614ef
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x200100
or dword [esi + 4], eax
test edi, edi
je 0x461502
mov dword [esi + 0xc], edi
mov ecx, dword [edi + 4]
and ecx, 0x200100
or dword [esi + 4], ecx
call fcn.00449df0
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
cmp dword [esi + 0x18], eax
jle 0x461520
push eax
push 0x54e704
push ebx
call fcn.0041ad80
add esp, 0xc
mov eax, dword [esp + 0x18]
push eax
mov eax, esi
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.0044a1a0
add esp, 4
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x18], eax
je 0x461796
push 0
push 0x1b
push esi
lea eax, [esp + 0x5c]
call fcn.00449ec0
add esp, 0xc
push 0
mov edi, eax
push 0x1b
push esi
lea eax, [esp + 0x64]
call fcn.00449ec0
mov esi, dword [ebx]
add esp, 0xc
push 0
push 0x30
mov dword [esp + 0x48], eax
call fcn.004184b0
mov esi, eax
add esp, 8
mov dword [esp + 0x24], esi
test esi, esi
je 0x4615a1
push 0x30
push 0
push esi
call fcn.004f8f00
add esp, 0xc
or ecx, 0xffffffff
mov byte [esi], 0x7a
mov word [esi + 0x22], cx
mov dword [esi + 0x18], 1
mov edx, dword [ebx]
mov dword [esp + 0x3c], edx
test esi, esi
jne 0x4615c4
mov eax, dword [esp + 0x40]
push eax
mov esi, edx
push esi
call fcn.0044a550
push edi
push esi
call fcn.0044a550
add esp, 0x10
jmp 0x46160c
test edi, edi
je 0x4615d7
mov dword [esi + 0x10], edi
mov ecx, dword [edi + 4]
and ecx, 0x200100
or dword [esi + 4], ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4615ee
mov dword [esi + 0xc], eax
mov edx, dword [eax + 4]
and edx, 0x200100
or dword [esi + 4], edx
call fcn.00449df0
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
cmp dword [esi + 0x18], eax
jle 0x46160c
push eax
push 0x54e704
push ebx
call fcn.0041ad80
add esp, 0xc
mov esi, dword [esp + 0x10]
push 0
push 0x1b
push esi
lea eax, [esp + 0x5c]
call fcn.00449ec0
add esp, 0xc
push 0
mov dword [esp + 0x44], eax
push 0x1b
push esi
lea eax, [esp + 0x74]
call fcn.00449ec0
mov esi, dword [ebx]
add esp, 0xc
push 0
push 0x30
mov dword [esp + 0x44], eax
call fcn.004184b0
mov edi, eax
add esp, 8
test edi, edi
je 0x46166c
push 0x30
push 0
push edi
call fcn.004f8f00
add esp, 0xc
or ecx, 0xffffffff
mov byte [edi], 0x7a
mov word [edi + 0x22], cx
mov dword [edi + 0x18], 1
mov esi, dword [ebx]
test edi, edi
jne 0x46168d
mov edx, dword [esp + 0x3c]
push edx
push esi
call fcn.0044a550
mov eax, dword [esp + 0x48]
push eax
push esi
call fcn.0044a550
add esp, 0x10
jmp 0x4616db
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4616a4
mov dword [edi + 0x10], eax
mov ecx, dword [eax + 4]
and ecx, 0x200100
or dword [edi + 4], ecx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4616bb
mov dword [edi + 0xc], eax
mov edx, dword [eax + 4]
and edx, 0x200100
or dword [edi + 4], edx
mov esi, edi
call fcn.00449df0
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
cmp dword [edi + 0x18], eax
jle 0x4616db
push eax
push 0x54e704
push ebx
call fcn.0041ad80
add esp, 0xc
mov esi, dword [ebx]
push 0
push 0x30
call fcn.004184b0
mov esi, eax
add esp, 8
test esi, esi
je 0x46170d
push 0x30
push 0
push esi
call fcn.004f8f00
add esp, 0xc
or ecx, 0xffffffff
mov byte [esi], 0x49
mov word [esi + 0x22], cx
mov dword [esi + 0x18], 1
mov edx, dword [ebx]
mov dword [esp + 0x40], edx
test esi, esi
jne 0x461734
mov eax, edx
push edi
push eax
call fcn.0044a550
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
push ecx
push edx
call fcn.0044a550
add esp, 0x10
jmp 0x46177b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46174a
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x200100
or dword [esi + 4], eax
test edi, edi
je 0x46175d
mov dword [esi + 0xc], edi
mov ecx, dword [edi + 4]
and ecx, 0x200100
or dword [esi + 4], ecx
call fcn.00449df0
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
cmp dword [esi + 0x18], eax
jle 0x46177b
push eax
push 0x54e704
push ebx
call fcn.0041ad80
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
mov eax, esi
call fcn.0044a1a0
mov esi, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
cmp eax, 6
je 0x4619ae
cmp eax, 9
jne 0x461872
cmp dword [ebp + 0x14], 0
je 0x4619ae
push 0
push 0x1b
push esi
lea eax, [esp + 0x5c]
call fcn.00449ec0
add esp, 0xc
push 0
mov edi, eax
push 0x1b
push esi
lea eax, [esp + 0x64]
call fcn.00449ec0
mov esi, dword [ebx]
add esp, 0xc
push 0
push 0x30
mov dword [esp + 0x44], eax
call fcn.004184b0
mov esi, eax
add esp, 8
test esi, esi
je 0x461810
push 0x30
push 0
push esi
call fcn.004f8f00
add esp, 0xc
or ecx, 0xffffffff
mov byte [esi], 0x7a
mov word [esi + 0x22], cx
mov dword [esi + 0x18], 1
mov edx, dword [ebx]
mov dword [esp + 0x40], edx
test esi, esi
jne 0x46183a
mov eax, dword [esp + 0x3c]
push eax
mov ecx, edx
push ecx
call fcn.0044a550
mov edx, dword [esp + 0x48]
push edi
push edx
call fcn.0044a550
add esp, 0x10
jmp 0x461941
test edi, edi
je 0x46184c
mov dword [esi + 0x10], edi
mov eax, dword [edi + 4]
and eax, 0x200100
or dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x461863
mov dword [esi + 0xc], eax
mov ecx, dword [eax + 4]
and ecx, 0x200100
or dword [esi + 4], ecx
call fcn.00449df0
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
jmp 0x46192d
push 0
cmp eax, 8
jne 0x4618d8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x4c]
mov eax, dword [edx + eax + 4]
test eax, eax
je 0x4618a0
push 0
push eax
push esi
call fcn.0044a690
add esp, 0x10
mov esi, eax
jmp 0x461941
mov esi, dword [ebx]
push 0x30
call fcn.004184b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4618d0
push 0x30
push 0
push esi
call fcn.004f8f00
add esp, 0xc
or ecx, 0xffffffff
mov byte [esi], 0x65
mov word [esi + 0x22], cx
mov dword [esi + 0x18], 1
mov edi, dword [ebx]
test esi, esi
jne 0x461863
jmp 0x46190e
mov esi, dword [ebx]
push 0x30
call fcn.004184b0
mov esi, eax
add esp, 8
test esi, esi
je 0x461908
push 0x30
push 0
push esi
call fcn.004f8f00
add esp, 0xc
or eax, 0xffffffff
mov byte [esi], 0x65
mov word [esi + 0x22], ax
mov dword [esi + 0x18], 1
mov edi, dword [ebx]
test esi, esi
jne 0x461923
push 0
push edi
call fcn.0044a550
push 0
push edi
call fcn.0044a550
add esp, 0x10
jmp 0x461941
call fcn.00449df0
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x64]
cmp dword [esi + 0x18], eax
jle 0x461941
push eax
push 0x54e704
push ebx
call fcn.0041ad80
add esp, 0xc
mov ecx, dword [esp + 0x20]
push esi
mov eax, ebx
call fcn.0044b0c0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x4619ae
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [ebx]
lea edx, [ecx + ecx*2]
lea ecx, [eax + edx*8 - 0x18]
xor eax, eax
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x60], eax
jne 0x461976
xor esi, esi
jmp 0x4619a7
mov edi, dword [esp + 0x44]
mov edx, edi
add edx, 1
adc eax, 0
push eax
push edx
mov esi, ebx
call fcn.004184b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4619a7
mov eax, dword [esp + 0x60]
push edi
push eax
push esi
call fcn.004f8b20
add esp, 0xc
mov byte [edi + esi], 0
mov ecx, dword [esp + 0x48]
mov dword [ecx + 4], esi
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0x10]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [edx + 0x14]
jl 0x4611f8
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x461a14
test ebx, ebx
je 0x461a0b
cmp dword [ebx + 0x208], 0
je 0x4619e5
mov ecx, ebx
call fcn.004181f0
jmp 0x461a14
cmp eax, dword [ebx + 0x114]
jb 0x461a0b
cmp eax, dword [ebx + 0x118]
jae 0x461a0b
mov ecx, dword [ebx + 0x110]
mov dword [eax], ecx
dec dword [ebx + 0xfc]
mov dword [ebx + 0x110], eax
jmp 0x461a14
push eax
call fcn.00418180
add esp, 4
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov edx, dword [eax]
mov dword [esp + 0x48], edx
test edx, edx
jne 0x461a27
xor eax, eax
jmp 0x461a3e
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x461a30
sub eax, esi
and eax, 0x3fffffff
cmp dword [esp + 0x34], 6
mov dword [esp + 0x1c], eax
jne 0x461ba6
mov dword [esp + 0x6c], eax
mov eax, 0x5508e8
mov dword [esp + 0x68], edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x461a60
sub eax, esi
and eax, 0x3fffffff
lea ecx, [eax + 0x31]
mov dword [esp + 0x64], eax
xor eax, eax
push eax
push ecx
mov esi, ebx
mov dword [esp + 0x78], ecx
call fcn.004184b0
mov edi, eax
add esp, 8
test edi, edi
je 0x461ae9
mov ecx, dword [esp + 0x70]
push ecx
push 0
push edi
call fcn.004f8f00
mov esi, dword [esp + 0x70]
or edx, 0xffffffff
lea eax, [esi + 1]
add esp, 0xc
mov byte [edi], 0x39
mov word [edi + 0x22], dx
test eax, eax
jne 0x461abe
or dword [edi + 4], 0x400
mov dword [edi + 8], eax
jmp 0x461ade
lea eax, [edi + 0x30]
mov dword [edi + 8], eax
test esi, esi
je 0x461ad7
push esi
push 0x5508e8
push eax
call fcn.004f8b20
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
mov byte [edi + 1], 2
push 0
push 0x58
mov esi, ebx
call fcn.004184b0
mov esi, eax
add esp, 8
test esi, esi
je 0x461b34
push 0x58
push 0
push esi
call fcn.004f8f00
add esp, 0xc
mov dword [esi + 4], 1
mov ecx, dword [esi]
push ecx
push 1
push ebx
mov eax, esi
call fcn.00458aa0
add esp, 0xc
cmp byte [ebx + 0x41], 0
mov esi, eax
je 0x461b38
push esi
mov eax, ebx
call fcn.00458cd0
add esp, 4
xor esi, esi
jmp 0x461b6d
mov eax, dword [esi]
lea edx, [eax + eax*4]
add edx, edx
lea eax, [esi + edx*8 - 0x48]
push ebx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x48], eax
call fcn.00454520
mov ecx, dword [esp + 0x48]
add esp, 4
mov dword [ecx + 8], eax
push ebx
xor ecx, ecx
call fcn.00454520
mov edx, dword [esp + 0x48]
add esp, 4
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push esi
mov esi, dword [ebp + 8]
push edi
xor ecx, ecx
mov eax, esi
call fcn.0044b0c0
add esp, 4
push eax
mov ecx, esi
call fcn.0046b7d0
add esp, 0x24
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], 0
mov cl, byte [ebx + 0xfa]
mov byte [esp + 0xf], cl
mov ecx, dword [esp + 0x1c]
xor eax, eax
add ecx, 0x49
push eax
push ecx
mov esi, ebx
mov byte [ebx + 0xfa], 0
call fcn.004184b0
mov edi, eax
add esp, 8
test edi, edi
je 0x461be5
mov eax, dword [esp + 0x1c]
add eax, 0x49
push eax
push 0
push edi
call fcn.004f8f00
add esp, 0xc
mov dword [esp + 0x40], edi
test edi, edi
je 0x461cfc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
lea esi, [edi + 0x24]
push edx
lea eax, [esi + 0x24]
push ecx
mov dword [edi + 0x1c], esi
push eax
mov dword [esp + 0x38], esi
mov dword [esi + 0xc], eax
call fcn.004f8b20
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push 1
push edx
push ebx
call fcn.0044a690
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
push 1
push eax
push ebx
call fcn.0044aa10
mov ecx, dword [esp + 0x4c]
add esp, 0x1c
push 1
push ecx
push ebx
mov dword [esi + 0x14], eax
call fcn.0044af80
add esp, 0xc
cmp dword [esp + 0x14], 0
mov dword [esi + 8], eax
je 0x461d00
mov edx, dword [ebp + 8]
mov esi, dword [edx]
push 0
push 0x30
call fcn.004184b0
mov esi, eax
add esp, 8
test esi, esi
je 0x461c8c
push 0x30
push 0
push esi
call fcn.004f8f00
add esp, 0xc
or eax, 0xffffffff
mov byte [esi], 0x13
mov word [esi + 0x22], ax
mov dword [esi + 0x18], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], edx
test esi, esi
jne 0x461cb6
push eax
mov ecx, edx
push ecx
call fcn.0044a550
mov edx, dword [esp + 0x4c]
push esi
push edx
call fcn.0044a550
add esp, 0x10
jmp 0x461ce7
mov dword [esi + 0xc], eax
mov eax, dword [eax + 4]
and eax, 0x200100
or dword [esi + 4], eax
call fcn.00449df0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
cmp dword [esi + 0x18], eax
jle 0x461ce7
push eax
mov eax, ecx
push 0x54e704
push eax
call fcn.0041ad80
add esp, 0xc
push 0
push 1
push esi
push ebx
mov dword [esp + 0x24], esi
call fcn.0044a690
add esp, 0x10
mov dword [edi + 0xc], eax
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov cl, byte [esp + 0xf]
push edx
push ebx
mov byte [ebx + 0xfa], cl
call fcn.0044a550
mov eax, dword [esp + 0x1c]
push eax
push ebx
call fcn.0044a550
mov ecx, dword [esp + 0x30]
push ecx
push ebx
call fcn.0044b2e0
mov edx, dword [esp + 0x48]
push 1
push edx
push ebx
call fcn.0046b6a0
add esp, 0x24
cmp byte [ebx + 0x41], 1
jne 0x461d51
mov esi, ebx
call fcn.004605c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x34]
cmp eax, 6
je 0x461d6f
cmp eax, 9
jne 0x461d6a
cmp dword [ebp + 0x14], 0
jne 0x461d6a
mov byte [esi], 0x6d
jmp 0x461d72
mov byte [esi], 0x6e
jmp 0x461d72
mov byte [esi], 0x77
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
mov dword [esi + 4], edi
mov ecx, dword [eax + 0x40]
mov dword [edi + 0x14], ecx
mov edx, dword [eax + 0x40]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x18], edx
setne dl
mov dword [ecx + eax*4 + 0x1c], edi
mov eax, dword [esp + 0x40]
add dl, 0x6d
mov byte [edi + 8], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret