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 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]
call fcn.004077c7
push ebx
push dword [ebp + 0x14]
push 0x4b9fc8
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0045fcb1
xor bl, bl
jmp 0x406e9e
push dword [ebp + 0x14]
mov ecx, esi
push 0x4ba050
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0045fcb1
jmp 0x406e92
cmp dword [esp + 0x74], 0x36304145
jne 0x406ccf
lea ecx, [esp + 0xa8]
call fcn.00405dcf
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x60]
push 2
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
push dword [eax]
mov byte [esp + 0x7c], bl
call fcn.00404f3d
test eax, eax
jne 0x43e8da
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
push 0x4ba080
lea ecx, [esp + 0x6c]
call fcn.004697e5
lea ecx, [esp + 0x60]
test eax, eax
je 0x43e8f6
call fcn.00404faa
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
push 0x4ba050
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0045fcb1
jmp 0x406e7a
call fcn.00404faa
mov eax, dword [esp + 0x14]
push 4
pop edx
push 0x10
mov edi, dword [eax]
or eax, 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], edi
mov word [esp + 0x34], ax
mov dword [esp + 0x54], 0x48fb78
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00420ff6
mov esi, eax
mov dword [esp + 0x44], esi
pop ecx
test esi, esi
je 0x43e94b
mov dword [esi], 0x48fb78
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jmp 0x43e951
mov esi, ebx
mov dword [esp + 0x40], esi
or eax, 0xffffffff
mov dword [esp + 0x44], esi
push 5
lea ecx, [esp + 0x2c]
mov word [esp + 0x36], ax
call fcn.00405f12
lea eax, [esp + 0x28]
mov dword [esp + 0x28], edi
push eax
mov ecx, esi
call fcn.0040766f
xor eax, eax
mov dword [esp + 0x3c], ebx
inc eax
cmp edi, eax
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x1c]
jl 0x43eb69
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, ecx
inc ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x28]
movzx eax, byte [eax]
push eax
mov dword [esp + 0x28], eax
call fcn.00405f12
lea ecx, [esp + 0x28]
call fcn.0046768b
test al, al
je 0x43e9d8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, edx
add edx, 4
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x43eaf8
lea ecx, [esp + 0x28]
call fcn.00467675
test al, al
je 0x43ea04
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add ecx, edx
add edx, 8
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
jmp 0x43eaf8
lea ecx, [esp + 0x28]
call fcn.0046765f
test al, al
je 0x43ea29
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, edx
add edx, 8
fld qword [eax]
fstp qword [esp + 0x28]
jmp 0x43eaf8
lea ecx, [esp + 0x28]
call fcn.00405f8a
test al, al
je 0x43eafc
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call fcn.0045fc4d
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
push eax
cmp ecx, 0x31
jne 0x43ea83
lea ecx, [esp + 0xe4]
call fcn.00407f41
mov ecx, dword [edi + 4]
push dword [esp + 0xe0]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0xe0]
mov esi, eax
call fcn.00405a64
push 1
jmp 0x43eaa7
cmp ecx, 0x30
jne 0x43eaba
lea ecx, [esp + 0x7c]
call fcn.00407f41
lea eax, [esp + 0x78]
push eax
call fcn.00406999
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.00405a64
push ebx
lea ecx, [esp + 0x2c]
call fcn.00405f12
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x40]
jmp 0x43eaea
cmp ecx, 0x37
jne 0x43eae1
mov ecx, edi
call fcn.0045fb6e
test eax, eax
je 0x43ebbb
push dword [esp + 0x18]
call fcn.0042106c
pop ecx
mov ecx, dword [esp + 0x1c]
jmp 0x43e993
lea ecx, [esp + 0x2c]
call fcn.00467621
push dword [esp + 0x18]
call fcn.0042106c
mov edx, dword [esp + 0x20]
pop ecx
mov dword [esp + 0x18], edx
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.0040766f
mov ecx, dword [esp + 0x18]
push 0x7f
pop edx
cmp dword [esp + 0x24], edx
jne 0x43e993
mov ecx, dword [esi + 8]
cmp ecx, 2
jbe 0x43eb4f
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4 - 8]
cmp word [eax + 8], dx
je 0x43eb4f
inc dword [esp + 0x3c]
mov ecx, edi
push 0x3b
pop eax
mov word [esp + 0x24], ax
or eax, 0xffffffff
push eax
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x10]
call fcn.00407373
jmp 0x43eb56
mov ecx, esi
call fcn.00460170
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x38]
jle 0x43e98f
push 5
lea ecx, [esp + 0x2c]
call fcn.00405f12
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov ecx, dword [ecx]
call fcn.00467581
lea eax, [esp + 0x44]
push eax
lea ecx, [edi + 0x50]
call fcn.0046f835
push dword [esp + 0x14]
call fcn.00422f95
mov bl, 1
pop ecx
lea ecx, [esp + 0x50]
call fcn.00407776
lea ecx, [esp + 0x28]
call fcn.00405efb
jmp 0x406e7a
mov eax, dword [esp + 0x4c]
mov ecx, edi
push 0x48f910
push 0x4ba0a8
push eax
push dword [ebp + 8]
call fcn.0045fcb1
push dword [esp + 0x18]
call fcn.0042106c
pop ecx
push dword [esp + 0x14]
call fcn.00422f95
jmp 0x43eba3