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

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 8]
mov cl, byte [esp + 0xa7]
mov dl, cl
and dl, 0x30
mov byte [esp + 0xa7], dl
mov dword [esp + 0xa0], 0x6ccdc4dd
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0xd09a262
mov word [esp + 0x9e], 0xba86
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
mov ebx, esi
not ebx
mov edx, edi
not edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x3b], cl
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
call fcn.004012f0
mov edx, dword [esp + 0x34]
xor edx, 0x35c2d205
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xac], edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x34]
and eax, 0x270f9e44
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x54]
mov cx, word [esp + 0x9e]
sub cx, word [esp + 0x9e]
mov word [esp + 0x9e], cx
mov dl, byte [esp + 0x3b]
add dl, 0xaa
mov byte [esp + 0xa7], dl
cmp eax, 0x14
jb 0x407bef
lea eax, [0x40a099]
mov ecx, 0xe
lea edx, [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [esp + 0x2c], ecx
call fcn.00408cc0
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x98]
xor ecx, 0xffffffff
mov dword [esp + 0x98], ecx
mov dword [esp], eax
call fcn.00408630
xor ecx, ecx
mov edx, 0x1000
mov esi, 4
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
call dword [esp + 0x44]
sub esp, 0x10
mov di, word [esp + 0x9e]
or di, 0xf920
mov word [esp + 0x9e], di
mov dword [esp + 0x4c], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x12520000
jmp 0x407dfc
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
xor edx, edx
mov esi, 0x21d94a44
sub esi, eax
sbb edx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
jb 0x407e19
jmp 0x407e19
xor eax, eax
mov ecx, dword [esp + 0x98]
imul ecx, ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xa0]
mov bl, byte [esp + 0x3b]
add bl, 0x1d
mov byte [esp + 0xa7], bl
add ecx, 0x93340b23
mov bl, byte [esp + 0x3b]
add bl, bl
mov byte [esp + 0xa7], bl
mov esi, dword [esp + 0x4c]
mov edi, esp
mov dword [edi + 8], edx
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
call fcn.00408110
mov eax, dword [esp + 0x4c]
add eax, 0x2e91
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x14], ecx
mov bl, byte [esp + 0x3b]
not bl
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xa7], bl
mov ecx, dword [ebp + 8]
add eax, 0xd47
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
add eax, 0x3853187d
mov ecx, dword [esp + 0x30]
adc ecx, 0
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 8]
mov si, word [esp + 0x9e]
add si, 0x4b6c
mov word [esp + 0x9e], si
mov dword [eax + 0xc], 0x2010
mov eax, dword [esp + 0x14]
lea esp, [ebp - 0xc]
pop esi
pop ebx
pop edi
pop ebp
ret
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x54]
mov byte [esp + 0xa7], 0xd7
imul ecx, ecx, 0x90
add eax, ecx
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x90], eax
mov dx, word [esp + 0x9e]
or dx, 0x3c61
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
mov word [esp + 0x9e], dx
imul eax, eax, 0x90
add ecx, eax
mov dword [esp + 0x98], 0x275f61ee
mov eax, dword [ecx + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x90]
xor eax, dword [esp + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0x90]
mov dword [esp + 0x8c], eax
mov bl, byte [esp + 0x3b]
or bl, bl
mov byte [esp + 0xa7], bl
jmp 0x407aef
mov al, 0x60
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x94]
lea edx, [edx + edx*8]
shl edx, 4
movzx esi, word [esp + 0x9e]
imul esi, esi
mov di, si
mov word [esp + 0x9e], di
mov esi, dword [esp + 0x34]
xor esi, 0xb9d118c
mov ebx, dword [ecx + edx + 0x6c]
mov dword [esp + 0xa8], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xac], esi
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x34]
and ebx, 0x731dc2e
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0x20000011
mov byte [esp + 0xa7], 0x36
mov ebx, dword [ecx + edx + 0x8c]
mov dword [esp + 0x48], ebx
mov ecx, dword [ecx + edx + 0x68]
mov ah, byte [esp + 0x3b]
xor ah, 0xbb
mov byte [esp + 0xa7], ah
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x34]
or ecx, 0x29850e50
mov edx, dword [esp + 0x40]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x50]
mov ah, byte [esp + 0x3b]
sub al, ah
mov byte [esp + 0xa7], al
xor ecx, edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
add ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00408550
mov di, word [esp + 0x9e]
sub di, word [esp + 0x9e]
mov word [esp + 0x9e], di
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x88]
mov al, byte [esp + 0x3b]
add al, 0xfe
mov byte [esp + 0xa7], al
mov dword [esp + 0x88], ecx
mov di, word [esp + 0x9e]
and di, word [esp + 0x9e]
mov word [esp + 0x9e], di
mov eax, dword [esp + 0x94]
mov cl, byte [esp + 0x3b]
mov byte [esp + 0xa7], cl
add eax, 1
mov dword [esp + 0x94], eax
mov word [esp + 0x9e], 0x5851
cmp dword [esp + 0x94], 0x14
jb 0x407c9b
jmp 0x407b15
mov eax, 0x6ccdc4de
mov cx, word [esp + 0x9e]
or cx, 0xa69
mov word [esp + 0x9e], cx
mov edx, dword [esp + 0x54]
sub eax, dword [esp + 0xa0]
add edx, eax
mov dword [esp + 0x54], edx
mov bl, byte [esp + 0x3b]
xor bl, 0xae
mov byte [esp + 0xa7], bl
jmp 0x4079ff