Function at 0x407150
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 + 8]
mov word [esp + 0xa2], 0xf640
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov esi, ecx
and esi, 0x20704ac
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0x5cb749e6
movzx esi, word [esp + 0xa2]
mov di, si
mov ebx, 0xffffb381
sub ebx, esi
mov word [esp + 0x86], bx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x30], eax
mov eax, esp
mov dword [eax], ebx
mov word [esp + 0x2e], di
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
call fcn.00401000
mov byte [esp + 0x1f], al
call fcn.00407e40
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov ecx, esp
mov dword [ecx], eax
call fcn.00408c60
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
add eax, eax
mov ecx, dword [esp + 0x24]
adc ecx, ecx
mov edx, dword [esp + 0x54]
add edx, 0x18
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x30]
or eax, 0x4766b85f
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x60]
add eax, edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
add eax, 0x2df7
mov di, ax
mov word [esp + 0xaa], di
mov eax, dword [ecx + 0x64]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x50]
mov cl, byte [esp + 0x1f]
or cl, 0x14
mov byte [esp + 0xa9], cl
mov edx, dword [esp + 0x6c]
add eax, dword [edx + 0x20]
mov dword [esp + 0x4c], eax
mov cl, byte [esp + 0x1f]
or cl, cl
mov byte [esp + 0xa9], cl
mov eax, dword [esp + 0x50]
mov cl, byte [esp + 0x1f]
mov dword [esp + 0x18], eax
mov al, cl
mul cl
mov byte [esp + 0xa9], al
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x18]
add esi, dword [edx + 0x24]
mov dword [esp + 0x64], esi
mov dword [esp + 0x88], 0
jmp 0x4074bc
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
or ecx, 0x411659fe
mov edx, dword [esp + 0x24]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], ecx
cmp eax, 0x20
jb 0x407438
jmp 0x40751d
mov eax, dword [esp + 0x28]
add eax, 0x259f42fe
mov ecx, dword [esp + 0x24]
adc ecx, 0
mov edx, dword [esp + 0x50]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov bl, byte [esp + 0x1f]
add bl, 0xb3
mov byte [esp + 0xa9], bl
mov eax, dword [esp + 0x4c]
mov si, word [esp + 0x2e]
xor si, 0x1382
mov word [esp + 0xaa], si
mov ecx, dword [esp + 0x88]
add edx, dword [eax + ecx*4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00401000
mov dword [esp + 0x68], 0
mov si, word [esp + 0x2e]
xor si, 0xd1c9
mov word [esp + 0xaa], si
mov byte [esp + 0x17], al
jmp 0x4072ed
mov ax, word [esp + 0x86]
mov ecx, dword [esp + 0x68]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x30]
sub esi, 0x729aa988
mov di, word [esp + 0xa2]
xor di, 0x98b0
mov dword [esp + 0xa4], esi
mov bl, byte [edx + ecx]
mov byte [esp + 0x43], bl
mov si, word [esp + 0x2e]
add si, 0x9fe6
mov word [esp + 0xaa], si
cmp di, ax
jb 0x4074e2
jmp 0x4074bc
mov eax, dword [esp + 0x30]
imul eax, eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x68]
inc eax
mov ecx, dword [esp + 0x28]
or ecx, 0x47493d22
mov edx, dword [esp + 0x24]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x68], eax
jmp 0x4072ed
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x68]
mov bl, byte [eax + edx]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x30]
and edx, 0x5802ee88
movsx eax, byte [eax + ecx]
movsx ecx, bl
mov dword [esp + 0xa4], edx
cmp eax, ecx
sete bl
and bl, 1
movzx eax, bl
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x68]
movsx eax, byte [eax + ecx]
mov dword [esp + 0xa4], 0x6cd6a7a5
cmp eax, 0
je 0x407629
jmp 0x4073ac
mov eax, dword [esp + 0x30]
and eax, 0x2e80f7fe
mov dword [esp + 0xa4], eax
cmp dword [esp + 0x48], 0xffffffff
je 0x40760b
jmp 0x407684
mov eax, dword [esp + 0x30]
add eax, 0x2f1c8fed
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x6c]
cmp ecx, dword [eax + 0x18]
jb 0x40731b
jmp 0x40749c
movsx eax, byte [esp + 0x43]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
cmp eax, 0
je 0x407629
jmp 0x407566
mov eax, dword [esp + 0x30]
or eax, 0x25dc1392
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x64]
add eax, 2
mov dword [esp + 0x64], eax
jmp 0x40765a
cmp dword [esp + 0x58], 0
jne 0x407532
jmp 0x4074fd
mov eax, dword [esp + 0x60]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, 0x106c30e0
mov edx, dword [esp + 0x28]
sub ecx, edx
mov esi, dword [esp + 0x24]
sbb eax, esi
mov edi, dword [esp + 0x64]
mov bx, word [edi]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
movzx eax, bx
mov dword [esp + 0x48], eax
jmp 0x40749c
mov eax, dword [esp + 0x58]
mov cx, word [esp + 0x2e]
mov word [esp + 0xaa], cx
mov dx, cx
mov dword [esp + 0x44], eax
mov eax, 0x2b2a5a44
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, esi
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc], edx
mul edi
mov ebx, dword [esp + 0x24]
imul esi, ebx, 0x2b2a5a44
add edx, esi
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
xor eax, eax
mov edx, 0xae0e5436
sub edx, esi
sbb eax, edi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0x256b4cca
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0xc]
or ebx, 0x3677
mov cx, bx
mov word [esp + 0xaa], cx
sub edx, edi
sbb eax, esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
jb 0x4072ed
jmp 0x407644
mov ax, word [esp + 0x2e]
sub ax, 0x32f
mov word [esp + 0xaa], ax
mov dword [esp + 0x60], 0
jmp 0x407526
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0x18ec30b3
jmp 0x40751d
mov eax, dword [esp + 0x44]
mov byte [esp + 0xa9], 0xb3
cmp eax, 0
je 0x407629
jmp 0x407400
mov eax, dword [esp + 0x88]
inc eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x98], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x88], eax
jmp 0x4074bc
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
xor ecx, 0x5ba17f7a
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ecx
add edx, dword [eax + 0x1c]
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov word [esp + 0xaa], 0xd6e0
add eax, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], eax
jmp 0x407526