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

Disassembly:
push ebx
push esi
sub esp, 0x134
mov eax, dword [esp + 0x144]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x124], eax
mov eax, dword [0x10063ca0]
mov dword [esp + 0x128], eax
mov eax, dword [0x10063c9c]
mov dword [esp + 0x12c], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x130], eax
mov ecx, dword [esp + 0x130]
mov eax, dword [esp + 0x128]
add eax, ecx
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x12c]
mov edx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x128]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x11a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x11b], al
mov cl, byte [esp + 0x11b]
mov al, byte [esp + 0x11a]
and al, cl
mov byte [esp + 0x119], al
mov al, byte [esp + 0x119]
mov dl, byte [esp + 0x11b]
mov cl, byte [esp + 0x11a]
xor cl, dl
or al, cl
mov byte [esp + 0x118], al
mov al, byte [esp + 0x118]
test al, 1
jne 0x1004044f
jmp 0x10040ff9
mov eax, dword [0x10063ca0]
mov dword [esp + 0x10c], eax
mov ecx, dword [0x10063c9c]
mov dword [esp + 0x110], ecx
sub eax, 0xaf501264
sub eax, 1
add eax, 0xaf501264
mov dword [esp + 0x114], eax
mov ecx, dword [esp + 0x114]
mov eax, dword [esp + 0x10c]
imul eax, ecx
and eax, 1
mov dword [esp + 0x108], eax
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x108]
cmp eax, 0
sete al
mov byte [esp + 0x102], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x103], cl
xor al, 0xff
mov byte [esp + 0x104], al
xor cl, 0xff
mov byte [esp + 0x105], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x106], cl
and al, 0
mov byte [esp + 0x107], al
mov al, byte [esp + 0x107]
mov ah, byte [esp + 0x106]
mov dl, byte [esp + 0x103]
mov ch, byte [esp + 0x105]
mov cl, byte [esp + 0x102]
and cl, ah
and ch, 0
mov byte [esp + 0xff], ch
and dl, ah
mov byte [esp + 0x100], dl
or al, cl
mov byte [esp + 0x101], al
mov cl, byte [esp + 0x106]
mov dl, byte [esp + 0x105]
mov al, byte [esp + 0x104]
mov ah, byte [esp + 0x101]
mov dh, byte [esp + 0x100]
mov ch, byte [esp + 0xff]
or ch, dh
xor ah, ch
mov byte [esp + 0xfd], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0xfe], al
mov cl, byte [esp + 0xfe]
mov al, byte [esp + 0xfd]
or al, cl
test al, 1
jne 0x1004058a
jmp 0x10040ff9
mov eax, dword [0x10063ca0]
mov dword [esp + 0xf0], eax
mov ecx, dword [0x10063c9c]
mov dword [esp + 0xf4], ecx
sub eax, 0x19a48696
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xf8]
sub eax, 1
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xec]
add edx, 0x19a48696
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xe8], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xe9], al
xor cl, 0xff
mov byte [esp + 0xea], cl
xor al, 0xff
mov byte [esp + 0xeb], al
mov al, byte [esp + 0xea]
mov cl, 1
xor cl, 0
mov byte [esp + 0xe6], cl
and al, 0
mov byte [esp + 0xe7], al
mov cl, byte [esp + 0xe6]
mov al, byte [esp + 0xe9]
mov dl, byte [esp + 0xeb]
mov ah, byte [esp + 0xe8]
and ah, cl
mov byte [esp + 0xe3], ah
and dl, 0
mov byte [esp + 0xe4], dl
and al, cl
mov byte [esp + 0xe5], al
mov dl, byte [esp + 0xe6]
mov ah, byte [esp + 0xeb]
mov cl, byte [esp + 0xea]
mov dh, byte [esp + 0xe5]
mov ch, byte [esp + 0xe4]
mov bl, byte [esp + 0xe3]
mov al, byte [esp + 0xe7]
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x100406b2
jmp 0x10040e69
mov eax, dword [esp + 0x120]
add eax, 0x11
mov dword [esp + 0xdc], eax
mov eax, dword [0x10062340]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xd8]
mov eax, dword [eax - 0x12600b6a]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xd4]
cmp eax, 1
sete al
mov byte [esp + 0xcb], al
mov eax, dword [0x10063ca0]
mov dword [esp + 0xcc], eax
mov eax, dword [0x10063c9c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
mov edx, ecx
add edx, 0x69bfba8
sub edx, 1
sub edx, 0x69bfba8
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0xca], al
mov al, byte [esp + 0xca]
test al, 1
jne 0x10040763
jmp 0x10040e69
mov cl, byte [esp + 0xcb]
xor eax, eax
test cl, 1
mov dword [esp + 0xc4], eax
jne 0x10040d1b
jmp 0x10040781
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xc0], eax
mov ecx, dword [0x10063ca0]
mov eax, dword [0x10063c9c]
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 cl, bl
xor cl, 0xff
mov ah, dh
xor ah, 0xff
mov dl, 1
xor dl, 1
mov al, cl
and al, 0xff
and bl, dl
mov ch, ah
and ch, 0xff
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x100407f0
jmp 0x10040ffe
mov ecx, dword [esp + 0x120]
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xdc]
mov dl, byte [edx + eax]
mov byte [esp + 0xbd], dl
mov esi, 0x11
xor edx, edx
div esi
mov al, byte [esp + 0xbd]
mov cl, byte [ecx + edx]
mov byte [esp + 0xbe], cl
xor al, 0xff
and al, 0x86
mov byte [esp + 0xbf], al
mov ecx, dword [esp + 0xc0]
mov dl, byte [esp + 0xbf]
mov bl, byte [esp + 0xbe]
mov bh, byte [esp + 0xbd]
mov al, 0xff
xor al, 0x86
and bh, al
mov dh, bl
xor dh, 0xff
and dh, 0x86
and bl, al
mov eax, dword [esp + 0x124]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
mov eax, dword [esp + 0xc0]
sub eax, 0xa47f9426
add eax, 1
add eax, 0xa47f9426
mov dword [esp + 0xa8], eax
cmp eax, 7
sete al
mov byte [esp + 0xaf], al
mov eax, dword [0x10063ca0]
mov dword [esp + 0xb0], eax
mov eax, dword [0x10063c9c]
mov dword [esp + 0xb4], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0xb8]
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xa2], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0xa3], dl
xor cl, 0xff
mov byte [esp + 0xa4], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0xa5], cl
and dl, 0
mov byte [esp + 0xa6], dl
and al, cl
mov byte [esp + 0xa7], al
mov cl, byte [esp + 0xa4]
mov al, byte [esp + 0xa3]
mov dh, byte [esp + 0xa7]
mov dl, byte [esp + 0xa6]
mov bl, byte [esp + 0xa5]
mov ch, byte [esp + 0xa2]
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0xa0], dl
or al, cl
mov byte [esp + 0xa1], al
mov al, byte [esp + 0xa0]
mov dl, byte [esp + 0xa5]
mov cl, byte [esp + 0xa1]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x10040996
jmp 0x10040ffe
mov eax, dword [esp + 0xa8]
mov cl, byte [esp + 0xaf]
test cl, 1
mov dword [esp + 0xc4], eax
jne 0x100409b9
jmp 0x10040781
mov eax, dword [0x10063ca0]
mov dword [esp + 0x94], eax
mov ecx, dword [0x10063c9c]
mov dword [esp + 0x98], ecx
add eax, 0x987173cd
sub eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x9c]
sub ecx, 0x987173cd
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x93], al
mov ah, byte [esp + 0x93]
mov ecx, dword [esp + 0x98]
cmp ecx, 0xa
setl dl
mov al, ah
xor al, 0xff
mov byte [esp + 0x8f], al
mov cl, dl
xor cl, 0xff
mov byte [esp + 0x90], cl
mov ch, 1
xor ch, 0
mov byte [esp + 0x91], ch
and al, 0
and ah, ch
and cl, 0
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x92], al
mov al, byte [esp + 0x92]
mov dl, byte [esp + 0x91]
mov ah, byte [esp + 0x90]
mov cl, byte [esp + 0x8f]
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x8e], al
mov al, byte [esp + 0x8e]
test al, 1
jne 0x10040a98
jmp 0x10040e44
mov eax, dword [0x10062340]
mov dword [eax - 0x12600b6a], 1
mov eax, dword [0x10063ca0]
mov ecx, dword [0x10063c9c]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x88], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x89], cl
xor al, 0xff
mov byte [esp + 0x8a], al
xor cl, 0xff
mov byte [esp + 0x8b], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x8c], cl
and al, 0
mov byte [esp + 0x8d], al
mov dl, byte [esp + 0x8d]
mov ch, byte [esp + 0x8c]
mov cl, byte [esp + 0x89]
mov al, byte [esp + 0x8b]
mov ah, byte [esp + 0x88]
and ah, ch
and al, 0
and cl, ch
or dl, ah
mov byte [esp + 0x86], dl
or al, cl
mov byte [esp + 0x87], al
mov cl, byte [esp + 0x8b]
mov al, byte [esp + 0x8a]
mov ah, byte [esp + 0x87]
mov dl, byte [esp + 0x86]
xor dl, ah
mov byte [esp + 0x84], dl
or al, cl
mov byte [esp + 0x85], al
mov al, byte [esp + 0x85]
xor al, 0xff
mov byte [esp + 0x83], al
mov al, byte [esp + 0x84]
mov cl, byte [esp + 0x83]
mov dl, byte [esp + 0x8c]
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x82], al
mov al, byte [esp + 0x82]
test al, 1
jne 0x10040bb3
jmp 0x10040e44
mov eax, dword [0x10063ca0]
mov ecx, dword [0x10063c9c]
mov edx, eax
add edx, 0x4427a8c6
sub edx, 1
sub edx, 0x4427a8c6
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x7f], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x80], cl
xor al, 0xff
mov byte [esp + 0x81], al
mov al, byte [esp + 0x7f]
mov dl, byte [esp + 0x81]
mov cl, byte [esp + 0x80]
xor cl, 0xff
mov byte [esp + 0x7b], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x7c], cl
and dl, 0
mov byte [esp + 0x7d], dl
and al, cl
mov byte [esp + 0x7e], al
mov cl, byte [esp + 0x7c]
mov al, byte [esp + 0x80]
mov dl, byte [esp + 0x7b]
and dl, 0
mov byte [esp + 0x79], dl
and al, cl
mov byte [esp + 0x7a], al
mov cl, byte [esp + 0x7c]
mov dl, byte [esp + 0x7b]
mov al, byte [esp + 0x81]
mov dh, byte [esp + 0x7a]
mov ch, byte [esp + 0x79]
mov bl, byte [esp + 0x7e]
mov ah, byte [esp + 0x7d]
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x77], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x78], al
mov cl, byte [esp + 0x78]
mov al, byte [esp + 0x77]
or al, cl
mov byte [esp + 0x76], al
mov al, byte [esp + 0x76]
test al, 1
jne 0x10040c95
jmp 0x10040ff4
mov eax, dword [0x10063ca0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [0x10063c9c]
mov dword [esp + 0x68], ecx
add eax, 0x4a6888e8
sub eax, 1
sub eax, 0x4a6888e8
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
imul eax, ecx
and eax, 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
cmp ecx, 0
sete cl
mov byte [esp + 0x62], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x63], al
mov cl, byte [esp + 0x63]
mov al, byte [esp + 0x62]
and al, cl
mov byte [esp + 0x61], al
mov al, byte [esp + 0x61]
mov dl, byte [esp + 0x63]
mov cl, byte [esp + 0x62]
xor cl, dl
or al, cl
test al, 1
jne 0x10040d16
jmp 0x10040ff4
jmp 0x10040d1b
mov eax, dword [0x10063ca0]
mov dword [esp + 0x58], eax
mov eax, dword [0x10063c9c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
add eax, 0x5f012880
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub ecx, 1
sub ecx, 0x5f012880
imul eax, ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl dl
mov al, ah
xor al, 0xff
mov byte [esp + 0x4c], al
mov cl, dl
xor cl, 0xff
mov byte [esp + 0x4d], cl
mov ch, 1
xor ch, 0
mov byte [esp + 0x4e], ch
and al, 0
and ah, ch
and cl, 0
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x4f], al
mov cl, byte [esp + 0x4d]
mov al, byte [esp + 0x4c]
or al, cl
mov byte [esp + 0x4b], al
mov al, byte [esp + 0x4f]
mov dl, byte [esp + 0x4e]
mov cl, byte [esp + 0x4b]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x10040dc7
jmp 0x10041082
mov eax, dword [0x10063ca0]
mov dword [esp + 0x44], eax
mov eax, dword [0x10063c9c]
mov dword [esp + 0x3c], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x36], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x37], al
mov dl, byte [esp + 0x37]
mov cl, byte [esp + 0x36]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x35], al
mov al, byte [esp + 0x35]
test al, 1
jne 0x10040e3b
jmp 0x10041082
add esp, 0x134
pop esi
pop ebx
ret
mov eax, dword [0x10062340]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
add eax, 0xed9ff496
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
jmp 0x10040a98
mov eax, dword [0x10063ca0]
mov dword [esp + 0x20], eax
mov ecx, dword [0x10063c9c]
mov dword [esp + 0x24], ecx
sub eax, 0xb709ce87
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub edx, 1
add edx, 0xb709ce87
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x1a], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x1b], dl
xor cl, 0xff
mov byte [esp + 0x1c], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x1d], cl
and dl, 0
mov byte [esp + 0x1e], dl
and al, cl
mov byte [esp + 0x1f], al
mov cl, byte [esp + 0x1c]
mov al, byte [esp + 0x1b]
mov dh, byte [esp + 0x1f]
mov dl, byte [esp + 0x1e]
mov bl, byte [esp + 0x1d]
mov ch, byte [esp + 0x1a]
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x18], dl
or al, cl
mov byte [esp + 0x19], al
mov al, byte [esp + 0x19]
xor al, 0xff
mov byte [esp + 0x17], al
mov al, byte [esp + 0x18]
mov cl, byte [esp + 0x17]
mov dl, byte [esp + 0x1d]
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x16], al
mov al, byte [esp + 0x16]
test al, 1
jne 0x10040f37
jmp 0x10041087
mov eax, dword [0x10062340]
mov ecx, dword [0x10063ca0]
mov eax, dword [0x10063c9c]
mov edx, ecx
add edx, 0x29a842ff
sub edx, 1
sub edx, 0x29a842ff
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x12], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x13], al
xor cl, 0xff
mov byte [esp + 0x14], cl
xor al, 0xff
mov byte [esp + 0x15], al
mov al, 1
xor al, 1
mov byte [esp + 0x11], al
mov al, byte [esp + 0x15]
mov dl, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
mov ah, byte [esp + 0x14]
and ah, 0xff
mov byte [esp + 0xe], ah
and cl, dl
mov byte [esp + 0xf], cl
and al, 0xff
mov byte [esp + 0x10], al
mov dl, byte [esp + 0x11]
mov ah, byte [esp + 0x15]
mov cl, byte [esp + 0x14]
mov ch, byte [esp + 0x10]
mov bl, byte [esp + 0xf]
mov al, byte [esp + 0xe]
mov dh, byte [esp + 0x13]
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0xd], al
mov al, byte [esp + 0xd]
test al, 1
jne 0x10040fef
jmp 0x10041087
jmp 0x100406b2
jmp 0x10040c95
jmp 0x1004044f
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xdc]
mov cl, byte [ecx + eax]
mov byte [esp + 0xb], cl
mov esi, 0x11
xor edx, edx
div esi
mov eax, dword [esp + 0x120]
mov al, byte [eax + edx]
mov byte [esp + 0xc], al
mov al, 0x92
add al, 0
sub al, cl
sub al, 0x92
mov cl, byte [esp + 0xc]
mov ah, byte [esp + 0xb]
mov dl, ah
xor dl, 0xff
and dl, 8
mov ch, 0xff
xor ch, 8
and ah, ch
mov al, cl
xor al, 0xff
and al, 8
and cl, ch
or dl, ah
mov byte [esp + 9], dl
or al, cl
mov byte [esp + 0xa], al
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x124]
mov dh, byte [esp + 0xa]
mov dl, byte [esp + 9]
xor dl, dh
mov byte [ecx + eax], dl
add eax, 0x3e47264b
jmp 0x100407f0
jmp 0x10040dc7
mov eax, dword [0x10062340]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xed9ff496
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x10040f37