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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov edi, dword [esp + 0x90]
call 0x407a3b
pop ebx
lea esi, [esp + 0x58]
push dword [esp + 0x94]
push esi
call fcn.0045361a
add esp, 8
cmp byte [esi], 0
je 0x407a67
mov eax, dword [esp + 0x5c]
mov dword [edi + 4], eax
mov dword [edi], 0
jmp 0x40813c
cmp byte [esp + 0x59], 0
je 0x407e6b
movzx eax, byte [esp + 0x5a]
cmp eax, 0x5b
je 0x407d5a
cmp eax, 0x7b
jne 0x407ee9
mov eax, dword [esp + 0x94]
dec byte [eax + 0x18]
je 0x407f0a
push eax
mov esi, eax
call fcn.004535e2
add esp, 4
push esi
call fcn.00454161
add esp, 4
mov edi, eax
and dl, 1
lea eax, [esp + 0x74]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], ebx
mov dword [eax], edi
mov byte [eax + 4], dl
mov dword [esp + 0x2c], edx
xor eax, eax
lea edx, [esp + 0x30]
mov dword [ecx], eax
mov dword [edx], eax
mov eax, edi
add eax, 0xc
mov dword [esp + 0x70], eax
mov al, 1
mov dword [esp + 0x50], eax
push edi
lea eax, [esp + 0x4c]
push eax
call fcn.0045361a
add esp, 8
cmp byte [esp + 0x48], 0
je 0x407b04
mov ecx, dword [esp + 0x4c]
mov dl, byte [esp + 4]
mov al, 1
jmp 0x407bcf
cmp byte [esp + 0x49], 0
je 0x407cd1
mov al, byte [esp + 0x4a]
movzx ecx, al
cmp ecx, 0x2c
je 0x407b29
cmp ecx, 0x7d
jne 0x407b5b
mov dl, 4
xor eax, eax
jmp 0x407bd2
cmp byte [esp + 0x2c], 0
jne 0x407b66
push edi
call fcn.004535e2
add esp, 4
push edi
lea eax, [esp + 0xc]
push eax
call fcn.0045361a
add esp, 8
cmp byte [esp + 8], 0
je 0x407cdb
mov eax, dword [esp + 0xc]
jmp 0x407d4c
cmp byte [esp + 0x2c], 0
je 0x407d36
mov byte [esp + 0x78], 0
cmp al, 0x22
jne 0x407f8a
push edi
call fcn.004535e2
add esp, 4
mov dword [edi + 0x14], 0
push dword [esp + 0x70]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.00454b5f
add esp, 0xc
mov ecx, dword [esp + 0xc]
cmp dword [esp + 8], 2
je 0x407bc1
push dword [esp + 0x10]
push ecx
lea eax, [esp + 0x50]
push eax
call fcn.0040c1f1
add esp, 0xc
cmp byte [esp + 0x48], 0
je 0x407cc3
mov ecx, dword [esp + 0x4c]
mov dl, byte [esp + 4]
mov al, 1
mov dword [esp + 0x2c], 0
mov dword [esp], ecx
test al, al
jne 0x408035
cmp dl, 4
mov byte [esp + 4], dl
ja 0x407cad
movzx eax, dl
mov eax, dword [eax*4 + 0x408174]
add eax, ebx
jmp eax
lea ecx, [esp + 0x74]
call fcn.00405f9c
test eax, eax
je 0x407ae0
jmp 0x407edf
mov dl, byte [esp + 0x49]
mov ecx, dword [esp]
xor eax, eax
jmp 0x407bc7
mov dword [esp + 8], 3
jmp 0x407d3e
cmp byte [esp + 9], 0
je 0x408158
mov al, byte [esp + 0xa]
jmp 0x407b6b
mov dword [esp + 8], 8
lea eax, [esp + 8]
push eax
push edi
call fcn.004b2ec2
add esp, 8
mov dl, byte [esp + 4]
mov dword [esp], eax
mov al, 1
jmp 0x407bd2
mov eax, dword [esp + 0x94]
dec byte [eax + 0x18]
je 0x407f1a
push eax
mov esi, eax
call fcn.004535e2
add esp, 4
push esi
call fcn.00454161
add esp, 4
lea esi, [esp + 0x3c]
lea edi, [esp + 8]
and dl, 1
mov dword [esi], eax
mov byte [esi + 4], dl
mov ecx, edi
mov edx, esi
call fcn.004063ef
cmp dword [edi], 0
je 0x407da5
mov eax, dword [esp + 0xc]
mov dword [esp], eax
jmp 0x407e1c
mov esi, dword [esp + 0xc]
test esi, esi
je 0x407f60
lea edi, [esp + 8]
lea edx, [esp + 0x3c]
mov dword [esp + 0x30], esi
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov ecx, edi
mov dword [esp], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
call fcn.004065f5
mov eax, dword [edi]
cmp eax, 2
je 0x407dff
test eax, eax
je 0x407f79
lea edi, [esp + 8]
lea edx, [esp + 0x3c]
mov ebp, dword [edi + 4]
mov ecx, edi
call fcn.004063ef
cmp dword [edi], 0
je 0x407f32
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x30]
mov dword [esp], eax
push esi
call fcn.004011c0
add esp, 4
push esi
call fcn.00414190
add esp, 4
mov eax, dword [esp + 0x94]
xor esi, esi
inc byte [eax + 0x18]
push eax
call fcn.00453e6e
add esp, 4
mov edi, eax
mov eax, dword [esp]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
jmp 0x4080b4
lea eax, [esp + 8]
mov dword [eax], 5
push eax
push dword [esp + 0x98]
jmp 0x407f28
xor ebx, ebx
mov dword [esp], eax
jmp 0x408037
mov esi, dword [esp + 0x94]
lea edx, [esp + 0x54]
mov ecx, esi
push 0x4b6f9c
call fcn.004b14c0
add esp, 4
mov ecx, esi
jmp 0x408149
lea ecx, [esp + 8]
mov dword [esp + 8], 0x18
push ecx
push eax
jmp 0x407f28
lea edx, [esp + 8]
mov ecx, eax
mov dword [edx], 0x18
push edx
push ecx
call fcn.004b2ec2
jmp 0x408150
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x408015
mov eax, dword [esp + 0x10]
mov dword [esp + 4], ebp
mov ebp, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x94]
jmp 0x407e25
push 0x4b6fe4
push 0x4b6fdc
push 0
call fcn.004b1c64
add esp, 0xc
jmp 0x407da0
push 0x4b6fe4
push 0x4b6fdc
push 1
jmp 0x408021
movzx eax, al
cmp eax, 0x7d
jne 0x407ffd
mov dword [esp + 8], 0x15
jmp 0x408005
mov dword [esp + 8], 0x11
lea eax, [esp + 8]
push eax
push edi
call fcn.004b2ec2
add esp, 8
jmp 0x408032
push 0x4b6fe4
push 0x4b6fdc
push 2
call fcn.004b1c64
add esp, 0xc
jmp 0x407e03
mov dword [esp], eax
xor ebx, ebx
cmp dword [esp + 0x30], 0
je 0x408054
lea esi, [esp + 0x30]
push esi
call fcn.004011c0
add esp, 4
push esi
call fcn.00414190
add esp, 4
cmp dword [esp + 0x3c], 0
sete al
or bl, al
jne 0x408076
lea esi, [esp + 0x3c]
push esi
call fcn.004011c0
add esp, 4
push esi
call fcn.00414190
add esp, 4
xor esi, esi
mov eax, dword [esp + 0x94]
inc byte [eax + 0x18]
push eax
call fcn.00453f3f
add esp, 4
mov edi, eax
mov eax, dword [esp]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
test esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
je 0x4080d4
test edi, edi
je 0x4080e5
lea ecx, [esp + 8]
call fcn.00405f54
xor esi, esi
mov dword [esp], edi
jmp 0x408105
xor esi, esi
test edi, edi
je 0x408105
lea ecx, [esp + 0x24]
call fcn.00405ea6
jmp 0x408105
lea eax, [esp + 0x10]
mov ecx, dword [eax + 0x10]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov dword [esp + 0x68], ecx
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0x58], xmm0
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
test esi, esi
je 0x408146
mov eax, dword [esp + 0x68]
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
mov ecx, dword [esp]
mov dword [edi + 0x18], eax
movsd qword [edi + 0x10], xmm1
movsd qword [edi + 8], xmm0
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, edi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp]
push eax
push ecx
call fcn.004b2ee9
add esp, 8
jmp 0x407a59
mov dword [esp + 8], 5
jmp 0x408005