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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x88
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
call fcn.00413b80
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0xe16e09f0
mov eax, dword [ebp - 0x50]
mov ecx, eax
sub ecx, 0x973baec8
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
jg 0x40989a
jmp 0x409884
mov eax, dword [ebp - 0x54]
sub eax, 0x861fe14d
mov dword [ebp - 0x5c], eax
je 0x409a8e
jmp 0x4099c4
mov eax, dword [ebp - 0x54]
sub eax, 0xb58ca594
mov dword [ebp - 0x60], eax
jg 0x4098c6
jmp 0x4098b0
mov eax, dword [ebp - 0x54]
sub eax, 0x973baec9
mov dword [ebp - 0x64], eax
je 0x409b03
jmp 0x4099c4
mov eax, dword [ebp - 0x54]
sub eax, 0xe09ea855
mov dword [ebp - 0x68], eax
jg 0x4098f2
jmp 0x4098dc
mov eax, dword [ebp - 0x54]
sub eax, 0xb58ca595
mov dword [ebp - 0x6c], eax
je 0x409b44
jmp 0x4099c4
mov eax, dword [ebp - 0x54]
sub eax, 0xf07c6442
mov dword [ebp - 0x70], eax
jg 0x4099ab
jmp 0x409908
mov eax, dword [ebp - 0x54]
sub eax, 0xe9f5c87b
mov dword [ebp - 0x74], eax
jg 0x409992
jmp 0x40991e
mov eax, dword [ebp - 0x54]
sub eax, 0xe73d5783
mov dword [ebp - 0x78], eax
jg 0x409979
jmp 0x409934
mov eax, dword [ebp - 0x54]
sub eax, 0xe09ea856
mov dword [ebp - 0x7c], eax
je 0x409a24
jmp 0x40994a
mov eax, dword [ebp - 0x54]
sub eax, 0xe12db471
mov dword [ebp - 0x80], eax
je 0x409ae1
jmp 0x409960
mov eax, dword [ebp - 0x54]
sub eax, 0xe16e09f0
mov dword [ebp - 0x84], eax
je 0x4099c9
jmp 0x4099c4
mov eax, dword [ebp - 0x54]
sub eax, 0xe73d5784
mov dword [ebp - 0x88], eax
je 0x409b0f
jmp 0x4099c4
mov eax, dword [ebp - 0x54]
sub eax, 0xe9f5c87c
mov dword [ebp - 0x8c], eax
je 0x409b36
jmp 0x4099c4
mov eax, dword [ebp - 0x54]
sub eax, 0xf07c6443
mov dword [ebp - 0x90], eax
je 0x409aa9
jmp 0x4099c4
jmp 0x409b4b
mov eax, 0xb58ca595
mov ecx, 0xe09ea856
mov edx, dword [0x4ef484]
mov esi, dword [0x4ef480]
mov edi, edx
sub edi, 0x6516c149
sub edi, 1
add edi, 0x6516c149
imul edx, edi
and edx, 1
cmp edx, 0
sete bl
cmp esi, 0xa
setl bh
mov dl, bl
and dl, bh
xor bl, bh
or dl, bl
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x409b4b
mov eax, 0xb58ca595
mov ecx, 0x861fe14d
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x44]
setb bl
and bl, 1
mov byte [ebp - 0xd], bl
mov edx, dword [0x4ef484]
mov esi, dword [0x4ef480]
mov edi, edx
sub edi, 0x900cb62f
sub edi, 1
add edi, 0x900cb62f
imul edx, edi
and edx, 1
cmp edx, 0
sete bl
cmp esi, 0xa
setl bh
mov dl, bl
and dl, bh
xor bl, bh
or dl, bl
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x409b4b
mov eax, 0xe9f5c87c
mov ecx, 0xf07c6443
mov dl, byte [ebp - 0xd]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x50], eax
jmp 0x409b4b
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x30]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.00409200
mov ecx, 0x973baec9
mov edx, 0xe12db471
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x18]
cmove ecx, edx
mov dword [ebp - 0x50], ecx
jmp 0x409b4b
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x34]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x50], 0xe9f5c87c
jmp 0x409b4b
mov dword [ebp - 0x50], 0xe73d5784
jmp 0x409b4b
mov eax, 0
mov ecx, dword [ebp - 0x4c]
mov edx, eax
sub edx, ecx
mov ecx, eax
sub ecx, 1
add edx, ecx
sub eax, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0xe16e09f0
jmp 0x409b4b
mov eax, dword [ebp - 0x14]
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x50], 0xe09ea856
jmp 0x409868