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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa90e30
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0xad9064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
cmp dword [edi + 4], ebx
jbe 0x42d5a6
nop dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x7c], 0
lea edi, [eax + 0x78]
mov dword [ebp + 8], eax
jne 0x42d40e
cmp dword [edi + 8], 0
jne 0x42d40e
cmp byte [edi + 2], 0
jne 0x42d3f2
cmp byte [edi], 0
jne 0x42d40e
cmp byte [edi + 1], 0
jne 0x42d40e
cmp dword [edi + 0x1c], 0
jne 0x42d40e
cmp dword [edi + 0x28], 0
jne 0x42d40e
cmp dword [edi + 0xc], 0
jl 0x42d599
cmp dword [esi + 4], 0
jne 0x42d426
push ecx
mov ecx, esi
call fcn.0040a440
mov ecx, esi
call fcn.0040a580
mov eax, dword [ebp + 8]
test ebx, ebx
je 0x42d43c
add eax, 0x18
mov ecx, esi
push eax
call fcn.0040a3b0
mov ecx, esi
call fcn.0040a580
push edi
push esi
call fcn.0042cd70
cmp dword [edi + 0xc], 0
jl 0x42d596
push 0xa959c4
push 0x49
lea eax, [ebp - 0x3c]
push eax
call fcn.00431690
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040a3b0
mov ecx, esi
call fcn.0040a580
push dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.009fdce6
mov ecx, dword [edi + 0xc]
add esp, 4
mov edi, dword [ebp + 8]
cmp dword [edi + 0x3c], ecx
jne 0x42d4cb
push 0xbcb
lea eax, [ebp - 0x30]
push eax
call fcn.0042a500
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0040a3b0
mov ecx, esi
call fcn.0040a580
push dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.009fdce6
add esp, 4
jmp 0x42d596
test ecx, ecx
jns 0x42d4d6
mov eax, 0xa95880
jmp 0x42d4e2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042cfb0
push eax
push 0xbc9
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
call fcn.0042dd70
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040a3b0
mov ecx, esi
call fcn.0040a580
push dword [ebp - 0x24]
call fcn.009fdce6
push dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.009fdce6
mov ecx, dword [edi + 0x3c]
add esp, 8
test ecx, ecx
jns 0x42d53d
mov eax, 0xa95880
jmp 0x42d549
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0042cfb0
push eax
push 0xbca
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
push eax
call fcn.0042dd70
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0040a3b0
mov ecx, esi
call fcn.0040a580
push dword [ebp - 0x48]
call fcn.009fdce6
push dword [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.009fdce6
add esp, 8
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
inc ebx
cmp ebx, dword [edi + 4]
jb 0x42d3d0
cmp dword [edi + 0x3c], 0
mov ebx, dword [ebp + 0x18]
jge 0x42d5b7
test ebx, ebx
je 0x42d751
push ecx
mov ecx, esi
call fcn.0040a440
mov ecx, esi
call fcn.0040a580
cmp dword [edi + 4], 0
je 0x42d5de
lea eax, [edi + 0x24]
mov ecx, esi
push eax
call fcn.0040a3b0
mov ecx, esi
call fcn.0040a580
cmp dword [edi + 0x3c], 0
jge 0x42d619
cmp ebx, 1
je 0x42d619
push ebx
lea eax, [ebp - 0x60]
push eax
call fcn.0042f0d0
push eax
mov ecx, esi
mov dword [ebp - 4], 0xd
call fcn.0040a3b0
push dword [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.009fdce6
add esp, 4
jmp 0x42d740
lea ecx, [ebp - 0x24]
mov ebx, 0xbbd
call fcn.0040a120
cmp byte [edi + 0x21], 0
mov dword [ebp - 4], 6
je 0x42d63a
mov ebx, 0xbbe
jmp 0x42d677
mov ecx, dword [edi + 0x3c]
test ecx, ecx
js 0x42d677
mov eax, dword [ebp + 0xc]
mov ebx, 0xbc9
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
push dword [eax + 0x10]
lea eax, [ebp - 0x60]
push eax
call fcn.0042cfb0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0040a150
push dword [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.009fdce6
add esp, 4
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.0042dd70
push 0xa948e4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.0040a0c0
push 0xa959d4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.0040a0c0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ac60
push dword [ebp - 0x30]
call fcn.009fdce6
push dword [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.009fdce6
add esp, 8
lea ecx, [ebp - 0x30]
push 0xa948e4
call fcn.0040a0c0
push 0xa959dc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.0040a0c0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ac60
push dword [ebp - 0x3c]
call fcn.009fdce6
push dword [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.009fdce6
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0040a3b0
push dword [ebp - 0x18]
call fcn.009fdce6
push dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.009fdce6
add esp, 8
mov ecx, esi
call fcn.0040a580
lea eax, [edi + 0x30]
push eax
push esi
call fcn.0042cd70
mov eax, dword [esi + 4]
test eax, eax
je 0x42d76c
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0xa
jne 0x42d76c
dec eax
xor edx, edx
mov dword [esi + 4], eax
mov word [ecx + eax*2], dx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14