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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
add byte [eax], al
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 fcn.00420b9b
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]
dec esp
and al, 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 fcn.0042387d
pop ecx
test eax, eax
jne 0x406eaf
cmp byte [esp + 0x24], 1
je 0x43ebfa
add bh, bh
mov ah, 0x24
mov byte [eax], al
add byte [eax], al
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
adc al, 2
add byte [ebx], dh
fucomi st(1)
and byte [edx + 0x756810fc], al
adc al, 0x68
enter 0x4b9f, 0
jne 0x43e867
push dword [ebp + 8]
adc al, ch
push edi
adc al, 2
add byte [edx], dh
fucomi st(1)
cmp eax, 0x6810fc86
jne 0x43e882
mov ecx, esi
push 0x4ba050
jne 0x43e883
push dword [ebp + 8]
adc al, ch
cmp edx, dword [edx + eax]
add cl, ch
pop ss
call 0x45fcbb
jmp 0x11406e9c
xchg ah, bh
cld
adc byte [ecx + 0x4574247c], al
inc ecx
xor byte [esi], dh
jne 0x406cd9
lea ecx, [esp + 0x541200a8]
call fcn.00405dd9
mov edi, edi
or byte [ebp + 0x6a60244c], cl
add cl, byte [ecx - 0x768fdba4]
pop esp
and al, 0x74
push dword [eax]
mov byte [esp + 0x7c], bl
call fcn.00404f47
test eax, eax
jne 0x43e8e4
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
push 0x4ba080
lea ecx, [esp + 0x6c]
call int.004697ef
lea ecx, [esp + 0x60]
test eax, eax
je 0x43e900
call 0x11404fb4
push 0x4c8b1475
and al, 0x20
push 0x4ba050
jne 0x43e8fe
push dword [ebp + 8]
adc al, ch
rcl byte [ebx], 2
add cl, ch
test byte [ebp - 0x50170004], al
cld
dec dword [ebx + 0x6a142444]
add al, 0x5a
cld
invalid
call fcn.00404fb4
mov eax, dword [esp + 0x14]
push 4
pop edx
push 0x10
mov edi, dword [eax]
ret
je 0x43ec0f
adc al, 0xe8
scasb al, byte es:[edi]
inc ebx
invalid
mov word [esi + eax*2 - 2], cx
jmp 0x406dc5
call fcn.0045fb11
jmp 0x406e3c
cld
dec dword [ebx - 0x74e7dbbc]
iretd