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

Disassembly:
push 0xffffffffffffffff
push 0x4c44f0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x519b14]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x88]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.0040bd20
xor edi, edi
mov dword [esp + 0x64], edi
push eax
call fcn.00409330
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x64], 0xffffffff
mov ecx, dword [esp + 0x2c]
cmp ecx, edi
je 0x407c0f
call fcn.0040bca0
cmp eax, edi
je 0x407c0f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00408860
mov ecx, 1
mov dword [esp + 0x64], ecx
mov al, byte [ebp]
cmp al, 0x2b
je 0x407c4e
cmp al, 0x2d
je 0x407c4e
cmp al, 0x30
jne 0x407c48
mov al, byte [ebp + 1]
cmp al, 0x78
je 0x407c3e
cmp al, 0x58
jne 0x407c48
mov dword [esp + 0x1c], 2
jmp 0x407c52
mov dword [esp + 0x1c], edi
jmp 0x407c52
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x54]
cmp ecx, 0x10
mov edx, dword [esp + 0x40]
mov eax, edx
jae 0x407c65
lea eax, [esp + 0x40]
cmp byte [eax], 0x7f
je 0x407d04
cmp ecx, 0x10
mov eax, edx
jae 0x407c79
lea eax, [esp + 0x40]
cmp byte [eax], 0
jle 0x407d04
cmp ecx, 0x10
jae 0x407c8b
lea edx, [esp + 0x40]
mov ebx, dword [esp + 0x8c]
mov eax, edx
mov al, byte [eax]
cmp al, 0x7f
mov dword [esp + 0x18], edx
mov esi, ebx
je 0x407cf1
test al, al
jle 0x407cea
mov ecx, esi
sub ecx, dword [esp + 0x1c]
movsx eax, al
cmp eax, ecx
jae 0x407cea
sub esi, eax
mov edx, ebx
sub edx, esi
lea eax, [edx + 1]
push eax
lea edi, [esi + ebp]
push edi
push eax
lea eax, [esi + ebp + 1]
push eax
call fcn.0048c2a5
mov eax, dword [esp + 0x28]
add esp, 0x10
mov byte [edi], 0
add ebx, 1
cmp byte [eax + 1], 0
jle 0x407ce4
add eax, 1
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x407ca0
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x407d0d
cmp esi, ebx
jbe 0x407d0d
sub esi, ebx
jmp 0x407d0f
mov ebx, dword [esp + 0x8c]
jmp 0x407cf1
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x407df8
cmp eax, 0x100
je 0x407d75
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x84]
push esi
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], edx
lea ebx, [esp + 0x40]
mov dword [eax + 8], ecx
call fcn.00407f50
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebx, dword [esp + 0x9c]
add esp, 0x10
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
xor esi, esi
jmp 0x407dfc
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x38]
mov ecx, ebp
call fcn.00408640
mov edx, dword [eax]
add esp, 0x14
push esi
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub ebx, edi
add ebp, edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x9c], ebx
mov dword [ecx + 4], edx
lea ebx, [esp + 0x40]
mov dword [ecx + 8], eax
call fcn.00407f50
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebx, dword [esp + 0x9c]
add esp, 0x10
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
xor esi, esi
jmp 0x407dfc
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
movzx eax, ax
push eax
push ebx
push ebp
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 8], edi
lea eax, [esp + 0x48]
push eax
push ecx
call fcn.00408700
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x90]
add esp, 0x20
push esi
sub esp, 0xc
mov dword [ecx + 0x18], 0
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x94]
mov dword [ecx + 8], eax
call fcn.00407f50
add esp, 0x10
mov dword [esp + 0x64], 0xffffffff
cmp dword [esp + 0x54], 0x10
jb 0x407e87
mov edx, dword [esp + 0x40]
push edx
call fcn.0048c112
add esp, 4
xor eax, eax
mov dword [esp + 0x50], eax
mov byte [esp + 0x40], al
mov dword [esp + 0x54], 0xf
mov eax, ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0048cb7d
add esp, 0x54
ret