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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x84], 0x2520ef76
mov word [esp + 0x3a], 0x7d56
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
call fcn.004011b0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x98], 0xec3d486c
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x88], 0xb91d6d6a
mov dword [esp + 0x2c], 0
mov eax, 0x44d0d2f4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, ecx
mov edx, dword [esp + 0x18]
mul edx
mov esi, dword [esp + 0x1c]
imul edi, esi, 0x44d0d2f4
add edx, edi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
cmp dword [esp + 0x2c], 0x14
jae 0x407f89
mov al, byte [esp + 0x97]
mov byte [esp + 0x17], al
mov cl, byte [esp + 0x17]
mul cl
mov byte [esp + 0x97], al
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
imul esi, esi, 0x118
mov edi, dword [edx + esi + 0xb8]
mov dword [esp + 0x40], edi
mov byte [esp + 0x97], 0x80
mov edx, dword [edx + esi + 0xb4]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0x40030186
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
xor edx, esi
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x40]
mov byte [esp + 0x97], 0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x20]
and edi, 0x670d4bef
add esi, edx
mov dword [esp + 0x88], edi
mov dword [esp + 0x44], esi
mov ax, word [esp + 0x82]
mov word [esp + 0x82], ax
mov ecx, dword [esp + 0x2c]
mov dl, byte [esp + 0x97]
add dl, 1
mov byte [esp + 0x97], dl
add ecx, 1
mov dword [esp + 0x2c], ecx
jmp 0x407c9f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00408300
xor eax, eax
mov si, 0x4e54
sub si, word [esp + 0x82]
mov word [esp + 0x82], si
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x28]
add edx, 0x2523
mov dword [ecx + 4], edx
mov si, word [esp + 0x82]
add si, word [esp + 0x82]
mov ecx, dword [esp + 0x84]
add ecx, 0xdae0e08a
mov edx, dword [ebp + 8]
mov word [esp + 0x82], si
mov edi, dword [esp + 0x84]
xor edi, 0x2520cf46
mov dword [edx + 0x14], ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x12d
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov bl, byte [esp + 0x97]
or bl, byte [esp + 0x97]
mov byte [esp + 0x97], bl
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x74]
add eax, 1
mov dword [esp + 0x74], eax
jmp 0x407ff8
mov eax, dword [esp + 0x50]
mov ecx, esp
mov dword [ecx], eax
call fcn.004089d0
mov dword [esp + 0x7c], eax
mov dl, byte [esp + 0x97]
add dl, 0x6a
mov byte [esp + 0x97], dl
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x44]
mov esi, esp
mov dword [esi + 4], ecx
mov dword [esi + 0xc], 4
mov dword [esi + 8], 0x1000
mov dword [esi], 0
call eax
sub esp, 0x10
mov dword [esp + 0x28], eax
mov di, word [esp + 0x82]
xor di, 0x1f12
mov word [esp + 0x82], di
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x20]
add eax, 0x63116e93
mov ecx, dword [esp + 0x1c]
adc ecx, 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], eax
jmp 0x407ff8
mov eax, dword [esp + 0x98]
or eax, 0x4fd96057
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
and eax, 0x3c22951f
mov ecx, dword [esp + 0x3c]
imul edx, dword [esp + 0x74], 0x118
add ecx, edx
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 0xb8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
imul ecx, dword [esp + 0x74], 0x118
add eax, ecx
mov eax, dword [eax + 0x114]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x3c]
imul ecx, dword [esp + 0x74], 0x118
add eax, ecx
mov byte [esp + 0x97], 0xa
mov eax, dword [eax + 0xb4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
xor eax, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004088d0
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
jmp 0x407e2c
lea eax, [0x40a492]
lea ecx, [esp + 0x54]
mov edx, dword [esp + 0x84]
add edx, 0xdadf1098
mov si, word [esp + 0x3a]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov word [esp + 0x14], si
call fcn.00408ff0
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x98]
add ecx, 0x6906c86
mov dword [esp + 0x98], ecx
mov bl, byte [esp + 0x97]
and bl, 0x4c
mov byte [esp + 0x97], bl
mov dword [esp + 0x50], eax
mov si, word [esp + 0x14]
cmp si, 0x6156
jbe 0x407f89
jmp 0x407e3c
mov al, byte [esp + 0x97]
sub al, byte [esp + 0x97]
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x97], al
cmp ecx, 0x14
jb 0x407ec8
jmp 0x407d80