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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xd4
mov ebx, dword [esp + 0xe8]
call 0x40819e
pop edi
lea esi, [esp + 0xac]
push dword [esp + 0xec]
push esi
call fcn.0045361a
add esp, 8
cmp byte [esi], 0
je 0x4081d0
mov eax, dword [esp + 0xb0]
mov dword [ebx + 4], eax
mov dword [ebx], 0
jmp 0x408b10
cmp byte [esp + 0xad], 0
je 0x408622
movzx eax, byte [esp + 0xae]
mov esi, dword [esp + 0xec]
cmp eax, 0x5b
je 0x408587
cmp eax, 0x7b
jne 0x408769
dec byte [esi + 0x18]
je 0x408678
push esi
call fcn.004535e2
add esp, 4
push esi
call fcn.00454161
add esp, 4
mov esi, eax
and dl, 1
lea eax, [esp + 0x98]
xor ecx, ecx
mov dword [esp + 8], 0
mov dword [esp + 0x40], edi
mov dword [eax], esi
mov byte [eax + 4], dl
lea eax, [esp + 0x50]
mov dword [esp + 0x78], edx
mov dword [eax], ecx
lea eax, [esp + 0x5c]
mov dword [eax], ecx
lea eax, [esp + 0x68]
mov dword [eax], ecx
mov eax, esi
add eax, 0xc
mov dword [esp + 0x94], eax
mov al, 1
mov dword [esp + 0x74], eax
push esi
lea eax, [esp + 0x48]
push eax
call fcn.0045361a
add esp, 8
cmp byte [esp + 0x44], 0
je 0x408281
mov ecx, dword [esp + 0x48]
mov al, 1
jmp 0x40834e
cmp byte [esp + 0x45], 0
je 0x4084b2
mov al, byte [esp + 0x46]
movzx ecx, al
cmp ecx, 0x2c
je 0x4082a6
cmp ecx, 0x7d
jne 0x4082d8
mov bh, 6
xor eax, eax
jmp 0x408351
cmp byte [esp + 0x78], 0
jne 0x4082e3
push esi
call fcn.004535e2
add esp, 4
push esi
lea eax, [esp + 0x10]
push eax
call fcn.0045361a
add esp, 8
cmp byte [esp + 0xc], 0
je 0x4084bf
mov eax, dword [esp + 0x10]
jmp 0x40857d
cmp byte [esp + 0x78], 0
je 0x408567
mov byte [esp + 0x9c], 0
cmp al, 0x22
jne 0x408894
push esi
call fcn.004535e2
add esp, 4
mov dword [esi + 0x14], 0
push dword [esp + 0x94]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00454b5f
add esp, 0xc
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0xc], 2
je 0x408344
push dword [esp + 0x14]
push ecx
lea eax, [esp + 0x4c]
push eax
call fcn.0040c25e
add esp, 0xc
cmp byte [esp + 0x44], 0
je 0x4084a4
mov ecx, dword [esp + 0x48]
mov al, 1
mov dword [esp + 0x78], 0
mov dword [esp], ecx
mov bl, 1
test al, al
jne 0x4089aa
cmp bh, 6
ja 0x40848b
movzx eax, bh
mov eax, dword [eax*4 + 0x408c08]
add eax, edi
jmp eax
lea ecx, [esp + 0x98]
call fcn.00405f9c
test eax, eax
je 0x408261
jmp 0x408752
mov bh, byte [esp + 0x45]
mov ecx, dword [esp]
xor eax, eax
jmp 0x408346
mov dword [esp + 0xc], 3
jmp 0x40856f
cmp byte [esp + 0xd], 0
je 0x408bd0
mov al, byte [esp + 0xe]
jmp 0x4082eb
mov dword [esp + 0xc], 8
lea eax, [esp + 0xc]
push eax
push esi
call fcn.004b2ec2
add esp, 8
mov dword [esp], eax
mov al, 1
jmp 0x408351
dec byte [esi + 0x18]
je 0x408678
push esi
call fcn.004535e2
add esp, 4
push esi
call fcn.00454161
add esp, 4
lea ecx, [esp + 0x80]
and dl, 1
lea esi, [esp + 0xc]
mov dword [ecx], eax
mov byte [ecx + 4], dl
push ecx
push esi
call fcn.0040680b
add esp, 8
cmp dword [esi], 0
je 0x4085d6
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0xec]
xor ebp, ebp
jmp 0x408819
mov eax, dword [esp + 0x10]
test eax, eax
je 0x408879
lea esi, [esp + 0xc]
lea edx, [esp + 0x80]
mov dword [esp + 8], eax
mov edi, dword [esi + 8]
mov ecx, esi
call fcn.004064f2
cmp dword [esi], 0
je 0x408636
mov esi, dword [esp + 0x10]
jmp 0x40880e
lea eax, [esp + 0xc]
mov dword [eax], 5
push eax
push dword [esp + 0xf0]
jmp 0x408684
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4088ad
lea esi, [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
lea edx, [esp + 0x80]
mov ecx, esi
call fcn.004064f2
cmp dword [esi], 0
je 0x408781
mov esi, dword [esp + 0x10]
jmp 0x4087f8
lea eax, [esp + 0xc]
mov dword [eax], 0x18
push eax
push esi
call fcn.004b2ec2
jmp 0x408b24
mov dword [esp + 4], 0
mov esi, dword [esp + 0xec]
mov dword [esp], eax
jmp 0x4089b9
lea edx, [esp + 0x7c]
mov ecx, esi
push 0x4b6fac
call fcn.004b14c0
add esp, 4
jmp 0x408b1d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x408b8c
lea esi, [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x80]
mov ecx, esi
call fcn.004065f5
mov eax, dword [esi]
cmp eax, 2
je 0x4087de
test eax, eax
je 0x408ba7
lea esi, [esp + 0xc]
lea edx, [esp + 0x80]
mov ebx, dword [esi + 4]
mov ecx, esi
call fcn.004064f2
cmp dword [esi], 0
je 0x4088c8
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x44]
push edi
call fcn.004011c0
add esp, 4
push edi
call fcn.00448bd3
add esp, 4
lea edi, [esp + 0x68]
push edi
call fcn.004011c0
add esp, 4
push edi
call fcn.00448bd3
add esp, 4
mov ecx, dword [esp + 0xec]
xor ebp, ebp
mov edi, esi
inc byte [ecx + 0x18]
push ecx
call fcn.00453e6e
add esp, 4
movsd xmm0, qword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x58]
mov esi, eax
test ebp, ebp
mov dword [esp + 8], ebp
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], ecx
movsd xmm0, qword [esp + 0x50]
mov ecx, dword [esp]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 4]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], edx
jmp 0x408a8d
push 0x4b6fe4
push 0x4b701c
push 0
call fcn.004b1c64
add esp, 0xc
mov edi, eax
jmp 0x4085c8
movzx eax, al
cmp eax, 0x7d
jne 0x40898f
mov dword [esp + 0xc], 0x15
jmp 0x408997
push 0x4b6fe4
push 0x4b701c
push 1
call fcn.004b1c64
add esp, 0xc
mov esi, eax
jmp 0x40880e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xec]
test eax, eax
je 0x408bb5
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x68]
mov edx, eax
mov dword [esp + 0x40], ebx
mov ebx, edx
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp], esi
movsd qword [esp + 0x5c], xmm0
movsd xmm0, qword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 8]
movsd qword [esp + 0x50], xmm0
mov dword [esp + 0x58], esi
jmp 0x408819
mov dword [esp + 0xc], 0x11
lea eax, [esp + 0xc]
push eax
push esi
call fcn.004b2ec2
add esp, 8
mov dword [esp], eax
mov bl, 1
mov esi, dword [esp + 0xec]
mov dword [esp + 4], 0
cmp dword [esp + 0x68], 0
je 0x4089d6
lea edi, [esp + 0x68]
push edi
call fcn.004011c0
add esp, 4
push edi
call fcn.00448bd3
add esp, 4
cmp dword [esp + 0x5c], 0
setne al
test bl, al
je 0x4089f8
lea edi, [esp + 0x5c]
push edi
call fcn.004011c0
add esp, 4
push edi
call fcn.00448bd3
add esp, 4
cmp dword [esp + 0x50], 0
mov ecx, dword [esp + 4]
sete al
or cl, al
jne 0x408a1e
lea edi, [esp + 0x50]
push edi
call fcn.004011c0
add esp, 4
push edi
call fcn.00448bd3
add esp, 4
mov edi, dword [esp]
xor ebx, ebx
inc byte [esi + 0x18]
push esi
call fcn.00453f3f
add esp, 4
movsd xmm0, qword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0xa8]
mov esi, eax
mov dword [esp + 8], ebx
test ebx, ebx
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], ecx
movsd xmm0, qword [esp + 0xa0]
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esp]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
mov eax, edi
je 0x408ab7
mov ebx, dword [esp + 0xe8]
test esi, esi
je 0x408ad9
lea ecx, [esp + 0xc]
call fcn.00405f0e
mov dword [esp + 8], 0
jmp 0x408ad5
mov ebx, dword [esp + 0xe8]
test esi, esi
mov dword [esp + 8], 0
je 0x408aeb
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.00405ea6
mov eax, esi
jmp 0x408aeb
lea esi, [esp + 0x14]
lea edi, [esp + 0xac]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0xec]
test edx, edx
je 0x408b1d
lea edi, [ebx + 8]
lea esi, [esp + 0xac]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov eax, ebx
add esp, 0xd4
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
push esi
call fcn.004b2ee9
add esp, 8
jmp 0x4081c2
push 0x4b6fe4
push 0x4b701c
push 2
call fcn.004b1c64
add esp, 0xc
mov esi, eax
jmp 0x4087f8
push 0x4b6fe4
push 0x4b701c
push 3
jmp 0x408bc1
push 0x4b6fe4
push 0x4b701c
push 4
call fcn.004b1c64
add esp, 0xc
mov esi, eax
jmp 0x4087e2
mov dword [esp + 0xc], 5
jmp 0x408997