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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, eax
mov al, byte [esi + 9]
mov ecx, dword [esi + 4]
push edi
test al, al
jne 0x40ba91
mov edx, ecx
mov edi, dword [edx]
test al, al
jne 0x40ba99
cmp byte [esi + 8], 0
je 0x42c4bb
mov byte [esi + 9], 1
dec dword [esi]
cmp edi, 0xa
je 0x42c9a3
cmp edi, 0x10
je 0x42c9a3
cmp edi, 0x11
je 0x42c9a3
mov ecx, dword [ebp + 4]
cmp ecx, 2
jl 0x42c4d6
cmp edi, 0xf
ja case.0x40ba43.10
jmp dword [edi*4 + 0x40bcc0]
cmp ecx, 1
je 0x42c511
cmp byte [ebp + 0xd], 0
jne 0x42c519
mov eax, dword [ebp + 8]
cmp ecx, 2
je 0x40bb84
cmp byte [ebp + 0xd], 0
mov ecx, dword [ebp + 8]
jne 0x42c524
mov esi, dword [ecx + 0x10]
call fcn.0040bf70
mov edi, ebp
call fcn.0040bd00
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov edx, dword [ecx + 4]
jmp 0x40b9fd
mov ebx, dword [ecx + 4]
push ecx
call fcn.004112ef
add esp, 4
mov dword [esi + 4], ebx
mov byte [esi + 9], 0
jmp 0x40ba07
cmp ecx, 1
je 0x42c4e0
cmp byte [ebp + 0xd], 0
mov eax, dword [ebp + 8]
je 0x40bac6
mov eax, dword [eax + 0x10]
cmp ecx, 2
jne 0x40bb6c
mov ecx, dword [ebp]
call fcn.0040b910
mov edi, ebp
call fcn.0040bd00
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
cmp ecx, 1
je 0x42c52f
cmp byte [ebp + 0xd], 0
mov edx, dword [ebp + 8]
jne 0x42c537
cmp ecx, 2
je 0x40bbe5
cmp byte [ebp + 0xd], 0
mov eax, dword [ebp + 8]
jne 0x42c53f
mov eax, dword [eax + 0x10]
push edx
call fcn.0040bee0
mov edi, ebp
call fcn.0040bd00
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
cmp ecx, 1
je 0x42c54a
cmp byte [ebp + 0xd], 0
jne 0x42c552
mov edi, dword [ebp + 8]
cmp ecx, 2
jne 0x42c55d
mov esi, dword [ebp]
call fcn.0040c110
mov edi, ebp
call fcn.0040bd00
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
cmp byte [ebp + 0xd], 0
mov ecx, dword [ebp + 8]
je 0x42c4e8
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
jmp 0x40bad2
mov esi, dword [ebp]
jmp 0x40ba79
cmp ecx, 1
je 0x42c627
cmp byte [ebp + 0xd], 0
jne 0x42c62f
mov esi, dword [ebp + 8]
mov eax, ebp
call fcn.0040c600
mov ecx, eax
mov eax, esi
call fcn.0040cc10
test al, al
je 0x42c63a
mov eax, ebp
call fcn.0040c600
mov esi, eax
call fcn.004092c0
mov dword [esi + 8], 9
mov byte [esi], 1
mov edi, ebp
call fcn.0040bd00
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov eax, dword [ebp]
jmp 0x40bb19
mov eax, ebp
call fcn.0040d260
push eax
mov eax, ebp
call fcn.0040c600
mov ecx, eax
call fcn.0040cfc0
add esp, 4
test al, al
mov eax, ebp
je 0x42c60d
call fcn.0040c600
mov esi, eax
call fcn.004092c0
mov dword [esi + 8], 9
mov byte [esi], 1
mov edi, ebp
call fcn.0040bd00
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov eax, ebp
call fcn.0040d260
mov edi, eax
mov eax, ebp
call fcn.0040c600
mov esi, eax
mov eax, edi
call fcn.0040c770
test al, al
mov eax, ebp
jne 0x40bcad
call fcn.0040c600
mov esi, eax
call fcn.004092c0
mov byte [esi], 0
mov edi, ebp
mov dword [esi + 8], 9
call fcn.0040bd00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 4
mov eax, ebp
call fcn.0040d260
mov esi, eax
mov eax, ebp
call fcn.0040c600
call fcn.0040c770
test al, al
mov eax, ebp
je 0x40bc58
call fcn.0040c600
mov esi, eax
call fcn.004092c0
mov byte [esi], 1
jmp 0x40bc67
call fcn.0040c600
mov esi, eax
call fcn.004092c0
mov byte [esi], 1
jmp 0x40bc67
cmp bh, byte [ebx + eax*4]
add dword [eax], eax
pop ecx
mov ecx, dword fs:[0x18]
add byte [eax], al
add byte [eax], al
lea eax, [edi]
invalid
invalid
int3
xor eax, 0x56515a4e
in al, dx
add byte [eax], al
add byte [ecx + 0x7a3af1], al
add byte [ecx + 0x14ec7e1], al
add byte [ecx - 0x7d], bl
mov ebp, 0xffffea8c
add byte [ebp + 0xf], dh
loope 0x42c508
dec esi
add dword [eax], eax
inc dword [eax]
invalid
xchg ebp, eax
mov al, byte [0x33fffff3]
shl byte [esi - 0x77], 0x85
hlt
add al, 0x41
dec ecx
inc eax
aaa
inc esp
inc edi
xor edi, 0x97b2
invalid
rcl byte [ebx + 0x56], 0x83
les eax, [ecx + eax*4]
ret
mov bh, 0x95
hlt
dec dword [edi]
mov bh, 0x55
sar byte [ebx], 0xca
xchg ebp, eax
hlt
cld
cld
invalid