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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xaa0470
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0xae9064]
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 0x42d506
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 0x42d36e
cmp dword [edi + 8], 0
jne 0x42d36e
cmp byte [edi + 2], 0
jne 0x42d352
cmp byte [edi], 0
jne 0x42d36e
cmp byte [edi + 1], 0
jne 0x42d36e
cmp dword [edi + 0x1c], 0
jne 0x42d36e
cmp dword [edi + 0x28], 0
jne 0x42d36e
cmp dword [edi + 0xc], 0
jl 0x42d4f9
cmp dword [esi + 4], 0
jne 0x42d386
push ecx
mov ecx, esi
call fcn.0040a440
mov ecx, esi
call fcn.0040a580
mov eax, dword [ebp + 8]
test ebx, ebx
je 0x42d39c
add eax, 0x18
mov ecx, esi
push eax
call fcn.0040a3b0
mov ecx, esi
call fcn.0040a580
push edi
push esi
call fcn.0042ccd0
cmp dword [edi + 0xc], 0
jl 0x42d4f6
push 0xaa59c4
push 0x49
lea eax, [ebp - 0x3c]
push eax
call fcn.004315f0
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.00a0d3d6
mov ecx, dword [edi + 0xc]
add esp, 4
mov edi, dword [ebp + 8]
cmp dword [edi + 0x3c], ecx
jne 0x42d42b
push 0xbcb
lea eax, [ebp - 0x30]
push eax
call fcn.0042a460
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.00a0d3d6
add esp, 4
jmp 0x42d4f6
test ecx, ecx
jns 0x42d436
mov eax, 0xaa5880
jmp 0x42d442
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.0042cf10
push eax
push 0xbc9
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
call fcn.0042dcd0
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.00a0d3d6
push dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00a0d3d6
mov ecx, dword [edi + 0x3c]
add esp, 8
test ecx, ecx
jns 0x42d49d
mov eax, 0xaa5880
jmp 0x42d4a9
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.0042cf10
push eax
push 0xbca
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
push eax
call fcn.0042dcd0
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.00a0d3d6
push dword [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.00a0d3d6
add esp, 8
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
inc ebx
cmp ebx, dword [edi + 4]
jb 0x42d330
cmp dword [edi + 0x3c], 0
mov ebx, dword [ebp + 0x18]
jge 0x42d517
test ebx, ebx
je 0x42d6b1
push ecx
mov ecx, esi
call fcn.0040a440
mov ecx, esi
call fcn.0040a580
cmp dword [edi + 4], 0
je 0x42d53e
lea eax, [edi + 0x24]
mov ecx, esi
push eax
call fcn.0040a3b0
mov ecx, esi
call fcn.0040a580
cmp dword [edi + 0x3c], 0
jge 0x42d579
cmp ebx, 1
je 0x42d579
push ebx
lea eax, [ebp - 0x60]
push eax
call fcn.0042f030
push eax
mov ecx, esi
mov dword [ebp - 4], 0xd
call fcn.0040a3b0
push dword [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.00a0d3d6
add esp, 4
jmp 0x42d6a0
lea ecx, [ebp - 0x24]
mov ebx, 0xbbd
call fcn.0040a120
cmp byte [edi + 0x21], 0
mov dword [ebp - 4], 6
je 0x42d59a
mov ebx, 0xbbe
jmp 0x42d5d7
mov ecx, dword [edi + 0x3c]
test ecx, ecx
js 0x42d5d7
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.0042cf10
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.00a0d3d6
add esp, 4
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.0042dcd0
push 0xaa48e4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.0040a0c0
push 0xaa59d4
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.00a0d3d6
push dword [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.00a0d3d6
add esp, 8
lea ecx, [ebp - 0x30]
push 0xaa48e4
call fcn.0040a0c0
push 0xaa59dc
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.00a0d3d6
push dword [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.00a0d3d6
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0040a3b0
push dword [ebp - 0x18]
call fcn.00a0d3d6
push dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00a0d3d6
add esp, 8
mov ecx, esi
call fcn.0040a580
lea eax, [edi + 0x30]
push eax
push esi
call fcn.0042ccd0
mov eax, dword [esi + 4]
test eax, eax
je 0x42d6cc
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0xa
jne 0x42d6cc
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