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

Disassembly:
push ebx
push esi
sub esp, 0x168
mov eax, dword [esp + 0x178]
mov dword [esp + 0x15c], eax
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x160], ecx
add eax, 0x10
mov dword [esp + 0x164], eax
mov eax, dword [0x1005e354]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x158]
add eax, 0x7537c063
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x154]
mov eax, dword [eax]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x150]
cmp eax, 1
sete al
mov byte [esp + 0x14f], al
mov cl, byte [esp + 0x14f]
xor eax, eax
test cl, 1
mov dword [esp + 0x148], eax
jne 0x1003d03c
jmp 0x1003c96f
mov eax, dword [esp + 0x148]
mov dword [esp + 0x144], eax
mov ecx, dword [0x1005fc88]
mov eax, dword [0x1005fc84]
mov edx, ecx
add edx, 0x3576482c
sub edx, 1
sub edx, 0x3576482c
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
test al, 1
jne 0x1003c9c0
jmp 0x1003d7ff
mov eax, dword [0x1005fc88]
mov dword [esp + 0x138], eax
mov ecx, dword [0x1005fc84]
mov dword [esp + 0x13c], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x140], eax
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x138]
imul eax, ecx
mov dword [esp + 0x134], eax
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0x134]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x131], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x132], cl
xor al, 0xff
mov byte [esp + 0x133], al
mov cl, byte [esp + 0x133]
mov dh, byte [esp + 0x132]
mov bl, byte [esp + 0x131]
mov ah, dh
xor ah, 0xff
mov dl, 1
xor dl, 0
mov al, cl
and al, 0
and bl, dl
mov ch, ah
and ch, 0
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x130], al
mov al, byte [esp + 0x130]
test al, 1
jne 0x1003ca8c
jmp 0x1003d7ff
mov eax, dword [0x1005fc88]
mov dword [esp + 0x128], eax
mov eax, dword [0x1005fc84]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
mov edx, ecx
sub edx, 0x82fd3f92
sub edx, 1
add edx, 0x82fd3f92
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete dh
cmp eax, 0xa
setl ch
mov al, dh
xor al, 0xff
mov cl, ch
xor cl, 0xff
mov bl, 1
xor bl, 0
mov byte [esp + 0x125], bl
mov dl, al
and dl, 0
and dh, bl
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x126], dl
or al, cl
mov byte [esp + 0x127], al
mov al, byte [esp + 0x127]
xor al, 0xff
mov byte [esp + 0x124], al
mov al, byte [esp + 0x124]
mov cl, byte [esp + 0x125]
or cl, 0
and al, cl
mov byte [esp + 0x123], al
mov cl, byte [esp + 0x123]
mov al, byte [esp + 0x126]
or al, cl
mov byte [esp + 0x122], al
mov al, byte [esp + 0x122]
test al, 1
jne 0x1003cb63
jmp 0x1003d311
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x164]
add eax, ecx
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x11c]
mov al, byte [eax]
mov byte [esp + 0x11b], al
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x144]
and ecx, 0xf
mov al, byte [eax + ecx]
mov byte [esp + 0x11a], al
mov dl, byte [esp + 0x11a]
mov ah, byte [esp + 0x11b]
mov al, ah
xor al, 0xff
and al, 0xdc
mov ch, 0xff
xor ch, 0xdc
and ah, ch
mov cl, dl
xor cl, 0xff
and cl, 0xdc
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x119], al
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x160]
mov dl, byte [esp + 0x119]
mov byte [ecx + eax], dl
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 1
add ecx, eax
xor eax, eax
sub eax, ecx
mov dword [esp + 0x10c], eax
cmp eax, 0x16
sete al
mov byte [esp + 0x112], al
mov eax, dword [0x1005fc88]
mov ecx, dword [0x1005fc84]
mov edx, eax
sub edx, 0xc72a3ed6
sub edx, 1
add edx, 0xc72a3ed6
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x113], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x114], dl
xor cl, 0xff
mov byte [esp + 0x115], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x116], cl
and dl, 0
mov byte [esp + 0x117], dl
and al, cl
mov byte [esp + 0x118], al
mov dl, byte [esp + 0x116]
mov ah, byte [esp + 0x115]
mov cl, byte [esp + 0x114]
mov bl, byte [esp + 0x118]
mov al, byte [esp + 0x117]
mov dh, byte [esp + 0x113]
mov ch, ah
and ch, 0
and dh, dl
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 0x1003cccc
jmp 0x1003d311
mov eax, dword [0x1005fc88]
mov dword [esp + 0x100], eax
mov ecx, dword [0x1005fc84]
mov dword [esp + 0x104], ecx
add eax, 0x940006a8
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x108]
sub eax, 1
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0xfc]
sub ecx, 0x940006a8
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xfb], al
mov al, byte [esp + 0xfb]
mov ecx, dword [esp + 0x104]
cmp ecx, 0xa
setl cl
mov byte [esp + 0xf9], cl
xor al, 0xff
mov byte [esp + 0xfa], al
mov al, byte [esp + 0xfa]
mov dh, byte [esp + 0xf9]
mov bl, byte [esp + 0xfb]
mov dl, dh
xor dl, 0xff
mov cl, 1
xor cl, 0
mov ah, al
and ah, 0
and bl, cl
mov ch, dl
and ch, 0
and dh, cl
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0xf7], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0xf8], al
mov cl, byte [esp + 0xf8]
mov al, byte [esp + 0xf7]
or al, cl
test al, 1
jne 0x1003cdb4
jmp 0x1003d640
mov eax, dword [0x1005fc88]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xf0]
mov ecx, dword [0x1005fc84]
mov dword [esp + 0xe8], ecx
add eax, 0xf869cc3
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xec]
sub edx, 1
sub edx, 0xf869cc3
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xe4], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xe5], al
xor cl, 0xff
mov byte [esp + 0xe6], cl
xor al, 0xff
mov byte [esp + 0xe7], al
mov al, byte [esp + 0xe6]
mov cl, 1
xor cl, 0
mov byte [esp + 0xe2], cl
and al, 0
mov byte [esp + 0xe3], al
mov al, byte [esp + 0xe7]
mov dl, byte [esp + 0xe2]
mov cl, byte [esp + 0xe4]
and cl, dl
mov byte [esp + 0xe0], cl
and al, 0
mov byte [esp + 0xe1], al
mov dl, byte [esp + 0xe2]
mov ah, byte [esp + 0xe7]
mov cl, byte [esp + 0xe6]
mov ch, byte [esp + 0xe1]
mov bl, byte [esp + 0xe0]
mov al, byte [esp + 0xe3]
mov dh, byte [esp + 0xe5]
and dh, dl
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 0x1003cec6
jmp 0x1003d640
mov eax, dword [esp + 0x10c]
mov cl, byte [esp + 0x112]
test cl, 1
mov dword [esp + 0x148], eax
jne 0x1003cee9
jmp 0x1003c96f
mov eax, dword [0x1005fc88]
mov ecx, dword [0x1005fc84]
mov dword [esp + 0xd8], ecx
mov ecx, eax
sub ecx, 0xa6743bc9
sub ecx, 1
add ecx, 0xa6743bc9
imul eax, ecx
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xd6], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xd7], al
mov cl, byte [esp + 0xd7]
mov al, byte [esp + 0xd6]
and al, cl
mov byte [esp + 0xd5], al
mov cl, byte [esp + 0xd7]
mov al, byte [esp + 0xd6]
xor al, cl
mov byte [esp + 0xd4], al
mov cl, byte [esp + 0xd4]
mov al, byte [esp + 0xd5]
or al, cl
mov byte [esp + 0xd3], al
mov al, byte [esp + 0xd3]
test al, 1
jne 0x1003cf9a
jmp 0x1003d645
mov eax, dword [0x1005e354]
add eax, 0x7537c063
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xcc]
mov dword [eax], 1
mov eax, dword [0x1005fc88]
mov ecx, dword [0x1005fc84]
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 + 0xc9], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xca], cl
and al, cl
mov byte [esp + 0xcb], al
mov cl, byte [esp + 0xca]
mov al, byte [esp + 0xc9]
xor al, cl
mov byte [esp + 0xc8], al
mov cl, byte [esp + 0xc8]
mov al, byte [esp + 0xcb]
or al, cl
mov byte [esp + 0xc7], al
mov al, byte [esp + 0xc7]
test al, 1
jne 0x1003d037
jmp 0x1003d645
jmp 0x1003d03c
mov eax, dword [0x1005fc88]
mov dword [esp + 0xb8], eax
mov ecx, dword [0x1005fc84]
mov dword [esp + 0xbc], ecx
add eax, 0x51cab7ee
sub eax, 1
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc0]
sub eax, 0x51cab7ee
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
imul eax, ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb0]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xaf], al
mov cl, byte [esp + 0xaf]
mov eax, dword [esp + 0xbc]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0xae], al
mov al, byte [esp + 0xae]
test al, 1
jne 0x1003d0dd
jmp 0x1003d66a
mov eax, dword [0x1005fc88]
mov dword [esp + 0xa0], eax
mov eax, dword [0x1005fc84]
mov dword [esp + 0xa4], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x9c]
cmp eax, 0
sete al
mov byte [esp + 0x99], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x9a], cl
and al, cl
mov byte [esp + 0x9b], al
mov cl, byte [esp + 0x9a]
mov al, byte [esp + 0x99]
xor al, cl
mov byte [esp + 0x98], al
mov cl, byte [esp + 0x98]
mov al, byte [esp + 0x9b]
or al, cl
mov byte [esp + 0x97], al
mov al, byte [esp + 0x97]
test al, 1
jne 0x1003d193
jmp 0x1003d66a
mov eax, dword [0x1005fc88]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
mov ecx, dword [0x1005fc84]
mov dword [esp + 0x88], ecx
sub eax, 0xff135048
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x8c]
sub eax, 1
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x84]
add edx, 0xff135048
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x82], dl
xor al, cl
mov byte [esp + 0x83], al
mov cl, byte [esp + 0x83]
mov al, byte [esp + 0x82]
or al, cl
mov byte [esp + 0x81], al
mov al, byte [esp + 0x81]
test al, 1
jne 0x1003d23c
jmp 0x1003d63b
mov eax, dword [0x1005fc88]
mov ecx, dword [0x1005fc84]
mov dword [esp + 0x7c], ecx
mov ecx, eax
sub ecx, 0x41eab9ea
sub ecx, 1
add ecx, 0x41eab9ea
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x80], al
mov eax, dword [esp + 0x7c]
cmp eax, 0xa
setl al
mov byte [esp + 0x7b], al
mov cl, byte [esp + 0x7b]
mov al, byte [esp + 0x80]
xor al, 0xff
mov byte [esp + 0x77], al
xor cl, 0xff
mov byte [esp + 0x78], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x79], cl
and al, 0xff
mov byte [esp + 0x7a], al
mov al, byte [esp + 0x78]
mov dl, byte [esp + 0x79]
mov cl, byte [esp + 0x80]
and cl, dl
mov byte [esp + 0x75], cl
and al, 0xff
mov byte [esp + 0x76], al
mov cl, byte [esp + 0x76]
mov ah, byte [esp + 0x75]
mov al, byte [esp + 0x7a]
mov ch, byte [esp + 0x79]
mov dl, byte [esp + 0x7b]
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x74], al
mov al, byte [esp + 0x74]
mov dl, byte [esp + 0x79]
mov ah, byte [esp + 0x78]
mov cl, byte [esp + 0x77]
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003d308
jmp 0x1003d63b
add esp, 0x168
pop esi
pop ebx
ret
mov eax, dword [0x1005fc88]
mov dword [esp + 0x68], eax
mov ecx, dword [0x1005fc84]
mov dword [esp + 0x6c], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x67], al
mov al, byte [esp + 0x67]
mov ecx, dword [esp + 0x6c]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x62], cl
xor al, 0xff
mov byte [esp + 0x63], al
xor cl, 0xff
mov byte [esp + 0x64], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x65], cl
and al, 0xff
mov byte [esp + 0x66], al
mov cl, byte [esp + 0x65]
mov al, byte [esp + 0x67]
and al, cl
mov byte [esp + 0x61], al
mov dl, byte [esp + 0x65]
mov ah, byte [esp + 0x64]
mov cl, byte [esp + 0x63]
mov bl, byte [esp + 0x61]
mov al, byte [esp + 0x66]
mov dh, byte [esp + 0x62]
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
mov byte [esp + 0x60], al
mov al, byte [esp + 0x60]
test al, 1
jne 0x1003d3c9
jmp 0x1003d804
mov eax, dword [0x1005fc88]
mov dword [esp + 0x58], eax
mov eax, dword [0x1005fc84]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x53], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x54], al
xor cl, 0xff
mov byte [esp + 0x55], cl
xor al, 0xff
mov byte [esp + 0x56], al
mov al, 1
xor al, 1
mov byte [esp + 0x57], al
mov cl, byte [esp + 0x57]
mov al, byte [esp + 0x53]
mov dl, byte [esp + 0x55]
and dl, 0xff
mov byte [esp + 0x51], dl
and al, cl
mov byte [esp + 0x52], al
mov cl, byte [esp + 0x56]
mov al, byte [esp + 0x55]
mov dh, byte [esp + 0x52]
mov dl, byte [esp + 0x51]
mov bl, byte [esp + 0x57]
mov ch, byte [esp + 0x54]
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x4f], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x50], al
mov al, byte [esp + 0x4f]
mov cl, byte [esp + 0x50]
mov dl, byte [esp + 0x57]
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x4e], al
mov al, byte [esp + 0x4e]
test al, 1
jne 0x1003d48d
jmp 0x1003d804
mov eax, dword [0x1005fc88]
mov ecx, dword [0x1005fc84]
mov dword [esp + 0x44], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cmp ecx, 0
sete cl
mov byte [esp + 0x40], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x41], al
xor cl, 0xff
mov byte [esp + 0x42], cl
xor al, 0xff
mov byte [esp + 0x43], al
mov al, byte [esp + 0x40]
mov dl, byte [esp + 0x42]
mov cl, 1
xor cl, 1
mov byte [esp + 0x3d], cl
and dl, 0xff
mov byte [esp + 0x3e], dl
and al, cl
mov byte [esp + 0x3f], al
mov cl, byte [esp + 0x3d]
mov al, byte [esp + 0x41]
mov dl, byte [esp + 0x43]
and dl, 0xff
mov byte [esp + 0x3b], dl
and al, cl
mov byte [esp + 0x3c], al
mov cl, byte [esp + 0x3d]
mov dl, byte [esp + 0x43]
mov al, byte [esp + 0x42]
mov dh, byte [esp + 0x3c]
mov ch, byte [esp + 0x3b]
mov bl, byte [esp + 0x3f]
mov ah, byte [esp + 0x3e]
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x39], ah
or al, dl
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0x3a], al
mov cl, byte [esp + 0x3a]
mov al, byte [esp + 0x39]
or al, cl
test al, 1
jne 0x1003d559
jmp 0x1003d75d
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x164]
mov al, byte [eax + ecx]
mov byte [esp + 0x38], al
xor eax, eax
sub eax, 0x95650a6e
sub eax, ecx
add eax, 0x95650a6e
mov cl, byte [esp + 0x38]
mov eax, dword [esp + 0x15c]
mov edx, dword [esp + 0x144]
and edx, 0xf
mov al, byte [eax + edx]
mov byte [esp + 0x37], al
xor eax, eax
sub al, cl
add al, 0
mov ecx, dword [esp + 0x144]
mov bl, byte [esp + 0x37]
mov bh, byte [esp + 0x38]
mov dl, bh
xor dl, 0xff
and dl, 0x67
mov al, 0xff
xor al, 0x67
and bh, al
mov dh, bl
xor dh, 0xff
and dh, 0x67
and bl, al
mov eax, dword [esp + 0x160]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
mov ecx, dword [0x1005fc88]
mov eax, dword [0x1005fc84]
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, 0
mov al, cl
and al, 0
and bl, dl
mov ch, ah
and ch, 0
and dh, dl
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 0x1003d636
jmp 0x1003d75d
jmp 0x1003cb63
jmp 0x1003d23c
jmp 0x1003cdb4
mov eax, dword [0x1005e354]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
add eax, 0x7537c063
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
jmp 0x1003cf9a
mov eax, dword [0x1005fc88]
mov dword [esp + 0x20], eax
mov ecx, dword [0x1005fc84]
mov dword [esp + 0x24], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
imul eax, ecx
and eax, 1
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, 0
sete al
mov byte [esp + 0x19], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x1a], cl
and al, cl
mov byte [esp + 0x1b], al
mov cl, byte [esp + 0x1a]
mov al, byte [esp + 0x19]
xor al, cl
mov byte [esp + 0x18], al
mov cl, byte [esp + 0x18]
mov al, byte [esp + 0x1b]
or al, cl
mov byte [esp + 0x17], al
mov al, byte [esp + 0x17]
test al, 1
jne 0x1003d6e9
jmp 0x1003d809
mov eax, dword [0x1005fc88]
mov dword [esp + 8], eax
mov ecx, dword [0x1005fc84]
mov dword [esp + 0xc], ecx
sub eax, 0x85adfa0b
sub eax, 1
add eax, 0x85adfa0b
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 7], al
mov eax, dword [esp + 0xc]
cmp eax, 0xa
setl al
mov byte [esp + 6], al
mov dl, byte [esp + 6]
mov cl, byte [esp + 7]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 5], al
mov al, byte [esp + 5]
test al, 1
jne 0x1003d758
jmp 0x1003d809
jmp 0x1003d0dd
mov eax, dword [esp + 0x15c]
mov edx, dword [esp + 0x144]
mov ecx, dword [esp + 0x164]
mov cl, byte [ecx + edx]
mov byte [esp + 3], cl
and edx, 0xf
mov al, byte [eax + edx]
mov byte [esp + 4], al
xor eax, eax
sub al, cl
add al, 0
mov cl, byte [esp + 4]
mov al, byte [esp + 3]
sub al, 0x53
sub al, cl
add al, 0x53
mov al, byte [esp + 4]
mov cl, byte [esp + 3]
add cl, 0xaa
sub cl, al
sub cl, 0xaa
xor eax, eax
sub al, cl
mov cl, byte [esp + 3]
xor eax, eax
sub al, 0xd7
sub al, cl
add al, 0xd7
mov ecx, dword [esp + 0x144]
mov bl, byte [esp + 4]
mov bh, byte [esp + 3]
mov dl, bh
xor dl, 0xff
and dl, 0xae
mov al, 0xff
xor al, 0xae
and bh, al
mov dh, bl
xor dh, 0xff
and dh, 0xae
and bl, al
mov eax, dword [esp + 0x160]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
xor eax, eax
sub eax, ecx
add eax, 0
sub eax, 0xf9a8d414
jmp 0x1003d559
jmp 0x1003c9c0
jmp 0x1003d3c9
jmp 0x1003d6e9