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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [ebp + 8]
mov dword [esp + 0xa0], 0x54c2b165
mov cx, word [esp + 0x96]
imul dx, cx, 0xf15d
mov word [esp + 0x96], dx
mov word [esp + 0x3a], 0x24f8
mov dword [esp + 0x30], eax
mov word [esp + 0x2e], cx
call fcn.004011e0
mov dword [esp + 0x84], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x74], 0
mov bl, byte [esp + 0x8f]
mov byte [esp + 0x8f], 0x1d
mov byte [esp + 0x2d], bl
mov ax, 0xc38e
mov ecx, dword [esp + 0x74]
mov dl, byte [esp + 0x2d]
mov byte [esp + 0x8f], dl
mov dword [esp + 0x88], ecx
cmp ax, word [esp + 0x3a]
ja 0x407cbb
jmp 0x407c96
mov eax, dword [esp + 0x6c]
add eax, 1
mov dword [esp + 0x6c], eax
jmp 0x407cdb
xor eax, eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x90], 0
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], ecx
mov dword [esp + 0x28], eax
call fcn.00408270
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x64]
add ecx, 0x233c
mov dword [eax + 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x1d000
mov eax, dword [esp + 0x64]
mov bl, byte [esp + 0x2d]
mov byte [esp + 0x8f], bl
mov ecx, dword [ebp + 8]
add eax, 0x263
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [ecx + 0x10], eax
mov di, word [esp + 0x2e]
imul si, di, 0x75bd
mov eax, dword [ebp + 8]
mov word [esp + 0x96], si
mov dword [eax], 0x2010
mov eax, dword [esp + 0x28]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
lea eax, [0x40a099]
mov ecx, 0xe
lea edx, [esp + 0x44]
mov esi, dword [esp + 0xa0]
add esi, 0xab3d4e9f
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
call fcn.00409070
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x90]
xor ecx, dword [esp + 0x90]
mov dword [esp + 0x90], ecx
mov dword [esp], eax
call fcn.004087e0
xor ecx, ecx
mov edx, 0x1000
mov di, word [esp + 0x2e]
add di, 0x9307
mov word [esp + 0x96], di
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1000
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
call dword [esp + 0x80]
sub esp, 0x10
mov di, word [esp + 0x2e]
and di, 0x92c5
mov word [esp + 0x96], di
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], 0
jmp 0x407cdb
xor eax, eax
mov dword [esp], 0
mov dword [esp + 0x14], eax
call fcn.004074c0
mov ecx, 0x505c0a4
mov dword [esp + 0x10], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x88]
mov dword [esp + 0x90], 0x5327597e
cmp eax, 0x12
jb 0x407e03
jmp 0x407bcc
mov al, byte [esp + 0x2d]
xor al, 0x18
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x8f], al
cmp ecx, 0x12
jae 0x407b33
mov ax, word [esp + 0x2e]
add ax, 0xd873
mov word [esp + 0x96], ax
mov ecx, dword [esp + 0x6c]
imul ecx, ecx, 0x90
add ecx, dword [esp + 0x84]
mov ecx, dword [ecx + 0x6c]
mov dl, byte [esp + 0x2d]
mov byte [esp + 0x8f], dl
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x6c]
imul ecx, ecx, 0x90
add ecx, dword [esp + 0x84]
mov ecx, dword [ecx + 0x8c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x90]
xor esi, dword [esp + 0x90]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x90], esi
imul ecx, ecx, 0x90
add edi, ecx
mov ecx, dword [edi + 0x68]
mov dword [esp + 0x34], ecx
xor dl, 0xff
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x8f], dl
mov esi, dword [esp + 0x78]
mov ax, word [esp + 0x2e]
mov word [esp + 0x96], ax
xor esi, ecx
mov dword [esp + 0x78], esi
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x64]
add esi, dword [esp + 0x68]
mov edi, dword [esp + 0x78]
mov byte [esp + 0x8f], 0xeb
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.00408680
mov ax, word [esp + 0x2e]
mov word [esp + 0x96], ax
mov ecx, dword [esp + 0x68]
add ecx, dword [esp + 0x78]
mov dword [esp + 0x68], ecx
jmp 0x407b23
mov eax, dword [esp + 0x90]
and eax, dword [esp + 0x90]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x74]
add eax, 1
mov dword [esp + 0x74], eax
jmp 0x407af9
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0x6895d3b1
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x74]
lea ecx, [ecx + ecx*8]
shl ecx, 4
mov edx, dword [eax + ecx + 0x6c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0x7f298c4
mov eax, dword [eax + ecx + 0x68]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
xor eax, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov bl, byte [esp + 0x2d]
xor bl, 0xef
mov byte [esp + 0x8f], bl
jmp 0x407dde