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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [0x4b00cc]
push edi
mov dword [ebp - 4], edx
mov eax, dword [esi + 0x1278]
mov edi, dword [eax + ecx*8]
lea eax, [eax + ecx*8]
mov dword [ebp - 8], eax
test edi, edi
je 0x42e624
cmp edi, dword [esi + 0x1270]
jne 0x42e33a
mov dword [esi + 0x1270], 0
cmp edx, 1
jne 0x42e366
cmp word [edi + 0x1a], 0
jne 0x42e366
push edi
call fcn.0047417f
mov ecx, dword [ebp - 8]
add esp, 4
mov dword [ecx], 0
mov eax, dword [0x4b00cc]
pop edi
pop esi
dec dword [eax + 0x3c]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 8]
xor eax, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
mov esi, dword [ecx + 0x1278]
cmp dword [ecx + 0x3c], eax
jle 0x42e3c7
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
jne 0x42e390
mov ecx, dword [esi + 8]
add esi, 8
test ecx, ecx
je 0x42e386
test byte [ecx + 0x78], 0x10
je 0x42e3b8
cmp dword [ecx + 0xcc], 0xd
jne 0x42e3b8
cmp dword [ecx + 0x182], edi
jne 0x42e3b8
cmp dword [ecx + 0x17e], 0
je 0x42e3b8
call fcn.00430600
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
inc eax
add esi, 8
mov dword [ebp - 0xc], eax
cmp eax, dword [ecx + 0x3c]
jl 0x42e380
mov ecx, edi
call fcn.0042fac0
mov eax, dword [edi + 0x80]
test eax, eax
je 0x42e3f7
lea esi, [eax + edi]
mov eax, dword [esi]
test eax, eax
je 0x42e3f0
push eax
call fcn.0047417f
add esp, 4
mov dword [esi], 0
mov ecx, esi
call fcn.004027b0
mov eax, dword [edi + 0x78]
and eax, 0xc0
cmp al, 0xc0
jne 0x42e40e
mov eax, dword [0x4b00cc]
dec dword [eax + 0x518]
mov eax, dword [0x4ae090]
mov esi, 0x4ae090
cmp eax, 0xffff
je 0x42e43e
nop
test dword [edi + 0x78], eax
je 0x42e431
push dword [ebp - 4]
mov eax, dword [esi + 4]
push edi
call eax
add esp, 8
mov eax, dword [esi + 8]
add esi, 8
cmp eax, 0xffff
jne 0x42e420
movzx eax, word [edi + 0x18]
movsx ecx, ax
cmp ax, 0x20
jge 0x42e461
mov eax, dword [ecx*4 + 0x49c610]
test eax, eax
je 0x42e483
push dword [ebp - 4]
push edi
call eax
add esp, 8
jmp 0x42e483
mov eax, dword [0x4b00cc]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
mov eax, dword [ecx + eax - 0x123c]
test eax, eax
je 0x42e483
push dword [ebp - 4]
push edi
call eax
test dword [edi + 0x78], 0x200
je 0x42e4b0
mov esi, dword [edi + 0xbc]
cmp word [esi + edi + 0x18], 0xd
jne 0x42e4b0
mov ecx, dword [esi + edi + 0x1c]
test ecx, ecx
je 0x42e4a8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + edi + 0x1c], 0
mov eax, dword [edi + 0x1c]
dec dword [eax + 0x10]
movzx esi, word [edi + 0x14]
mov eax, dword [0x4b00cc]
movsx ecx, si
test si, si
js 0x42e504
mov esi, dword [eax + 0x1278]
movzx edx, word [edi + 0x16]
mov ecx, dword [esi + ecx*8]
test dx, dx
js 0x42e4f5
movsx eax, dx
mov esi, dword [esi + eax*8]
test ecx, ecx
je 0x42e4e7
mov word [ecx + 0x16], dx
test esi, esi
je 0x42e53e
mov ax, word [edi + 0x14]
mov word [esi + 0x14], ax
jmp 0x42e53e
test ecx, ecx
je 0x42e53e
mov eax, 0xffff8000
mov word [ecx + 0x16], ax
jmp 0x42e53e
and ecx, 0x7fff
imul edx, ecx, 0x92
movzx ecx, word [edi + 0x16]
add edx, dword [eax + 0x58]
test cx, cx
js 0x42e535
mov eax, dword [eax + 0x1278]
movsx ecx, cx
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x42e53e
mov word [eax + 0x14], si
mov ax, word [eax]
jmp 0x42e53a
mov eax, 0xffff8000
mov word [edx + 6], ax
mov eax, dword [0x4b00cc]
test byte [eax + 0x28], 0x20
je 0x42e56b
mov ecx, dword [0x4b00c4]
movsx edx, word [edi + 0x12]
cmp edx, dword [ecx + 0x194]
jge 0x42e56b
mov eax, dword [ecx + 0x198]
movzx eax, word [eax + edx*2]
mov dword [ecx + 0x1a0], eax
mov eax, dword [edi + 0x78]
xor esi, esi
test eax, 0x200
jne 0x42e57e
mov esi, 1
jmp 0x42e5d9
cmp dword [ebp - 4], esi
je 0x42e591
mov ecx, edi
call fcn.00401600
mov esi, 1
jmp 0x42e5d9
test eax, 0x1000
jne 0x42e5b6
mov eax, dword [edi + 0xbc]
test dword [eax + edi + 0x10], 0x2000
je 0x42e5af
test byte [eax + edi + 0x20], 4
je 0x42e5d9
mov esi, 1
jmp 0x42e5d9
movzx eax, word [edi + 0x96]
cmp ax, 0xfffe
je 0x42e5c9
cmp ax, 0xffff
jne 0x42e5d9
or eax, 0xffffffff
push edi
mov word [edi + 0x96], ax
call fcn.004010a0
xor eax, eax
mov word [edi + 0x1a], ax
test esi, esi
je 0x42e61a
test dword [edi + 0x78], 0x1000
je 0x42e5f3
mov ecx, edi
call fcn.00401660
push edi
call fcn.0047417f
mov ecx, dword [ebp - 8]
add esp, 4
mov dword [ecx], 0
mov eax, dword [0x4b00cc]
pop edi
pop esi
dec dword [eax + 0x3c]
mov dword [ecx + 4], 0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret