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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov esi, ecx
xor esi, 0x20147234
mov dword [esp + 0x90], esi
mov byte [esp + 0x8b], 0
mov dword [esp + 0x80], 0x31050bc4
mov byte [esp + 0x5f], 0x13
mov di, word [esp + 0x88]
mov esi, dword [ebp + 8]
mov ebx, esp
mov dword [ebx], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov word [esp + 0x1e], di
call fcn.00401000
mov ecx, dword [esp + 0x8c]
mov byte [esp + 0x1d], al
mov dword [esp + 0x18], ecx
call fcn.00408000
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov word [esp + 0x88], 0x9233
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x90], edx
mov esi, esp
mov dword [esi], eax
call fcn.00408b80
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
add eax, 0x18
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x60]
mov edx, dword [esp + 0x38]
mov esi, edx
add esi, ecx
mov dword [esp + 0x60], esi
mov byte [esp + 0x87], 0
mov eax, dword [eax + 0x64]
mov dword [esp + 0x44], eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x20]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], ecx
mov esi, dword [esp + 0x60]
mov ebx, dword [esi + 0x20]
add edx, ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
mov ebx, 0x10531c7e
mov eax, ecx
mov dword [esp + 0x14], edx
mul ebx
mov ebx, dword [esp + 0x20]
imul ecx, ebx, 0x10531c7e
add edx, ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
mov word [esp + 0x88], 0xfb62
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x24]
xor ecx, 0xc4892b
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x14]
add ecx, eax
mov eax, 0x4950c438
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, edx
mov esi, dword [esp + 0x10]
mul esi
imul esi, ebx, 0x4950c438
add edx, esi
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], 0
jmp 0x4076a5
mov eax, dword [esp + 0x70]
mov cl, 0x2d
mov dl, byte [esp + 0x1d]
mov dword [esp + 0xc], eax
mov al, dl
mul cl
mov byte [esp + 0x87], al
mov esi, dword [esp + 0xc]
cmp esi, 0xffffffff
je 0x4077e3
jmp 0x407636
mov eax, dword [esp + 0x2c]
mov cx, word [esp + 0x1e]
sub cx, 0x648c
mov word [esp + 0x88], cx
cmp eax, 0
je 0x4077fd
jmp 0x4077b8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x7f], 0x4a
mov edx, dword [esp + 0x24]
xor edx, 0x22e623f8
add ecx, eax
mov bl, byte [esp + 0x7f]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov byte [esp + 0xb], bl
call fcn.00401000
mov bl, byte [esp + 0xb]
cmp bl, 0xb6
mov byte [esp + 0xa], al
jbe 0x4077bd
jmp 0x4077ff
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + 0x1c]
add eax, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov ecx, dword [esp + 0x70]
mov byte [esp + 0x87], 0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov dl, byte [esp + 0x1d]
or dl, 0x2f
mov byte [esp + 0x87], dl
add eax, dword [esp + 0x40]
mov word [esp + 0x88], 0x301d
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
jmp 0x40772d
mov ax, 0xf576
mov word [esp + 0x7c], 0xb747
mov cl, byte [esp + 0x1d]
and cl, 0x7b
mov dx, word [esp + 0x7c]
mov byte [esp + 0x87], cl
mov esi, dword [esp + 0x68]
mov dword [esp + 0x34], esi
mov di, word [esp + 0x1e]
xor di, 0xffff
mov word [esp + 0x88], di
cmp ax, dx
jbe 0x40772d
jmp 0x4078bb
mov eax, dword [esp + 0x18]
or eax, 0x28c4d0b5
mov cl, byte [esp + 0x8b]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x8c], eax
xor cl, 0xd3
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x54], edx
cmp cl, byte [esp + 0x5f]
jb 0x4075ce
jmp 0x40781a
mov eax, 0x78d1c0a7
sub eax, dword [esp + 0x80]
mov cl, byte [esp + 0x1d]
add cl, cl
mov byte [esp + 0x87], cl
mov dword [esp + 0x6c], 0x1bd0720f
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x18]
xor esi, 0xffffffff
mov dword [esp + 0x8c], esi
cmp edx, eax
ja 0x4077b8
jmp 0x4077d7
mov eax, 0x31050bc4
mov ecx, dword [esp + 0x78]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x90], esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x94], edi
sub eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x18]
add ebx, ebx
mov cl, byte [edx + ecx]
mov dword [esp + 0x8c], ebx
movsx edx, cl
cmp edx, eax
je 0x4077fd
jmp 0x4075aa
cmp dword [esp + 0x2c], 0
jne 0x4078e5
jmp 0x4077ca
jmp 0x40789e
mov dword [esp + 0x78], 0
jmp 0x4076e6
mov eax, dword [esp + 0x74]
add eax, 2
mov dword [esp + 0x74], eax
jmp 0x4077ff
mov eax, dword [esp + 0x48]
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ax, word [esp + 0x1e]
mov word [esp + 0x88], ax
mov dword [esp + 0x48], 0
jmp 0x40772d
jmp 0x4077ab
mov eax, dword [esp + 0x68]
mov dword [esp + 0x8c], 0x530e60ed
add eax, 1
mov dword [esp + 0x68], eax
jmp 0x4076a5
cmp dword [esp + 0x54], 0x20
jae 0x4077ab
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x50]
mov dl, byte [ecx + eax]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], ecx
mov esi, dword [esp + 0x78]
mov edi, dword [ebp + 8]
mov dh, byte [edi + esi]
movsx esi, dl
movsx edi, dh
cmp esi, edi
sete dl
and dl, 1
movzx esi, dl
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x8c], 0x43f73880
mov dl, byte [edi + esi]
mov esi, dword [esp + 0x80]
xor esi, 0x31050bc4
movsx edi, dl
mov word [esp + 0x88], 0xd3e2
cmp edi, esi
je 0x4077fd
jmp 0x407766
mov eax, dword [esp + 0x78]
add eax, 1
mov cl, byte [esp + 0x1d]
xor cl, cl
mov byte [esp + 0x87], cl
mov dword [esp + 0x78], eax
jmp 0x4076e6
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x60]
add eax, eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [ecx + 0x18]
jb 0x4075ce
jmp 0x40757f
mov ax, word [esp + 0x1e]
add ax, 0x7dec
mov word [esp + 0x88], ax
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x18]
or edx, 0x3d55bd2
mov ax, word [ecx]
mov dword [esp + 0x8c], edx
movzx ecx, ax
mov dword [esp + 0x70], ecx
jmp 0x40757f