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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45eb42
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x471d24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebx + 0x7c], eax
jbe 0x421591
nop dword [eax + eax]
lea ecx, [eax*4]
mov esi, 1
mov eax, dword [ebx + 0x78]
mov edx, dword [ecx + eax]
mov eax, dword [ebx + 8]
add eax, ecx
mov dword [ebp - 0x1c], edx
mov cl, byte [ebx + 0x60]
test cl, cl
jne 0x4215c7
mov esi, dword [eax]
mov dword [ebp - 0x14], 1
lea edi, [edx + 0x70]
mov ecx, edi
call fcn.00420ff0
test esi, esi
je 0x42151c
nop dword [eax]
mov ecx, edi
call fcn.00420850
sub esi, 1
jne 0x421510
mov ecx, dword [ebp - 0x1c]
add ecx, 0x7c
mov dword [ebp - 0x10], ecx
mov esi, dword [ecx + 4]
test esi, esi
je 0x421566
nop dword [eax]
mov eax, dword [ecx]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x421562
mov ecx, dword [edi]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x42154d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 4
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.00446e5f
mov ecx, dword [ebp - 0x10]
add esp, 8
test esi, esi
jne 0x421530
mov esi, dword [ebp - 0x14]
mov dword [ecx + 4], 0
test esi, esi
je 0x421581
call fcn.00420850
mov ecx, dword [ebp - 0x10]
sub esi, 1
jne 0x421574
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebx + 0x7c]
jb 0x4214d0
xor esi, esi
cmp dword [ebx + 0x18], esi
jbe 0x4216e7
nop dword [eax]
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + esi*8]
lea edx, [eax + esi*8]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebx + 0x30]
sub edi, dword [eax + ecx*4]
mov al, byte [ebx + 0x60]
test al, al
je 0x4215d1
mov ebx, dword [edx + 4]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x20]
jmp 0x4215d4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x4214fe
mov dword [ebp - 0x18], ecx
test al, al
jne 0x4215db
mov ecx, dword [edx + 4]
test al, al
mov dword [ebp - 0x1c], 0
mov edx, edi
cmovne edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
xor edx, edx
test al, al
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x78]
mov dword [ebp - 0x24], eax
cmovne edx, edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x28], edx
mov eax, dword [ecx + eax]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax + edx*4]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebp - 0x1c]
push edx
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x6c]
push ecx
mov ecx, dword [eax + esi*4]
call fcn.00423ad0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov eax, dword [ebx + 0x78]
mov byte [ebp - 4], 2
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x421652
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x461200
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x78]
mov eax, dword [ecx + eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x421673
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x461200
push ecx
call dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x4216b4
test ecx, ecx
je 0x4216b4
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
push 0x80000
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4216c5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 4
test eax, eax
je 0x4216d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
mov dword [ebp - 4], 0xffffffff
cmp esi, dword [ebx + 0x18]
jb 0x4215a0
cmp byte [ebx + 0x60], 0
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x78]
mov edi, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
je 0x421700
mov eax, dword [eax + 0x70]
mov esi, dword [edi]
jmp 0x421708
mov esi, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
mov esi, dword [esi]
mov eax, dword [eax]
mov dword [ebp + 8], eax
test esi, esi
je 0x42171a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x421729
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], esi
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 0x24], ecx
jbe 0x4217a8
mov esi, dword [ebp + 0xc]
sub esi, edi
mov dword [ebp + 0xc], esi
nop dword [eax]
mov eax, dword [ebx + 0x20]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + edx*4]
lea ecx, [eax*4]
mov eax, dword [ebx + 0x30]
sub edx, dword [ecx + eax]
cmp byte [ebx + 0x60], 0
mov eax, dword [ebx + 0x78]
mov eax, dword [ecx + eax]
je 0x42176d
mov eax, dword [eax + 0x7c]
mov esi, dword [esi + edi]
jmp 0x421772
mov eax, dword [eax + 0x70]
mov esi, dword [edi]
mov eax, dword [eax + edx*4]
mov dword [ebp + 8], eax
test esi, esi
je 0x421785
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x421794
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
add edi, 4
inc ecx
mov dword [eax], esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0x24]
jb 0x421740
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8