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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa84fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0xac62f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 4], ebx
jbe 0x42d986
lea esp, [esp]
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
mov dword [ebp + 8], eax
cmp dword [eax + 0x7c], 0
lea edi, [eax + 0x78]
jne 0x42d7ee
cmp dword [edi + 8], 0
jne 0x42d7ee
cmp byte [edi + 2], 0
jne 0x42d7d2
cmp byte [edi], 0
jne 0x42d7ee
cmp byte [edi + 1], 0
jne 0x42d7ee
cmp dword [edi + 0x1c], 0
jne 0x42d7ee
cmp dword [edi + 0x28], 0
jne 0x42d7ee
cmp dword [edi + 0xc], 0
jl 0x42d979
cmp dword [esi + 4], 0
jne 0x42d806
push ecx
mov ecx, esi
call fcn.0040a150
mov ecx, esi
call fcn.0040a1d0
mov eax, dword [ebp + 8]
test ebx, ebx
je 0x42d81c
add eax, 0x18
push eax
mov ecx, esi
call fcn.0040a0c0
mov ecx, esi
call fcn.0040a1d0
push edi
push esi
call fcn.0042d160
cmp dword [edi + 0xc], 0
jl 0x42d976
push 0xa89b00
push 0x49
lea eax, [ebp - 0x3c]
push eax
call fcn.004322f0
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040a0c0
mov ecx, esi
call fcn.0040a1d0
push dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.009fe809
mov ecx, dword [edi + 0xc]
mov edi, dword [ebp + 8]
add esp, 4
cmp dword [edi + 0x3c], ecx
jne 0x42d8ab
push 0xbcb
lea eax, [ebp - 0x30]
push eax
call fcn.0042a860
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0040a0c0
mov ecx, esi
call fcn.0040a1d0
push dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.009fe809
add esp, 4
jmp 0x42d976
test ecx, ecx
jns 0x42d8b6
mov eax, 0xa89938
jmp 0x42d8c2
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.0042d3c0
push eax
push 0xbc9
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 2
call fcn.0042e8e0
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040a0c0
mov ecx, esi
call fcn.0040a1d0
push dword [ebp - 0x24]
call fcn.009fe809
push dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.009fe809
mov ecx, dword [edi + 0x3c]
add esp, 8
test ecx, ecx
jns 0x42d91d
mov eax, 0xa89938
jmp 0x42d929
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.0042d3c0
push eax
push 0xbca
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 4
call fcn.0042e8e0
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0040a0c0
mov ecx, esi
call fcn.0040a1d0
push dword [ebp - 0x48]
call fcn.009fe809
push dword [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.009fe809
add esp, 8
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
inc ebx
cmp ebx, dword [edi + 4]
jb 0x42d7b0
cmp dword [edi + 0x3c], 0
mov ebx, dword [ebp + 0x18]
jge 0x42d997
test ebx, ebx
je 0x42db31
push ecx
mov ecx, esi
call fcn.0040a150
mov ecx, esi
call fcn.0040a1d0
cmp dword [edi + 4], 0
je 0x42d9be
lea eax, [edi + 0x24]
push eax
mov ecx, esi
call fcn.0040a0c0
mov ecx, esi
call fcn.0040a1d0
cmp dword [edi + 0x3c], 0
jge 0x42d9f9
cmp ebx, 1
je 0x42d9f9
push ebx
lea eax, [ebp - 0x60]
push eax
call fcn.0042fca0
push eax
mov ecx, esi
mov dword [ebp - 4], 0xd
call fcn.0040a0c0
push dword [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.009fe809
add esp, 4
jmp 0x42db20
lea ecx, [ebp - 0x24]
mov ebx, 0xbbd
call fcn.00409d70
cmp byte [edi + 0x21], 0
mov dword [ebp - 4], 6
je 0x42da1a
mov ebx, 0xbbe
jmp 0x42da57
mov ecx, dword [edi + 0x3c]
test ecx, ecx
js 0x42da57
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.0042d3c0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00409e60
push dword [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.009fe809
add esp, 4
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.0042e8e0
push 0xa89b14
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.00409d10
push 0xa89b18
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00409d10
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.0040a990
push dword [ebp - 0x30]
call fcn.009fe809
push dword [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.009fe809
add esp, 8
lea ecx, [ebp - 0x30]
push 0xa89b14
call fcn.00409d10
push 0xa89b20
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00409d10
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.0040a990
push dword [ebp - 0x3c]
call fcn.009fe809
push dword [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.009fe809
add esp, 8
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0040a0c0
push dword [ebp - 0x18]
call fcn.009fe809
push dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.009fe809
add esp, 8
mov ecx, esi
call fcn.0040a1d0
lea eax, [edi + 0x30]
push eax
push esi
call fcn.0042d160
mov eax, dword [esi + 4]
test eax, eax
je 0x42db4c
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0xa
jne 0x42db4c
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