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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x4c74a4]
push ebx
push esi
inc eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [0x4c74a4], eax
push edi
cmp eax, 0x30
jge 0x43e847
xor ebx, ebx
mov byte [esp + 0x13], 1
mov eax, ebx
mov byte [esp + 0x22], 1
lea ecx, [esp + 0xa8]
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], bl
call fcn.00405906
mov edi, dword [ebp + 8]
lea ecx, [esp + 0xa8]
push 0x8000
push edi
call fcn.00405956
test al, al
je 0x43e861
lea ecx, [esp + 0x98]
call fcn.004077c7
lea ecx, [esp + 0x98]
call 0x420b9b
lea ecx, [esp + 0x88]
call fcn.004077c7
lea edx, [esp + 0x88]
mov ecx, edi
call fcn.004048ae
mov edi, dword [esp + 0xb8]
lea eax, [esp + 0x44]
mov esi, dword [esp + 0xbc]
lea ecx, [esp + 0xa8]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x48], 0x18
push eax
call fcn.004059b0
push ebx
push esi
push edi
lea ecx, [esp + 0xb4]
call fcn.00405c4e
cmp dword [esp + 0x70], 0x21335541
je 0x43e87b
lea ecx, [esp + 0x50]
call fcn.004077c7
lea ecx, [esp + 0x28]
call fcn.004077c7
push ebx
lea eax, [esp + 0x2c]
push ebx
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x94]
call fcn.004046f9
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
call fcn.00407c8e
push dword [esp + 0x50]
call dword [0x48f208]
lea ecx, [esp + 0x28]
call fcn.00405a64
lea ecx, [esp + 0x50]
call fcn.00405a64
push 0x2000
call fcn.00420ff6
pop ecx
push eax
lea ecx, [esp + 0x48]
call fcn.0040538e
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x22], 1
jne 0x406e47
push ecx
push esi
lea ecx, [esp + 0xb0]
call fcn.004059cd
test al, al
je 0x406e47
mov eax, dword [esp + 0x14]
inc eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
call fcn.004070bd
push esi
call fcn.0040702c
push esi
test al, al
je 0x43ec07
call fcn.0040710a
push esi
mov byte [esp + 0x27], bl
call fcn.00422e3c
mov dword [esp + 0x3c], eax
pop ecx
cmp eax, 2
jle 0x406dbb
mov ax, word [esi + eax*2 - 4]
push 0x7f
pop ecx
and ax, cx
movzx eax, ax
push eax
call 0x42387d
pop ecx
test eax, eax
jne 0x406eaf
cmp byte [esp + 0x24], 1
je 0x43ebfa
push dword [esp + 0x88]
lea ecx, [esp + 0x7c]
call fcn.00407f41
lea eax, [esp + 0xa8]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x80]
push eax
push esi
call fcn.00406a3c
lea ecx, [esp + 0x78]
mov dword [esp + 0x38], eax
call fcn.00405a64
mov eax, dword [esp + 0x38]
test eax, eax
je 0x406eda
cmp eax, 1
jle 0x406ecd
cmp eax, 3
jg 0x406ec4
push dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, edi
push esi
push eax
mov dword [esp + 0x20], eax
call fcn.00407373
cmp byte [esp + 0x23], 1
sete byte [esp + 0x24]
cmp byte [esp + 0x13], 1
je 0x406d42
lea ecx, [esp + 0xa8]
call fcn.00405dcf
push dword [esp + 0x98]
call dword [0x48f208]
mov eax, dword [esp + 0x48]
mov bl, byte [esp + 0x13]
dec dword [eax]
jne 0x406e7a
push eax
call fcn.0042106c
pop ecx
push esi
call fcn.0042106c
pop ecx
lea ecx, [esp + 0x88]
call fcn.00405a64
lea ecx, [esp + 0x98]
call fcn.00405a64
lea ecx, [esp + 0xa8]
call fcn.00405934
dec dword [0x4c74a4]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esp + 0x38]
cmp word [esi + eax*2 - 2], 0x5f
jne 0x406dbb
jmp 0x43ebe9
cmp eax, 4
jne 0x406ecd
mov byte [esp + 0x22], bl
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x406e32
mov byte [esp + 0x13], bl
jmp 0x406ecd
mov edx, 0x29e1971c
xchg edi, eax
loope 0x43e875
loopne 0x43e849
cmp al, 0x70
push ebp
enter 0xffffffffffff9911, 0xfffffffffffffff0
invalid
invalid
xor eax, 0x99fcb1f4
inc ecx
sti
xchg esi, eax
cli
sub dh, al
and byte [ecx - 0x752820e4], dl
and ecx, edx
imul edx, dword [eax + 0x4e9dae6f], 0xabc1ed84
inc esp
rcl dword [ebp + 0xa2acdfe], cl
inc ecx
jnp 0x43e903
sub byte [edi + esi*4 - 0x365c8dee], 0x5e
hlt
salc
shl byte [edx - 0x47], cl
invalid
aaa
xor ch, dh
pushfd
enter 0xffffffffffffe1d0, 0xffffffffffffff93
push ecx
js 0x43e8b0
mov al, byte [0x5d5dfaf1]
sbb byte [ecx - 0x40], 0x45
xor eax, 0x8bcfa175
dec edx
push esi
add al, 0xfe
push es
cli
popal
pop ds
outsd dx, dword [esi]
test al, 0xe9
inc esp
push ebx
out dx, eax
das
cmc
cld
fisubr dword [0xf1c4936f]
mov ah, 0x88
int3
mov ch, 0x50
dec ecx
mov dl, 0xf4
scasb al, byte es:[edi]
xchg edx, eax
fdivr dword [ebp - 0x70ebc39d]
push ds
into
rol byte [ecx + 0x10ade6af], 0xb2
adc byte [edi + 0x41b67d2b], cl
sbb dword [ecx], esp
invalid
jnp 0x43ec03
and al, 4
jnp 0x43eb96
mov dword [esi], edi
lcall 0x8ef4, 0x5577748f
or dword [ecx], 0xb515fb4e
cdq
add dword [eax + 0x5bb152ef], ecx
dec esi
sti
adc eax, 0x880199b5
out dx, eax
push edx
mov cl, 0x5b
invalid
test eax, 0xcd0dcb52
dec esp
inc eax
pushal
les edx, [esi - 0x3925a187]
cdq
inc esp
inc esp
invalid