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

Disassembly:
sub esp, 0x298
mov eax, dword [0x4c9450]
mov ecx, dword [0x4c9454]
push ebx
push ebp
mov ebp, dword [0x4c590c]
mov dword [esp + 0x40], eax
mov eax, dword [0x4cb5c0]
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x2ac]
mov dword [esp + 0x4c], ecx
cmp eax, ebx
jne 0x42c1a5
mov edx, dword [edi + 8]
movzx eax, word [edx + 0x22]
mov ecx, 0xff
mov esi, ecx
cmp ax, cx
jb 0x42c16a
mov esi, eax
inc esi
lea edx, [esi + esi]
push edx
call fcn.0048e5e4
add esp, 4
mov dword [0x4cb5c0], eax
cmp eax, ebx
jne 0x42c1ab
push 0x4a2868
push ebx
push str.Out_of_memory.
mov ecx, edi
mov dword [0x4cb5c4], ebx
call fcn.0042ea20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x298
ret 0x14
mov esi, dword [0x4cb5c4]
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x28]
push edx
push 2
push edi
mov dword [esp + 0x40], esi
mov dword [0x4cb5c0], ebx
mov dword [0x4cb5c4], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], 0x41
call fcn.00458690
test eax, eax
je 0x42c20f
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x42c24a
mov eax, dword [0x4cb5c0]
cmp eax, ebx
je 0x42c23b
push eax
call fcn.0048f817
add esp, 4
cmp dword [0x4cb5c4], 0x400000
jbe 0x42c23b
dec dword [0x4cb5c8]
mov eax, dword [esp + 0x1c]
mov dword [0x4cb5c0], esi
mov dword [0x4cb5c4], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x42c4aa
cmp eax, 8
je 0x42c4aa
mov edi, 6
cmp dword [esp + 0x70], edi
je 0x42c27c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x298
ret 0x14
lea ecx, [esp + 0x78]
mov dword [esp + 0x50], ecx
push 1
lea ecx, [esp + 0xac]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x54]
push ecx
push 0x80002
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x98]
mov dword [esp + 0x64], edx
mov esi, 0x4a2868
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x88], str._NewEnum
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
push eax
call edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x42c30b
push eax
call fcn.0048f817
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x42c4aa
cmp eax, 8
je 0x42c4aa
cmp dword [esp + 0x40], edi
jne 0x42c26a
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x4c]
mov eax, 4
mov dword [esp + 0x78], str.Next
mov dword [esp + 0x90], eax
cmp ecx, ebx
je 0x42c369
mov dword [esp + 0xa0], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x18], 3
jmp 0x42c371
mov dword [esp + 0x18], 2
mov eax, dword [esp + 0x38]
lea edx, [esp + 0xa8]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
push edx
lea edx, [esp + 0x54]
push edx
push 2
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x30]
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], ebx
mov ecx, dword [eax]
push edx
mov edi, eax
push eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x34], edi
call eax
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x42c49e
cmp eax, 8
je 0x42c49e
cmp dword [esp + 0x28], ebx
jne 0x42c3e1
mov dword [esp + 0x28], 5
mov dword [esp + 0x24], ebx
mov eax, 0x41
lea esi, [esp + 0x20]
call fcn.0044f960
test eax, eax
mov eax, dword [esp + 0x2c]
setne byte [esp + 0x17]
cmp eax, ebx
je 0x42c407
push eax
call fcn.0048f817
add esp, 4
cmp dword [esp + 0x28], 6
jne 0x42c41a
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0x17], bl
je 0x42c52e
mov esi, dword [esp + 0x2ac]
mov ecx, dword [esi + 0x14]
cmp byte [ecx], 0x73
jne 0x42c468
jmp 0x42c440
mov edx, dword [esp + 0x2b0]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x34]
push eax
push edx
push 2
call fcn.00425420
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
cmp edx, ecx
je 0x42c440
jmp 0x42c484
mov edx, dword [esp + 0x2b0]
lea eax, [esp + 0x34]
push eax
push edx
push 3
call fcn.00425420
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
cmp edx, ebx
je 0x42c4b7
cmp eax, 6
jne 0x42c53b
cmp edx, esi
je 0x42c4c1
mov eax, dword [esp + 0x2b8]
mov dword [eax], edx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x298
ret 0x14
cmp eax, 1
je 0x42c4c1
cmp eax, 6
jne 0x42c49e
mov esi, dword [esp + 0x2bc]
cmp esi, ebx
je 0x42c4dd
lea edi, [esp + 0x10]
call fcn.0042c0a0
mov edi, dword [esp + 0x1c]
test al, al
jne 0x42c49e
mov edx, dword [esp + 0x18]
add dword [ebp + 8], 1
push edx
lea eax, [esp + 0xac]
adc dword [ebp + 0xc], ebx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x54]
push eax
push 2
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x30]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], 0x4a2868
mov dword [esp + 0x3c], ebx
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x1c]
push eax
push edi
call ecx
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x42c3c6
jmp 0x42c49e
mov dword [esp + 0x10], 1
jmp 0x42c49e
cmp edx, esi
jne 0x42c495
mov edx, dword [esp + 0x2b4]
mov byte [edx], 1
jmp 0x42c49e