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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x70
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [0x43a080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x43b58c]
mov eax, dword [0x43b588]
mov edx, ecx
sub edx, 0x9c75805b
sub edx, 1
add edx, 0x9c75805b
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x62], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x61], al
mov dword [ebp - 0x68], 0xf4c16c80
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
sub eax, 0x82e5aae2
je 0x40b5eb
jmp 0x40b054
mov eax, dword [ebp - 0x74]
sub eax, 0x93d38415
je 0x40b76e
jmp 0x40b067
mov eax, dword [ebp - 0x74]
sub eax, 0x988646c8
je 0x40b978
jmp 0x40b07a
mov eax, dword [ebp - 0x74]
sub eax, 0x99cd61be
je 0x40b75a
jmp 0x40b08d
mov eax, dword [ebp - 0x74]
sub eax, 0x9aef9dc3
je 0x40ba5f
jmp 0x40b0a0
mov eax, dword [ebp - 0x74]
sub eax, 0xa1df0ea3
je 0x40b33e
jmp 0x40b0b3
mov eax, dword [ebp - 0x74]
sub eax, 0xaa514477
je 0x40b9f4
jmp 0x40b0c6
mov eax, dword [ebp - 0x74]
sub eax, 0xb0b864e4
je 0x40b4bf
jmp 0x40b0d9
mov eax, dword [ebp - 0x74]
sub eax, 0xb4166c1e
je 0x40b90d
jmp 0x40b0ec
mov eax, dword [ebp - 0x74]
sub eax, 0xc14d4a1d
je 0x40b66a
jmp 0x40b0ff
mov eax, dword [ebp - 0x74]
sub eax, 0xc9048f16
je 0x40b6e1
jmp 0x40b112
mov eax, dword [ebp - 0x74]
sub eax, 0xca3ec04e
je 0x40b3d8
jmp 0x40b125
mov eax, dword [ebp - 0x74]
sub eax, 0xd5210238
je 0x40b72d
jmp 0x40b138
mov eax, dword [ebp - 0x74]
sub eax, 0xd707f078
je 0x40b5f7
jmp 0x40b14b
mov eax, dword [ebp - 0x74]
sub eax, 0xe24b9438
je 0x40b9da
jmp 0x40b15e
mov eax, dword [ebp - 0x74]
sub eax, 0xe9ffa3fb
je 0x40b477
jmp 0x40b171
mov eax, dword [ebp - 0x74]
sub eax, 0xeac2809a
je 0x40b6f5
jmp 0x40b184
mov eax, dword [ebp - 0x74]
sub eax, 0xf4c16c80
je 0x40b318
jmp 0x40b197
mov eax, dword [ebp - 0x74]
sub eax, 0x1c159f2
je 0x40b42e
jmp 0x40b1aa
mov eax, dword [ebp - 0x74]
sub eax, 0x5ca5646
je 0x40ba74
jmp 0x40b1bd
mov eax, dword [ebp - 0x74]
sub eax, 0x10ce2528
je 0x40b6c6
jmp 0x40b1d0
mov eax, dword [ebp - 0x74]
sub eax, 0x1db351a1
je 0x40b721
jmp 0x40b1e3
mov eax, dword [ebp - 0x74]
sub eax, 0x1eb494fb
je 0x40b82b
jmp 0x40b1f6
mov eax, dword [ebp - 0x74]
sub eax, 0x20ed26c6
je 0x40ba44
jmp 0x40b209
mov eax, dword [ebp - 0x74]
sub eax, 0x2250dced
je 0x40b89e
jmp 0x40b21c
mov eax, dword [ebp - 0x74]
sub eax, 0x2308e1a8
je 0x40b739
jmp 0x40b22f
mov eax, dword [ebp - 0x74]
sub eax, 0x2bb9bb48
je 0x40b3e4
jmp 0x40b242
mov eax, dword [ebp - 0x74]
sub eax, 0x3651c991
je 0x40b7b4
jmp 0x40b255
mov eax, dword [ebp - 0x74]
sub eax, 0x3b918c3f
je 0x40ba53
jmp 0x40b268
mov eax, dword [ebp - 0x74]
sub eax, 0x42945a6d
je 0x40b901
jmp 0x40b27b
mov eax, dword [ebp - 0x74]
sub eax, 0x47769f0f
je 0x40ba11
jmp 0x40b28e
mov eax, dword [ebp - 0x74]
sub eax, 0x60d3868f
je 0x40b8f5
jmp 0x40b2a1
mov eax, dword [ebp - 0x74]
sub eax, 0x613f810a
je 0x40b49f
jmp 0x40b2b4
mov eax, dword [ebp - 0x74]
sub eax, 0x617ab365
je 0x40b54e
jmp 0x40b2c7
mov eax, dword [ebp - 0x74]
sub eax, 0x68a1adea
je 0x40b9ce
jmp 0x40b2da
mov eax, dword [ebp - 0x74]
sub eax, 0x6de2564f
je 0x40b48b
jmp 0x40b2ed
mov eax, dword [ebp - 0x74]
sub eax, 0x732d1d5d
je 0x40b81f
jmp 0x40b300
mov eax, dword [ebp - 0x74]
sub eax, 0x7c6444ee
je 0x40b4db
jmp 0x40b313
jmp 0x40ba7e
mov al, byte [ebp - 0x62]
mov cl, byte [ebp - 0x61]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xaa514477
mov ecx, 0xa1df0ea3
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
push eax
mov eax, esp
mov dword [ebp - 0x60], eax
push eax
mov eax, esp
mov dword [ebp - 0x5c], eax
push eax
mov eax, esp
mov dword [ebp - 0x58], eax
push eax
mov eax, esp
mov dword [ebp - 0x54], eax
push eax
mov eax, esp
mov dword [ebp - 0x50], eax
push eax
mov eax, esp
mov dword [ebp - 0x4c], eax
push eax
mov eax, esp
mov dword [ebp - 0x48], eax
push eax
mov eax, esp
mov dword [ebp - 0x44], eax
push eax
mov eax, esp
mov dword [ebp - 0x40], eax
push eax
mov eax, esp
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
mov dword [eax], edx
mov eax, dword [ebp - 0x58]
mov dword [eax], ecx
mov eax, dword [0x43b58c]
mov ecx, dword [0x43b588]
mov edx, eax
add edx, 0xdbe43f60
sub edx, 1
sub edx, 0xdbe43f60
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xaa514477
mov ecx, 0xca3ec04e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov dword [ebp - 0x68], 0x2bb9bb48
jmp 0x40ba7e
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
add ecx, dword [eax + 0x78]
mov eax, dword [ebp - 0x4c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x68], 0x1c159f2
jmp 0x40ba7e
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x38]
add ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
mov dword [ebp - 0x68], 0xe9ffa3fb
jmp 0x40ba7e
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x68], 0x6de2564f
jmp 0x40ba7e
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x68], 0x613f810a
jmp 0x40ba7e
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + 0x18]
mov edx, dword [ebp - 0x30]
mov eax, 0x1eb494fb
mov ecx, 0xb0b864e4
cmp edx, esi
cmovb eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x68], 0x7c6444ee
jmp 0x40ba7e
mov ecx, dword [0x43b58c]
mov eax, dword [0x43b588]
mov edx, ecx
add edx, 0x82d684e6
sub edx, 1
sub edx, 0x82d684e6
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x47769f0f
mov ecx, 0x617ab365
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx*4]
mov edx, dword [ebp - 0x28]
add edx, eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
sub esp, 8
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.004284b0
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [0x43b58c]
mov eax, dword [0x43b588]
mov edx, ecx
add edx, 0x89e71272
sub edx, 1
sub edx, 0x89e71272
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x47769f0f
mov ecx, 0x82e5aae2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov dword [ebp - 0x68], 0xd707f078
jmp 0x40ba7e
mov ecx, dword [0x43b58c]
mov eax, dword [0x43b588]
mov edx, ecx
add edx, 0x728afbff
sub edx, 1
sub edx, 0x728afbff
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x20ed26c6
mov ecx, 0xc14d4a1d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov eax, dword [ebp - 0x20]
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 0x19], al
mov eax, dword [0x43b58c]
mov ecx, dword [0x43b588]
mov edx, eax
add edx, 0x47b72650
sub edx, 1
sub edx, 0x47b72650
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x20ed26c6
mov ecx, 0x10ce2528
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov dl, byte [ebp - 0x19]
mov eax, 0xd5210238
mov ecx, 0xc9048f16
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x68], 0xeac2809a
jmp 0x40ba7e
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
movzx ecx, word [ecx + edx*2]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov eax, dword [ebp - 0x60]
mov dword [eax], ecx
mov dword [ebp - 0x68], 0x1db351a1
jmp 0x40ba7e
mov dword [ebp - 0x68], 0xb4166c1e
jmp 0x40ba7e
mov dword [ebp - 0x68], 0x2308e1a8
jmp 0x40ba7e
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
sub eax, 0xb0a3e363
add eax, 1
add eax, 0xb0a3e363
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x68], 0x99cd61be
jmp 0x40ba7e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [ebp - 0x68], 0x93d38415
jmp 0x40ba7e
mov eax, dword [0x43b58c]
mov ecx, dword [0x43b588]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x3b918c3f
mov ecx, 0x3651c991
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov ecx, dword [0x43b58c]
mov eax, dword [0x43b588]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x3b918c3f
mov ecx, 0x732d1d5d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov dword [ebp - 0x68], 0xe9ffa3fb
jmp 0x40ba7e
mov ecx, dword [0x43b58c]
mov eax, dword [0x43b588]
mov edx, ecx
add edx, 0xde241a17
sub edx, 1
sub edx, 0xde241a17
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x9aef9dc3
mov ecx, 0x2250dced
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov eax, dword [ebp - 0x60]
mov dword [eax], 0
mov eax, dword [0x43b58c]
mov ecx, dword [0x43b588]
mov edx, eax
sub edx, 0x1a55b922
sub edx, 1
add edx, 0x1a55b922
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x9aef9dc3
mov ecx, 0x60d3868f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov dword [ebp - 0x68], 0x42945a6d
jmp 0x40ba7e
mov dword [ebp - 0x68], 0xb4166c1e
jmp 0x40ba7e
mov ecx, dword [0x43b58c]
mov eax, dword [0x43b588]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x5ca5646
mov ecx, 0x988646c8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x43b58c]
mov ecx, dword [0x43b588]
mov edx, eax
sub edx, 0x9e7946c8
sub edx, 1
add edx, 0x9e7946c8
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x5ca5646
mov ecx, 0x68a1adea
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x40ba7e
mov dword [ebp - 0x68], 0xe24b9438
jmp 0x40ba7e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00423ec0
mov eax, dword [ebp - 0x78]
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x70]
push eax
push eax
mov edx, esp
push eax
mov eax, esp
mov dword [edx], esi
mov dword [eax], ecx
mov dword [ebp - 0x68], 0xa1df0ea3
jmp 0x40ba7e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx*4]
mov edx, dword [ebp - 0x28]
add edx, eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
sub esp, 8
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.004284b0
add esp, 8
mov dword [ebp - 0x68], 0x617ab365
jmp 0x40ba7e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], 0xc14d4a1d
jmp 0x40ba7e
mov dword [ebp - 0x68], 0x3651c991
jmp 0x40ba7e
mov eax, dword [ebp - 0x60]
mov dword [eax], 0
mov dword [ebp - 0x68], 0x2250dced
jmp 0x40ba7e
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], 0x988646c8
jmp 0x40b03e