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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push dword [ebp + 0xc]
call fcn.00436050
mov edx, dword [0x4a7b74]
mov esi, eax
add esp, 4
movzx ecx, word [esi + 2]
mov dword [ebp - 0xc], esi
cmp ecx, 0x20
jb 0x424703
mov eax, dword [edx + 0x1d4]
sub ecx, 0x20
imul ecx, ecx, 0x92
cmp dword [ecx + eax], 0
jne 0x424703
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 0x424722
push ecx
call fcn.004360d0
mov edx, dword [0x4a7b74]
add esp, 4
mov edi, eax
push ebx
mov ebx, dword [esi + 0x14]
test byte [ebx + 0x2a], 8
jne 0x424737
mov ecx, dword [ebp + 0x1c]
or ecx, 2
mov dword [ebp - 4], ecx
jmp 0x42473d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x3c]
cmp eax, dword [edx + 0x40]
jge 0x424bf1
movzx eax, word [esi + 2]
push ebx
push eax
call fcn.00426b30
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x424bf1
push 1
push eax
call fcn.00468954
mov esi, eax
add esp, 8
test esi, esi
je 0x424bf1
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 0x4247aa
cmp dword [ecx], 0
je 0x4247ad
lea esp, [esp]
add ecx, 8
cmp dword [ecx], 0
jne 0x4247a0
jmp 0x4247ad
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 0x4247d7
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 0x42480f
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.00426600
movzx eax, word [esi + 0x18]
add esp, 4
mov dword [esi + 0xc], esi
cmp ax, 0x20
jge 0x424862
cwde
mov edx, dword [eax*4 + 0x4a39e0]
mov eax, dword [eax*4 + 0x4a39b8]
jmp 0x424895
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 0x42488e
mov eax, fcn.004511d0
jmp 0x424895
mov eax, dword [ecx + eax - 0x1234]
test byte [esi + 0x78], 2
push 0
mov ecx, 0x426b90
cmovne eax, ecx
push 0
push esi
mov dword [esi + 0x88], edx
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], eax
call fcn.00426e80
mov eax, dword [0x4a7b74]
test byte [eax + 0x28], 0x20
je 0x4248db
movsx eax, word [esi + 0x12]
push eax
call fcn.00436090
push eax
call fcn.00436810
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x44], ebx
cmp eax, 0x80000000
jne 0x4248eb
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x14]
cmp eax, 0x80000000
jne 0x4248fe
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x20]
test edi, edi
je 0x424914
cmp eax, 0xffffffff
jne 0x424914
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 0x42498a
mov edi, 0x130
mov dword [esi + 0xc0], fcn.00414fb0
mov dword [esi + 0xc4], 0x42bbd0
mov dword [esi + 0xe0], 0x3f800000
mov dword [esi + 0xe4], 0x3f800000
mov dword [esi + 0xcc], 0xffffffff
test al, 0x10
je 0x4249aa
add edi, 0x9e
test byte [ebp - 0x22], 1
jne 0x4249aa
lea eax, [ebp - 0x28]
push eax
push ebx
push esi
push 0
call fcn.0042cde0
add esp, 0x10
test byte [esi + 0x78], 0x20
je 0x4249c2
mov dword [esi + 0xb8], edi
push esi
add edi, 0x50
call fcn.0042cd10
add esp, 4
test dword [esi + 0x78], 0x200
je 0x4249e2
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 0x4249ff
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 0x424a52
cwde
mov eax, dword [eax*4 + 0x4a3968]
test eax, eax
je 0x424a25
lea ecx, [ebp - 0x28]
push ecx
push ebx
push esi
call eax
add esp, 0xc
test ax, ax
jne 0x424a83
test byte [esi + 0x78], 0x40
je 0x424a36
mov eax, dword [0x4a7b74]
inc dword [eax + 0x518]
test dword [esi + 0x78], 0x200
je 0x424a48
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 0x424a25
movzx eax, word [ebx + 0x24]
lea edx, [ebp - 0x28]
push edx
add eax, ebx
push eax
push esi
call ecx
test ax, ax
je 0x424a25
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 0x424bf1
cmp word [esi + 0x1a], 0
push esi
jne 0x424ad4
call fcn.00467cf6
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.0042a020
push esi
call fcn.0042cf40
push esi
call fcn.00402280
mov eax, dword [esi + 0x78]
add esp, 0xc
test al, 0x40
je 0x424afe
test al, al
jns 0x424afe
mov eax, dword [0x4a7b74]
dec dword [eax + 0x518]
push 1
push 0x4a3a08
push esi
call fcn.004269c0
movzx eax, word [esi + 0x18]
add esp, 0xc
cmp ax, 0x20
jge 0x424b2e
cwde
mov eax, dword [eax*4 + 0x4a3940]
test eax, eax
je 0x424b52
push 1
push esi
call eax
add esp, 8
jmp 0x424b52
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 0x424b52
push 1
push esi
call eax
test dword [esi + 0x78], 0x200
je 0x424b80
mov edi, dword [esi + 0xbc]
cmp word [edi + esi + 0x18], 0xd
jne 0x424b7d
push dword [edi + esi + 0x1c]
call fcn.00433fb0
add esp, 4
mov dword [edi + esi + 0x1c], 0
mov edi, dword [ebp - 4]
push esi
call fcn.00426550
mov eax, dword [0x4a7b74]
add esp, 4
test byte [eax + 0x28], 0x20
je 0x424ba7
movsx eax, word [esi + 0x12]
push eax
call fcn.00436090
push eax
call fcn.00414fb0
add esp, 8
test dword [esi + 0x78], 0x200
je 0x424bb9
push esi
call fcn.00401df0
add esp, 4
xor eax, eax
test dword [esi + 0x78], 0x1000
mov word [esi + 0x1a], ax
je 0x424bd1
push esi
call fcn.004012e0
add esp, 4
push esi
call fcn.00467cf6
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