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

Disassembly:
push 0xffffffffffffffff
push 0x408fcb
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40d01c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
cmp byte [eax + 0x45], 0
je 0x4079aa
push 0x40b224
lea ecx, [esp + 0x20]
call dword [0x40a0d8]
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], 0
call dword [0x40a120]
lea eax, [esp + 0x1c]
mov byte [esp + 0x6c], 1
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0x40b250
call dword [0x40a0b8]
push 0x40b7bc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0
push ecx
mov dword [esp + 0x40], 0x40b268
call fcn.00409904
lea esi, [esp + 0x78]
mov ebp, eax
call fcn.00407db0
mov ecx, dword [ebp]
cmp byte [ecx + 0x45], 0
je 0x4079c3
mov edi, dword [ebp + 8]
jmp 0x4079e2
mov edx, dword [ebp + 8]
cmp byte [edx + 0x45], 0
je 0x4079d0
mov edi, ecx
jmp 0x4079e2
mov eax, dword [esp + 0x7c]
mov edi, dword [eax + 8]
lea edx, [eax + 8]
cmp eax, ebp
jne 0x407a70
cmp byte [edi + 0x45], 0
mov esi, dword [ebp + 4]
jne 0x4079ee
mov dword [edi + 4], esi
mov eax, dword [0x40e0a0]
cmp dword [eax + 4], ebp
jne 0x4079fd
mov dword [eax + 4], edi
jmp 0x407a08
cmp dword [esi], ebp
jne 0x407a05
mov dword [esi], edi
jmp 0x407a08
mov dword [esi + 8], edi
mov edx, dword [0x40e0a0]
cmp dword [edx], ebp
jne 0x407a32
cmp byte [edi + 0x45], 0
je 0x407a1c
mov ecx, esi
jmp 0x407a30
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
mov ecx, edi
jne 0x407a30
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x407a26
mov dword [edx], ecx
mov edx, dword [0x40e0a0]
cmp dword [edx + 8], ebp
jne 0x407ad0
cmp byte [edi + 0x45], 0
je 0x407a51
mov ecx, esi
mov dword [edx + 8], ecx
jmp 0x407ad0
mov eax, dword [edi + 8]
cmp byte [eax + 0x45], 0
mov ecx, edi
jne 0x407a6b
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0x45], 0
je 0x407a60
mov dword [edx + 8], ecx
jmp 0x407ad0
mov dword [ecx + 4], eax
mov ecx, dword [ebp]
mov dword [eax], ecx
cmp eax, dword [ebp + 8]
jne 0x407a81
mov esi, eax
jmp 0x407a9a
cmp byte [edi + 0x45], 0
mov esi, dword [eax + 4]
jne 0x407a8d
mov dword [edi + 4], esi
mov dword [esi], edi
mov ecx, dword [ebp + 8]
mov dword [edx], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [0x40e0a0]
cmp dword [ecx + 4], ebp
jne 0x407aaa
mov dword [ecx + 4], eax
jmp 0x407ab8
mov ecx, dword [ebp + 4]
cmp dword [ecx], ebp
jne 0x407ab5
mov dword [ecx], eax
jmp 0x407ab8
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
lea ecx, [ebp + 0x44]
add eax, 0x44
cmp eax, ecx
je 0x407ad0
mov bl, byte [ecx]
mov dl, byte [eax]
mov byte [eax], bl
mov byte [ecx], dl
mov ebx, 1
cmp byte [ebp + 0x44], bl
jne 0x407bce
mov edx, dword [0x40e0a0]
cmp edi, dword [edx + 4]
je 0x407bcb
lea ecx, [ecx]
cmp byte [edi + 0x44], bl
jne 0x407bcb
mov ecx, dword [esi]
cmp edi, ecx
jne 0x407b5d
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x44], 0
jne 0x407b19
mov byte [ecx + 0x44], bl
mov ecx, esi
mov byte [esi + 0x44], 0
call fcn.00407d10
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x45], 0
jne 0x407b8c
mov eax, dword [ecx]
cmp byte [eax + 0x44], bl
jne 0x407b2e
mov edx, dword [ecx + 8]
cmp byte [edx + 0x44], bl
je 0x407b88
mov edx, dword [ecx + 8]
cmp byte [edx + 0x44], bl
jne 0x407b45
mov byte [eax + 0x44], bl
mov byte [ecx + 0x44], 0
call fcn.00407d60
mov ecx, dword [esi + 8]
mov dl, byte [esi + 0x44]
mov byte [ecx + 0x44], dl
mov byte [esi + 0x44], bl
mov eax, dword [ecx + 8]
mov ecx, esi
mov byte [eax + 0x44], bl
call fcn.00407d10
jmp 0x407bcb
cmp byte [ecx + 0x44], 0
jne 0x407b73
mov byte [ecx + 0x44], bl
mov ecx, esi
mov byte [esi + 0x44], 0
call fcn.00407d60
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
jne 0x407b8c
mov eax, dword [ecx + 8]
cmp byte [eax + 0x44], bl
jne 0x407ba1
mov edx, dword [ecx]
cmp byte [edx + 0x44], bl
jne 0x407ba1
mov byte [ecx + 0x44], 0
mov eax, dword [0x40e0a0]
mov edi, esi
mov esi, dword [esi + 4]
cmp edi, dword [eax + 4]
jne 0x407af0
jmp 0x407bcb
mov edx, dword [ecx]
cmp byte [edx + 0x44], bl
jne 0x407bb6
mov byte [eax + 0x44], bl
mov byte [ecx + 0x44], 0
call fcn.00407d10
mov ecx, dword [esi]
mov dl, byte [esi + 0x44]
mov byte [ecx + 0x44], dl
mov byte [esi + 0x44], bl
mov eax, dword [ecx]
mov ecx, esi
mov byte [eax + 0x44], bl
call fcn.00407d60
mov byte [edi + 0x44], bl
lea esi, [ebp + 0xc]
mov dword [esp + 0x18], esi
lea ecx, [esi + 0x1c]
mov dword [esp + 0x6c], 2
call dword [0x40a0d0]
mov ecx, esi
mov dword [esp + 0x6c], 0xffffffff
call dword [0x40a0d0]
push ebp
call fcn.00408f58
add esp, 4
cmp dword [0x40e0a4], 0
jbe 0x407c0e
sub dword [0x40e0a4], ebx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov ecx, dword [0x40e088]
mov dword [edx + 4], eax
mov dword [edx], ecx
mov eax, edx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc