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

Disassembly:
sub esp, 0x188
mov eax, dword [0x49d3c8]
push ebx
mov ebx, dword [esp + 0x190]
push ebp
push esi
mov esi, dword [0x4a09dc]
mov dword [esp + 0x3c], eax
mov eax, dword [0x4a2b50]
xor ebp, ebp
push edi
mov edi, dword [0x4a09d8]
cmp eax, ebp
jne 0x427511
mov ecx, dword [ebx + 8]
movzx eax, word [ecx + 0x22]
mov edx, 0xff
cmp ax, dx
jae 0x4274d4
mov eax, edx
inc eax
push eax
mov dword [0x4a2b54], eax
call fcn.00476de3
add esp, 4
mov dword [0x4a2b50], eax
cmp eax, ebp
jne 0x427511
push 0x49588a
push ebp
push str.Out_of_memory.
mov ecx, ebx
mov dword [0x4a2b54], ebp
call fcn.004296d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret 0x14
push ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x64]
push eax
push 0x4a2b54
push 0x4a2b50
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x54]
push eax
push 2
push ebx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x7c], 0x3d
call fcn.0044ce30
test eax, eax
jne 0x427567
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret 0x14
mov ebx, 5
cmp dword [esp + 0x58], ebx
je 0x427584
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret 0x14
lea ecx, [esp + 0x68]
mov dword [esp + 0x44], ecx
push 1
lea ecx, [esp + 0x9c]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x48]
push ecx
push 2
lea eax, [esp + 0x94]
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x88]
mov dword [esp + 0x58], edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], 0x49588a
mov dword [esp + 0x44], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x78], str._NewEnum
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
push eax
call edx
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x427607
push eax
call fcn.004785bf
add esp, 4
cmp dword [esp + 0x30], ebx
jne 0x427572
mov eax, 3
mov dword [esp + 0x68], str.Next
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], edi
cmp esi, ebp
je 0x427641
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x10], eax
jmp 0x427649
mov dword [esp + 0x10], 2
mov edi, dword [esp + 0x28]
lea ecx, [ecx]
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x9c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x48]
push eax
push 2
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], 0x49588a
mov dword [esp + 0x34], ebp
mov ecx, dword [edi]
mov ecx, dword [ecx]
push eax
push edi
call ecx
mov eax, dword [esp + 0x20]
cmp eax, ebp
jne 0x42769f
mov eax, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
jmp switch.0x004276a4
cmp eax, 5
ja case.0x4276a4.1
jmp dword [eax*4 + 0x4277f8]
mov eax, dword [esp + 0x18]
push ebp
call fcn.00411da0
jmp case.0x4276a4.1
xor eax, eax
mov ecx, eax
lea eax, [esp + 0x18]
call fcn.00445770
test eax, eax
mov eax, dword [esp + 0x24]
setne bl
cmp eax, ebp
je 0x427702
push eax
call fcn.004785bf
add esp, 4
cmp dword [esp + 0x20], 5
jne 0x427715
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
test bl, bl
je 0x4277e1
mov ebx, dword [esp + 0x19c]
mov ecx, dword [ebx + 0x14]
cmp byte [ecx], 0x6e
jne 0x427756
lea esp, [esp]
mov eax, dword [esp + 0x1a0]
mov ecx, dword [ecx + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
push 2
call fcn.004217a0
mov ecx, dword [ebx + 0x14]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x427730
jmp 0x427770
mov eax, dword [esp + 0x1a0]
lea edx, [esp + 0x14]
push edx
push eax
push 3
call fcn.004217a0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x42779d
cmp esi, 6
jne 0x4277e8
cmp eax, ebx
je 0x4277a7
mov edx, dword [esp + 0x1a8]
mov dword [edx], eax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret 0x14
cmp esi, 1
je 0x4277a7
cmp esi, 6
jne 0x427786
mov eax, dword [esp + 0x1ac]
cmp eax, ebp
je 0x4277d1
push ebp
push 0xffffffffffffffff
push ebp
push eax
call fcn.0044f1f0
mov esi, eax
cmp esi, 1
jne 0x42778e
mov eax, dword [0x4a0988]
call fcn.004456b0
test eax, eax
jne 0x42778e
mov eax, dword [esp + 0x40]
add dword [eax + 8], 1
adc dword [eax + 0xc], ebp
jmp 0x427650
mov esi, 1
jmp 0x427786
cmp eax, ebx
jne 0x42777d
mov ecx, dword [esp + 0x1a4]
mov byte [ecx], 1
jmp 0x427786