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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [0x4a8b6c]
mov ax, dx
push edi
mov word [ebp - 4], ax
mov word [ebp - 2], cx
cmp ax, word [esi + 0x194]
jb 0x42a4e7
xor ebx, ebx
jmp 0x42a4fd
movzx ecx, ax
mov eax, dword [esi + 0x198]
movzx ecx, word [eax + ecx*2]
mov eax, dword [esi + 0x19c]
mov ebx, dword [eax + ecx*4]
movzx esi, word [ebx + 2]
mov edx, dword [0x4a8b74]
mov dword [ebp - 8], ebx
cmp esi, 0x20
jb 0x42a528
mov eax, dword [edx + 0x1d4]
lea ecx, [esi - 0x20]
imul ecx, ecx, 0x92
cmp dword [ecx + eax], 0
je 0x42aa4b
mov ax, word [ebp - 2]
movzx ecx, ax
xor edi, edi
cmp ecx, 0xffffffff
je 0x42a556
mov edi, dword [0x4a8b70]
cmp ax, word [edi + 0x48]
jb 0x42a546
xor edi, edi
jmp 0x42a556
mov eax, dword [edi + 0x4c]
movzx eax, word [eax + ecx*2]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x50]
lea edi, [eax + ecx*4]
mov ebx, dword [ebx + 0x14]
test byte [ebx + 0x2a], 8
jne 0x42a56a
mov ecx, dword [ebp + 0x14]
or ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x42a570
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x3c]
cmp eax, dword [edx + 0x40]
jge 0x42aa4b
mov edx, ebx
mov ecx, esi
call fcn.0042a200
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42aa4b
push 1
push eax
call fcn.00468684
mov esi, eax
add esp, 8
test esi, esi
je 0x42aa4b
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [0x4a8b74]
inc dword [eax + 0x3c]
mov eax, dword [0x4a8b74]
mov ecx, dword [eax + 0x1278]
mov eax, dword [ebp + 0x1c]
test eax, eax
jns 0x42a5da
cmp dword [ecx], 0
je 0x42a5dd
lea ebx, [ebx]
add ecx, 8
cmp dword [ecx], 0
jne 0x42a5d0
jmp 0x42a5dd
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 [0x4a8b74]
cmp ecx, dword [eax + 0x4b8]
jbe 0x42a607
inc word [eax + 0x4bc]
mov eax, dword [0x4a8b74]
sub ecx, dword [eax + 0x1278]
sar ecx, 3
mov word [esi], cx
mov eax, dword [0x4a8b74]
inc word [eax + 0x14c]
mov eax, dword [0x4a8b74]
cmp word [eax + 0x14c], 0
jne 0x42a63f
mov ecx, 1
mov word [eax + 0x14c], cx
mov eax, dword [0x4a8b74]
movzx eax, word [eax + 0x14c]
mov cx, word [ebp - 2]
mov word [esi + 0x1a], ax
mov ax, word [ebp - 4]
mov word [esi + 0x12], ax
mov eax, dword [ebp - 8]
mov word [esi + 0x10], cx
movzx eax, word [eax + 2]
mov word [esi + 0x18], ax
mov eax, dword [0x4a8b74]
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0042b830
movzx eax, word [esi + 0x18]
mov dword [esi + 0xc], esi
cmp ax, 0x20
jge 0x42a692
cwde
mov edx, dword [eax*4 + 0x4a5e00]
mov eax, dword [eax*4 + 0x4a5d6c]
jmp 0x42a6c5
movsx ecx, ax
mov eax, dword [0x4a8b74]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
cmp dword [ecx + eax - 0x1230], 0
mov edx, dword [ecx + eax - 0x1238]
je 0x42a6be
mov eax, fcn.00451200
jmp 0x42a6c5
mov eax, dword [ecx + eax - 0x1234]
test byte [esi + 0x78], 2
push 0
mov ecx, 0x42af10
cmovne eax, ecx
push 0
push esi
mov dword [esi + 0x88], edx
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], eax
call fcn.0042a250
mov eax, dword [0x4a8b74]
test byte [eax + 0x28], 0x20
je 0x42a708
movsx ecx, word [esi + 0x12]
call fcn.004333a0
mov ecx, eax
call fcn.00434250
mov eax, dword [ebp + 8]
mov dword [esi + 0x44], ebx
cmp eax, 0x80000000
jne 0x42a718
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x80000000
jne 0x42a72b
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], eax
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x18]
test edi, edi
je 0x42a741
cmp eax, 0xffffffff
jne 0x42a741
movzx eax, word [edi + 0x10]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x84], eax
lea ecx, [eax + eax*2]
mov eax, dword [0x4a8b70]
shl ecx, 5
add ecx, dword [eax + 0x30]
inc dword [ecx + 0x28]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov word [ebp - 0x26], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x78]
mov edi, 0xb8
test eax, 0x230
je 0x42a7b7
mov edi, 0x130
mov dword [esi + 0xc0], 0x40c5f0
mov dword [esi + 0xc4], 0x430d00
mov dword [esi + 0xe0], 0x3f800000
mov dword [esi + 0xe4], 0x3f800000
mov dword [esi + 0xcc], 0xffffffff
test al, 0x10
je 0x42a7d8
add edi, 0x9e
test byte [ebp - 0x26], 1
jne 0x42a7d8
lea eax, [ebp - 0x2c]
push eax
push ebx
mov edx, esi
xor ecx, ecx
call fcn.0042c0c0
add esp, 8
test byte [esi + 0x78], 0x20
je 0x42a7ee
mov dword [esi + 0xb8], edi
mov ecx, esi
add edi, 0x50
call fcn.004308d0
test dword [esi + 0x78], 0x200
je 0x42a80e
lea eax, [ebp - 0x2c]
mov dword [esi + 0xbc], edi
push eax
mov ecx, esi
add edi, 0x24
call fcn.00401870
add esp, 4
test dword [esi + 0x78], 0x100
je 0x42a82a
push ecx
mov edx, ebx
mov ecx, esi
mov dword [esi + 0x80], edi
call fcn.00402400
add esp, 4
movzx eax, word [esi + 0x18]
cmp ax, 0x20
jge 0x42a87b
cwde
mov eax, dword [eax*4 + 0x4a5e50]
test eax, eax
je 0x42a850
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push esi
call eax
add esp, 0xc
test ax, ax
jne 0x42a8ac
test byte [esi + 0x78], 0x40
je 0x42a861
mov eax, dword [0x4a8b74]
inc dword [eax + 0x518]
test dword [esi + 0x78], 0x200
je 0x42a871
mov ecx, esi
call fcn.004019c0
movsx eax, word [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, ax
mov eax, dword [0x4a8b74]
sub ecx, 0x20
mov eax, dword [eax + 0x1d4]
imul ecx, ecx, 0x92
mov ecx, dword [ecx + eax]
test ecx, ecx
je 0x42a850
movzx eax, word [ebx + 0x24]
lea edx, [ebp - 0x2c]
push edx
add eax, ebx
push eax
push esi
call ecx
test ax, ax
je 0x42a850
mov eax, dword [0x4a8b74]
dec word [eax + 0x4bc]
mov eax, dword [0x4a8b74]
movsx ebx, word [esi]
mov edi, dword [eax + 0x1278]
mov dword [ebp - 0x10], edi
mov esi, dword [edi + ebx*8]
test esi, esi
je 0x42aa4b
cmp word [esi + 0x1a], 0
jne 0x42a8fd
push esi
call fcn.00467ec7
mov dword [edi + ebx*8], 0
mov eax, dword [0x4a8b74]
add esp, 4
dec dword [eax + 0x3c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0042cf80
mov ecx, esi
call fcn.0042c220
mov ecx, esi
call fcn.00402550
mov eax, dword [esi + 0x78]
test al, 0x40
je 0x42a928
test al, al
jns 0x42a928
mov eax, dword [0x4a8b74]
dec dword [eax + 0x518]
cmp dword [0x4a5df0], 0xffff
mov edi, 0x4a5df0
je 0x42a95d
lea esp, [esp]
mov eax, dword [edi]
test dword [esi + 0x78], eax
je 0x42a952
mov eax, dword [edi + 4]
push 1
push esi
call eax
add esp, 8
add edi, 8
cmp dword [edi], 0xffff
jne 0x42a940
movzx eax, word [esi + 0x18]
cmp ax, 0x20
jge 0x42a97d
cwde
mov eax, dword [eax*4 + 0x4a5e28]
test eax, eax
je 0x42a9a1
push 1
push esi
call eax
add esp, 8
jmp 0x42a9a1
movsx ecx, ax
mov eax, dword [0x4a8b74]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
mov eax, dword [ecx + eax - 0x123c]
test eax, eax
je 0x42a9a1
push 1
push esi
call eax
test dword [esi + 0x78], 0x200
je 0x42a9ce
mov edi, dword [esi + 0xbc]
cmp word [edi + esi + 0x18], 0xd
jne 0x42a9ce
mov ecx, dword [edi + esi + 0x1c]
test ecx, ecx
je 0x42a9c6
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + esi + 0x1c], 0
mov ecx, esi
call fcn.0042b920
mov eax, dword [0x4a8b74]
test byte [eax + 0x28], 0x20
je 0x42aa02
movsx edx, word [esi + 0x12]
mov ecx, dword [0x4a8b6c]
cmp edx, dword [ecx + 0x194]
jge 0x42aa02
mov eax, dword [ecx + 0x198]
movzx eax, word [eax + edx*2]
mov dword [ecx + 0x1a0], eax
test dword [esi + 0x78], 0x200
je 0x42aa12
mov ecx, esi
call fcn.00401560
xor eax, eax
test dword [esi + 0x78], 0x1000
mov word [esi + 0x1a], ax
je 0x42aa28
mov ecx, esi
call fcn.004015c0
push esi
call fcn.00467ec7
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + ebx*8], 0
mov eax, dword [0x4a8b74]
dec dword [eax + 0x3c]
mov dword [ecx + ebx*8 + 4], 0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret