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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push dword [ebp + 0xc]
call fcn.00435ff0
mov edx, dword [0x4a7b74]
mov esi, eax
add esp, 4
movzx ecx, word [esi + 2]
mov dword [ebp - 0xc], esi
cmp ecx, 0x20
jb 0x424693
mov eax, dword [edx + 0x1d4]
sub ecx, 0x20
imul ecx, ecx, 0x92
cmp dword [ecx + eax], 0
jne 0x424693
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
movzx eax, cx
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x4246b2
push ecx
call fcn.00436070
mov edx, dword [0x4a7b74]
add esp, 4
mov edi, eax
push ebx
mov ebx, dword [esi + 0x14]
test byte [ebx + 0x2a], 8
jne 0x4246c7
mov ecx, dword [ebp + 0x1c]
or ecx, 2
mov dword [ebp - 4], ecx
jmp 0x4246cd
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x3c]
cmp eax, dword [edx + 0x40]
jge 0x424b81
movzx eax, word [esi + 2]
push ebx
push eax
call fcn.00426ad0
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x424b81
push 1
push eax
call fcn.004688e4
mov esi, eax
add esp, 8
test esi, esi
je 0x424b81
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [0x4a7b74]
inc dword [eax + 0x3c]
mov eax, dword [0x4a7b74]
mov ecx, dword [eax + 0x1278]
mov eax, dword [ebp + 0x24]
test eax, eax
jns 0x42473a
cmp dword [ecx], 0
je 0x42473d
lea esp, [esp]
add ecx, 8
cmp dword [ecx], 0
jne 0x424730
jmp 0x42473d
lea ecx, [ecx + eax*8]
mov dword [ecx], esi
mov eax, dword [ebx + 0x2e]
mov dword [esi + 0xb4], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x78], eax
mov eax, dword [0x4a7b74]
cmp ecx, dword [eax + 0x4b8]
jbe 0x424767
inc word [eax + 0x4bc]
mov eax, dword [0x4a7b74]
sub ecx, dword [eax + 0x1278]
sar ecx, 3
mov word [esi], cx
mov eax, dword [0x4a7b74]
inc word [eax + 0x14c]
mov eax, dword [0x4a7b74]
cmp word [eax + 0x14c], 0
jne 0x42479f
mov ecx, 1
mov word [eax + 0x14c], cx
mov eax, dword [0x4a7b74]
movzx eax, word [eax + 0x14c]
mov word [esi + 0x1a], ax
mov eax, dword [ebp + 0xc]
mov word [esi + 0x12], ax
mov eax, dword [ebp + 8]
mov word [esi + 0x10], ax
mov eax, dword [ebp - 0xc]
push esi
movzx eax, word [eax + 2]
mov word [esi + 0x18], ax
mov eax, dword [0x4a7b74]
mov dword [esi + 8], eax
call fcn.004265a0
movzx eax, word [esi + 0x18]
add esp, 4
mov dword [esi + 0xc], esi
cmp ax, 0x20
jge 0x4247f2
cwde
mov edx, dword [eax*4 + 0x4a39e0]
mov eax, dword [eax*4 + 0x4a39b8]
jmp 0x424825
movsx ecx, ax
mov eax, dword [0x4a7b74]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
cmp dword [ecx + eax - 0x1230], 0
mov edx, dword [ecx + eax - 0x1238]
je 0x42481e
mov eax, fcn.00451160
jmp 0x424825
mov eax, dword [ecx + eax - 0x1234]
test byte [esi + 0x78], 2
push 0
mov ecx, 0x426b30
cmovne eax, ecx
push 0
push esi
mov dword [esi + 0x88], edx
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], eax
call fcn.00426e20
mov eax, dword [0x4a7b74]
test byte [eax + 0x28], 0x20
je 0x42486b
movsx eax, word [esi + 0x12]
push eax
call fcn.00436030
push eax
call fcn.004367b0
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x44], ebx
cmp eax, 0x80000000
jne 0x42487b
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x14]
cmp eax, 0x80000000
jne 0x42488e
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x20]
test edi, edi
je 0x4248a4
cmp eax, 0xffffffff
jne 0x4248a4
movzx eax, word [edi + 0x10]
mov dword [ebp - 0x14], eax
mov dword [esi + 0x84], eax
lea ecx, [eax + eax*2]
mov eax, dword [0x4a7b70]
shl ecx, 5
add ecx, dword [eax + 0x30]
inc dword [ecx + 0x28]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov word [ebp - 0x22], ax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x78]
mov edi, 0xb8
test eax, 0x230
je 0x42491a
mov edi, 0x130
mov dword [esi + 0xc0], fcn.00428ff0
mov dword [esi + 0xc4], 0x42bb80
mov dword [esi + 0xe0], 0x3f800000
mov dword [esi + 0xe4], 0x3f800000
mov dword [esi + 0xcc], 0xffffffff
test al, 0x10
je 0x42493a
add edi, 0x9e
test byte [ebp - 0x22], 1
jne 0x42493a
lea eax, [ebp - 0x28]
push eax
push ebx
push esi
push 0
call fcn.0042cd90
add esp, 0x10
test byte [esi + 0x78], 0x20
je 0x424952
mov dword [esi + 0xb8], edi
push esi
add edi, 0x50
call fcn.0042ccc0
add esp, 4
test dword [esi + 0x78], 0x200
je 0x424972
lea eax, [ebp - 0x28]
push eax
push ebx
mov dword [esi + 0xbc], edi
push esi
add edi, 0x24
call fcn.00401cb0
add esp, 0xc
test dword [esi + 0x78], 0x100
je 0x42498f
lea eax, [ebp - 0x28]
push eax
push ebx
push esi
mov dword [esi + 0x80], edi
call fcn.00402130
add esp, 0xc
movzx eax, word [esi + 0x18]
cmp ax, 0x20
jge 0x4249e2
cwde
mov eax, dword [eax*4 + 0x4a3968]
test eax, eax
je 0x4249b5
lea ecx, [ebp - 0x28]
push ecx
push ebx
push esi
call eax
add esp, 0xc
test ax, ax
jne 0x424a13
test byte [esi + 0x78], 0x40
je 0x4249c6
mov eax, dword [0x4a7b74]
inc dword [eax + 0x518]
test dword [esi + 0x78], 0x200
je 0x4249d8
push esi
call fcn.00401dc0
add esp, 4
movsx eax, word [esi]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx ecx, ax
mov eax, dword [0x4a7b74]
sub ecx, 0x20
mov eax, dword [eax + 0x1d4]
imul ecx, ecx, 0x92
mov ecx, dword [ecx + eax]
test ecx, ecx
je 0x4249b5
movzx eax, word [ebx + 0x24]
lea edx, [ebp - 0x28]
push edx
add eax, ebx
push eax
push esi
call ecx
test ax, ax
je 0x4249b5
mov eax, dword [0x4a7b74]
dec word [eax + 0x4bc]
mov eax, dword [0x4a7b74]
movsx ebx, word [esi]
mov edi, dword [eax + 0x1278]
mov dword [ebp - 4], edi
mov esi, dword [edi + ebx*8]
test esi, esi
je 0x424b81
cmp word [esi + 0x1a], 0
push esi
jne 0x424a64
call fcn.00467c86
add esp, 4
mov dword [edi + ebx*8], 0
mov eax, dword [0x4a7b74]
pop ebx
dec dword [eax + 0x3c]
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00429fd0
push esi
call fcn.0042cef0
push esi
call fcn.00402280
mov eax, dword [esi + 0x78]
add esp, 0xc
test al, 0x40
je 0x424a8e
test al, al
jns 0x424a8e
mov eax, dword [0x4a7b74]
dec dword [eax + 0x518]
push 1
push 0x4a3a08
push esi
call fcn.00426960
movzx eax, word [esi + 0x18]
add esp, 0xc
cmp ax, 0x20
jge 0x424abe
cwde
mov eax, dword [eax*4 + 0x4a3940]
test eax, eax
je 0x424ae2
push 1
push esi
call eax
add esp, 8
jmp 0x424ae2
movsx ecx, ax
mov eax, dword [0x4a7b74]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
mov eax, dword [ecx + eax - 0x123c]
test eax, eax
je 0x424ae2
push 1
push esi
call eax
test dword [esi + 0x78], 0x200
je 0x424b10
mov edi, dword [esi + 0xbc]
cmp word [edi + esi + 0x18], 0xd
jne 0x424b0d
push dword [edi + esi + 0x1c]
call fcn.00433f50
add esp, 4
mov dword [edi + esi + 0x1c], 0
mov edi, dword [ebp - 4]
push esi
call fcn.004264f0
mov eax, dword [0x4a7b74]
add esp, 4
test byte [eax + 0x28], 0x20
je 0x424b37
movsx eax, word [esi + 0x12]
push eax
call fcn.00436030
push eax
call fcn.00428ff0
add esp, 8
test dword [esi + 0x78], 0x200
je 0x424b49
push esi
call fcn.00401df0
add esp, 4
xor eax, eax
test dword [esi + 0x78], 0x1000
mov word [esi + 0x1a], ax
je 0x424b61
push esi
call fcn.004012e0
add esp, 4
push esi
call fcn.00467c86
mov dword [edi + ebx*8], 0
mov eax, dword [0x4a7b74]
add esp, 4
dec dword [eax + 0x3c]
mov dword [edi + ebx*8 + 4], 0
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret