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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov eax, dword [esi]
dec eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 1
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
cmp word [eax + 8], 0x33
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 8], ebx
mov dword [ebp - 0x60], 3
jne 0x441e56
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], 2
cmp dword [0x4c7280], ebx
je 0x409176
mov eax, dword [0x4c7284]
cmp byte [0x4c7289], bl
jne 0x40918d
push eax
push ecx
mov dword [ebp + 8], eax
call fcn.00403c30
test al, al
je 0x409154
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x409154
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
and ebx, 0xff00
mov dword [ebp + 8], eax
mov dword [ebp - 8], eax
test eax, eax
je 0x409121
test ebx, 0x100
jne 0x441a8e
mov ebx, eax
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp word [eax + 8], 0x4e
je 0x441aa6
mov eax, dword [edi + 4]
mov dword [ebp - 0x54], ebx
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0
je 0x441b06
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
inc ecx
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.004053b0
test eax, eax
js 0x4090f8
lea eax, [ebp - 0x20]
cmp ebx, eax
je 0x408ee3
cmp dword [ebx + 0xc], 4
je 0x409167
mov ecx, ebx
call fcn.00404dc0
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00404e60
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0
jne 0x4091a6
cmp dword [eax], 0xf
jne 0x4091a6
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x20]
push 0xffffffffffffffff
push eax
inc ecx
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], ecx
mov ecx, ebx
push edi
call fcn.004053b0
test eax, eax
js 0x4090f8
lea ecx, [ebp - 0x50]
call fcn.00404dc0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404e60
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4]
cmp word [eax + 8], 0
je 0x441c85
lea ecx, [ebp - 0x40]
call fcn.00404dc0
mov ebx, 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
cmp ecx, 1
jne 0x441cbf
mov eax, dword [ebp - 0x44]
cmp eax, 1
je 0x408f98
cmp eax, 3
je 0x408f98
cmp eax, 2
je 0x408f98
lea ecx, [ebp - 0x50]
call fcn.004049aa
lea ecx, [ebp - 0x50]
test al, al
jne 0x409195
call fcn.004048a0
mov ebx, dword [ebp - 0x34]
cmp ebx, 1
jne 0x441cf3
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4]
cmp word [eax + 8], 0x7f
jne 0x441d28
xor edi, edi
xor dl, dl
lea esp, [esp]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
cmp eax, dword [0x4c72a0]
jg 0x40900e
test eax, eax
jle 0x40900e
shl eax, 4
add eax, dword [0x4c72dc]
je 0x40900e
test dl, dl
jne 0x40900e
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp word [eax + 8], 0
jne 0x408fc0
mov eax, dword [eax]
sub eax, 0xd
je 0x409161
dec eax
jne 0x408fc0
test edi, edi
jne 0x40915b
lea ebx, [ecx - 1]
mov dl, 1
mov dword [ebp - 0x58], ebx
jmp 0x408fc0
lea ecx, [ebp - 0x30]
call fcn.0040502b
mov ebx, dword [ebp + 8]
cmp eax, 1
je 0x441dcf
cmp dword [ebx + 0xc], 8
je 0x441d37
mov eax, dword [ebp - 0x44]
cmp eax, 5
je 0x441e25
cmp eax, 0xf
je 0x441e25
lea ecx, [ebp - 0x20]
call fcn.00404dc0
fldz
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], 3
fstp qword [ebp - 0x20]
call fcn.00404060
test al, al
jne 0x441e15
mov edx, ebx
lea ecx, [ebp - 0x50]
call fcn.00404060
test al, al
jne 0x441dcf
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x5c]
cmp byte [eax + 0x165], 0
jne 0x441df7
push 0x38
call fcn.00420f16
mov edi, eax
lea ecx, [ebp - 0x20]
call fcn.00404dc0
push 1
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 1
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x20], 0
call fcn.004039be
mov ebx, eax
mov dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
jmp 0x408e79
xor eax, eax
jmp 0x408e5d
dec edi
jmp 0x408fc0
inc edi
jmp 0x408fc0
cmp dword [ebp - 0x14], 4
jne 0x408ed1
jmp 0x441c75
lea eax, [ebp - 8]
push eax
push ecx
mov ecx, 0x4c7270
call fcn.00403f42
mov ebx, dword [ebp - 8]
jmp 0x408e5d
mov eax, dword [eax + 8]
jmp 0x408e32
call fcn.00404937
jmp 0x408f95
mov ecx, dword [ebp - 4]
jmp 0x441e56
xchg esp, eax
dec esp
add byte [ebx + 0x4c6498], ah
pushfd
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [ebx + 0x4d8b1845], cl
clc
jne 0x441ab4
inc ebx
push dword [ebp + 0x25]
xchg byte [eax + eax + 0x3fe90000], dl
invalid
cmp dl, 0xff
inc dword [ebx + 0xf00d87d]
test byte [ebx], ch
xchg ecx, eax
cld
inc dword [ebx + 0x5d8904c3]
shr cl, 1
pushal
invalid
clc
mov dword [esi + 0x84], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x80], eax
mov eax, 1
jmp fcn.0040a89b
ror dword [edi], 1
cmp dword [eax + 0x2bfffc8e], 0xffffffca
mov edi, edx
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
jmp 0x40abb2
clc
je 0x441d34
cmp eax, dword [esi + 0x78]
je 0x40adbe
cmp eax, dword [esi + 0x78]
jne 0x40adbe
add ebx, 2
mov dword [ebp - 0x30], ebx
jmp 0x40a9fe
cmp ax, word [esi + 0x36]
jne 0x40adbe
jmp 0x40a9f8
shr cl, 1
or byte [ecx + 0x458bfffc], 0xf8
add ebx, 2
mov dword [ebp + 8], eax
mov dword [ebp - 0x30], ebx
jmp 0x40a9fe
ror dword [edi], 0x83
mov bh, 0
add byte [eax], al
mov edx, dword [esi + 0x18]
test edx, edx
je 0x441e9c
push dword [ebp - 0x24]
lea eax, [esi + 0x1c]
push eax
push ecx
fmul qword [ebp + 0x51501c46]
mov ecx, dword [ebp - 8]
call fcn.0041a441
add esp, 0xc
test eax, eax
jne 0x40a9f8
invalid
mov edx, dword [esi + 0x1c]
lea eax, [edx + edx]
sub ecx, eax
mov eax, dword [ebp - 8]
cmp eax, ecx
ja 0x441e41
mov ax, word [eax]
cmp ax, word [esi + 0x34]
jne 0x441e3e
cmp edx, 1
je 0x40a9f8
mov eax, dword [ebp - 8]