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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xa8], 0x411cdc5e
mov word [esp + 0x82], 0x3fbe
mov bl, byte [esp + 0x9f]
mov bh, bl
add bh, bh
mov byte [esp + 0x9f], bh
mov dword [esp + 0x88], 0x72158cf6
mov dword [esp + 0x90], 0x2b22964b
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x98]
cmp edi, 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x1b], bl
je 0x4072c4
jmp 0x4072f2
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa0], 0x6fffdbbd
mov dword [esp + 0xa4], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x454cf8f0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x28]
imul esi, edx, 0x5fb15c8a
mov dword [esp + 0x98], esi
add ecx, 0xbee323a4
mov bl, byte [esp + 0x1b]
or bl, 0xb9
mov byte [esp + 0x9f], bl
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov edx, 0x7ba13b3d
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, ebx
mul edx
mov ebx, dword [esp + 0x1c]
imul ebx, ebx, 0x7ba13b3d
add edx, ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
xor edx, edx
mov eax, dword [esp + 0x14]
div ecx
mov dword [esp + 0x44], eax
mov word [esp + 0x9c], 0x8420
mov eax, dword [esp + 0x28]
or eax, 0x74164148
xor ecx, ecx
mov edx, 0x70eeeac9
sub edx, edi
sbb ecx, esi
mov dword [esp + 0x98], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
jb 0x40751a
jmp 0x4074f0
mov ax, word [esp + 0x9c]
mov cx, word [esp + 0x9c]
mov edx, dword [esp + 0x30]
imul ax, cx
mov word [esp + 0x9c], ax
mov eax, edx
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x28]
or eax, 0x72e2df39
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx]
mov dword [esp + 0x98], eax
mov dword [esp + 0x30], ecx
jmp 0x407175
jmp 0x407202
cmp dword [ebp + 0xc], 0
jne 0x407273
jmp 0x4075b7
mov eax, 0x3d94c578
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x48]
add edx, 0x18
mov esi, dword [esp + 0x20]
mov dword [esp + 0xa0], esi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xa4], edi
mov dword [esp + 0x78], edx
cmp eax, ecx
jne 0x40719f
jmp 0x40750d
mov ax, word [esp + 0x9c]
sub ax, word [esp + 0x9c]
mov word [esp + 0x9c], ax
mov ecx, dword [esp + 0xa8]
xor ecx, 0x2e3d808a
mov edx, dword [esp + 0x34]
add edx, 1
mov esi, dword [esp + 0x90]
mov dword [esp + 0x7c], edx
cmp ecx, esi
ja 0x407280
jmp 0x4072f2
mov ax, 0x1fa4
cmp ax, word [esp + 0x82]
jbe 0x4075a7
jmp 0x40751a
mov dword [esp + 0x30], 0
mov al, byte [esp + 0x1b]
sub al, 0x27
mov byte [esp + 0x9f], al
jmp 0x407175
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], eax
jmp 0x407175
mov eax, 0x1b8d1ec1
mov ecx, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
jmp 0x4070a0
movzx eax, word [esp + 0x5e]
add eax, 0x61
sub eax, 0x41
mov ecx, dword [esp + 0x28]
add ecx, ecx
mov dword [esp + 0x98], ecx
mov dx, ax
mov word [esp + 0x5e], dx
jmp 0x40751a
mov eax, dword [esp + 0x28]
mov dword [esp + 0x98], eax
cmp dword [ebp + 0xc], 0
jne 0x4072f2
mov al, 0x96
mov ecx, 0xffffffff
mov dword [esp + 0x30], ecx
mov dl, byte [esp + 0x1b]
sub al, dl
mov byte [esp + 0x9f], al
jmp 0x407175
call fcn.00406ec0
mov cl, 0xe
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x28]
or eax, 0x656b4181
mov edx, dword [esp + 0x74]
mov dword [esp + 0x98], eax
mov ch, byte [esp + 0x1b]
sub cl, ch
mov eax, dword [edx + 0xc]
add eax, 0x14
mov byte [esp + 0x9f], cl
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x28]
or eax, 0x66bb894b
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov si, word [esp + 0x9c]
mov word [esp + 0x9c], si
mov dword [esp + 0x98], 0x424511f
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x64]
jne 0x407431
jmp 0x407259
mov eax, dword [esp + 0x28]
not eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x20]
and edx, 0x537d1640
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], 0
mov si, word [esp + 0x9c]
or si, 0x9e63
mov word [esp + 0x9c], si
mov si, word [ecx + eax*2]
mov word [esp + 0x5e], si
mov bl, byte [esp + 0x1b]
mov byte [esp + 0x9f], bl
movzx eax, word [esp + 0x5e]
cmp eax, 0x41
jge 0x4075e7
jmp 0x40751a
mov eax, dword [esp + 0x48]
mov cx, word [esp + 0x9c]
xor cx, word [esp + 0x9c]
movzx eax, word [eax + 0x2c]
mov word [esp + 0x9c], cx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
mov word [esp + 0x9c], 0x2b73
mov eax, dword [eax + 0x30]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp + 0xc]
je 0x4071bd
jmp 0x4075b7
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x7f2c7ed2
mov ecx, dword [esp + 0x20]
and ecx, 0x2c71e15f
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], 0
add eax, 0xfffffff8
mov dword [esp + 0x48], eax
sub esi, 0x6b49eca
sbb edx, 0
mov word [esp + 0x9c], 0xddff
mov dword [esp + 8], esi
mov dword [esp + 4], edx
jb 0x4071cc
jmp 0x4073e0
mov eax, 0x1aa0d318
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x20]
or ecx, 0x178a11ae
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x58], 0x229f835c
mov word [esp + 0x9c], 0xbdac
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x94], ecx
cmp eax, esi
ja 0x4071cc
jmp 0x407370
mov eax, dword [esp + 0x60]
mov cl, byte [esp + 0x1b]
or cl, 0x84
mov byte [esp + 0x9f], cl
cmp eax, dword [esp + 0x44]
jb 0x407496
jmp 0x407242
mov dword [esp + 0x34], 0
jmp 0x4070a0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x34]
mov word [esp + 0x9c], 0xf10f
mov edx, dword [esp + 0x20]
add edx, 0x343f6ad0
mov esi, dword [esp + 0x1c]
adc esi, 0
movzx eax, word [eax + ecx*2]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], esi
mov ecx, dword [esp + 0x20]
and ecx, 0x42c1c9d9
mov di, word [esp + 0x5e]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], 0
movzx ecx, di
cmp eax, ecx
sete bl
and bl, 1
movzx eax, bl
mov dword [esp + 0x84], eax
movzx eax, word [esp + 0x5e]
cmp eax, 0
je 0x4075fa
mov eax, dword [esp + 0x84]
mov byte [esp + 0x9f], 0x63
cmp eax, 0
je 0x4075fa
jmp 0x4071bb
cmp dword [esp + 0x84], 0
jne 0x4071cc
jmp 0x4075d8
mov al, 0x84
mov dword [esp + 0x84], 0
mov byte [esp + 0x4f], 0xb3
cmp al, byte [esp + 0x4f]
jb 0x40750d
jmp 0x4072d5
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
jmp 0x407352
movzx eax, word [esp + 0x5e]
cmp eax, 0x5a
jle 0x40729f
jmp 0x40751a
jmp 0x407242