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

Disassembly:
push ebx
push esi
sub esp, 0x17c
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x16c], eax
mov eax, dword [0x10066c18]
mov dword [esp + 0x170], eax
mov ecx, dword [0x10066c14]
mov dword [esp + 0x174], ecx
sub eax, 0x647484a7
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x178]
sub eax, 1
add eax, 0x647484a7
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x174]
mov edx, dword [esp + 0x164]
mov ecx, dword [esp + 0x170]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x15f], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x160], al
xor cl, 0xff
mov byte [esp + 0x161], cl
xor al, 0xff
mov byte [esp + 0x162], al
mov al, 1
xor al, 0
mov byte [esp + 0x163], al
mov ch, byte [esp + 0x163]
mov cl, byte [esp + 0x160]
mov al, byte [esp + 0x162]
mov ah, byte [esp + 0x15f]
mov dl, byte [esp + 0x161]
and dl, 0
and ah, ch
and al, 0
and cl, ch
or dl, ah
mov byte [esp + 0x15d], dl
or al, cl
mov byte [esp + 0x15e], al
mov cl, byte [esp + 0x162]
mov al, byte [esp + 0x161]
mov ah, byte [esp + 0x15e]
mov dl, byte [esp + 0x15d]
xor dl, ah
mov byte [esp + 0x15b], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x15c], al
mov al, byte [esp + 0x15b]
mov cl, byte [esp + 0x15c]
mov dl, byte [esp + 0x163]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1004a4b9
jmp 0x1004aeaf
mov eax, dword [0x10066c18]
mov dword [esp + 0x150], eax
mov eax, dword [0x10066c14]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x150]
sub eax, 0xf9617e6a
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x14c]
sub ecx, 1
add ecx, 0xf9617e6a
imul eax, ecx
mov dword [esp + 0x148], eax
mov ecx, dword [esp + 0x154]
mov eax, dword [esp + 0x148]
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x146], dl
xor al, cl
mov byte [esp + 0x147], al
mov cl, byte [esp + 0x147]
mov al, byte [esp + 0x146]
or al, cl
mov byte [esp + 0x145], al
mov al, byte [esp + 0x145]
test al, 1
jne 0x1004a561
jmp 0x1004b01b
mov eax, dword [esp + 0x168]
add eax, 0x11
mov dword [esp + 0x130], eax
mov eax, dword [0x10065388]
cmp dword [eax - 0x2ecf4bb6], 1
sete al
mov byte [esp + 0x137], al
mov eax, dword [0x10066c18]
mov dword [esp + 0x138], eax
mov ecx, dword [0x10066c14]
mov dword [esp + 0x13c], ecx
sub eax, 0xab18c995
sub eax, 1
add eax, 0xab18c995
mov dword [esp + 0x140], eax
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x138]
imul eax, ecx
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x12c]
and eax, 1
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x128]
cmp ecx, 0
sete cl
mov byte [esp + 0x126], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x127], al
mov cl, byte [esp + 0x127]
mov al, byte [esp + 0x126]
mov dl, al
and dl, cl
mov byte [esp + 0x124], dl
xor al, cl
mov byte [esp + 0x125], al
mov cl, byte [esp + 0x125]
mov al, byte [esp + 0x124]
or al, cl
test al, 1
jne 0x1004a645
jmp 0x1004b01b
mov eax, dword [0x10066c18]
mov dword [esp + 0x120], eax
mov ecx, dword [esp + 0x120]
mov eax, dword [0x10066c14]
mov edx, ecx
sub edx, 0x77a93e9b
sub edx, 1
add edx, 0x77a93e9b
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x11e], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x11f], al
mov al, byte [esp + 0x11f]
mov cl, byte [esp + 0x11e]
xor cl, 0xff
mov byte [esp + 0x11c], cl
xor al, 0xff
mov byte [esp + 0x11d], al
mov al, byte [esp + 0x11c]
mov cl, 1
xor cl, 0
mov byte [esp + 0x11a], cl
and al, 0
mov byte [esp + 0x11b], al
mov al, byte [esp + 0x11d]
mov dl, byte [esp + 0x11a]
mov cl, byte [esp + 0x11e]
and cl, dl
mov byte [esp + 0x118], cl
and al, 0
mov byte [esp + 0x119], al
mov dl, byte [esp + 0x11a]
mov ah, byte [esp + 0x11d]
mov cl, byte [esp + 0x11c]
mov ch, byte [esp + 0x119]
mov bl, byte [esp + 0x118]
mov al, byte [esp + 0x11b]
mov dh, byte [esp + 0x11f]
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 0x1004a744
jmp 0x1004aeaf
mov eax, dword [0x10066c18]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x114]
mov ecx, dword [0x10066c14]
mov dword [esp + 0x10c], ecx
sub eax, 0x6c7bd7cc
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x110]
sub eax, 1
add eax, 0x6c7bd7cc
mov dword [esp + 0x108], eax
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x114]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x107], al
mov cl, byte [esp + 0x107]
mov eax, dword [esp + 0x10c]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x106], al
mov al, byte [esp + 0x106]
test al, 1
jne 0x1004a7de
jmp 0x1004b03c
mov eax, dword [0x10066c18]
mov dword [esp + 0x100], eax
mov eax, dword [0x10066c14]
mov dword [esp + 0xf8], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xfc], eax
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x100]
add eax, ecx
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0xf4]
mov ecx, dword [esp + 0x100]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xf2], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xf3], al
mov cl, byte [esp + 0xf3]
mov al, byte [esp + 0xf2]
and al, cl
mov byte [esp + 0xf1], al
mov al, byte [esp + 0xf1]
mov dl, byte [esp + 0xf3]
mov cl, byte [esp + 0xf2]
xor cl, dl
or al, cl
test al, 1
jne 0x1004a88b
jmp 0x1004b03c
mov eax, dword [0x10066c18]
mov dword [esp + 0xe8], eax
mov eax, dword [0x10066c14]
mov dword [esp + 0xec], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xe3], al
mov al, byte [esp + 0xe3]
mov ecx, dword [esp + 0xec]
cmp ecx, 0xa
setl cl
mov byte [esp + 0xdd], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0xde], dl
xor cl, 0xff
mov byte [esp + 0xdf], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0xe0], cl
and dl, 0
mov byte [esp + 0xe1], dl
and al, cl
mov byte [esp + 0xe2], al
mov cl, byte [esp + 0xe0]
mov dl, byte [esp + 0xdf]
mov al, byte [esp + 0xde]
mov bl, byte [esp + 0xe2]
mov ah, byte [esp + 0xe1]
mov dh, byte [esp + 0xdd]
mov ch, dl
and ch, 0
and dh, cl
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0xdb], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0xdc], al
mov cl, byte [esp + 0xdc]
mov al, byte [esp + 0xdb]
or al, cl
test al, 1
jne 0x1004a98f
jmp 0x1004b1be
mov eax, dword [0x10066c18]
mov dword [esp + 0xd0], eax
mov eax, dword [0x10066c14]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xd0]
mov ecx, eax
add ecx, 0xb3f93bd4
sub ecx, 1
sub ecx, 0xb3f93bd4
imul eax, ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xcc]
and eax, 1
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0xc8]
cmp eax, 0
sete al
mov byte [esp + 0xc5], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xc6], cl
and al, cl
mov byte [esp + 0xc7], al
mov al, byte [esp + 0xc7]
mov dl, byte [esp + 0xc6]
mov cl, byte [esp + 0xc5]
xor cl, dl
or al, cl
mov byte [esp + 0xc4], al
mov al, byte [esp + 0xc4]
test al, 1
jne 0x1004aa3f
jmp 0x1004b1be
mov cl, byte [esp + 0x137]
xor eax, eax
test cl, 1
mov dword [esp + 0xc0], eax
jne 0x1004ac39
jmp 0x1004aa5d
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xbc], eax
mov ecx, dword [0x10066c18]
mov eax, dword [0x10066c14]
mov edx, ecx
add edx, 0xf147991
sub edx, 1
sub edx, 0xf147991
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 0x1004aaae
jmp 0x1004b1c3
mov ecx, dword [esp + 0x168]
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0x130]
mov dl, byte [edx + eax]
mov byte [esp + 0xb9], dl
mov esi, 0x11
xor edx, edx
div esi
mov ah, byte [esp + 0xb9]
mov cl, byte [ecx + edx]
mov dl, ah
xor dl, 0xff
and dl, 0x20
mov ch, 0xff
xor ch, 0x20
and ah, ch
mov al, cl
xor al, 0xff
and al, 0x20
and cl, ch
or dl, ah
mov byte [esp + 0xba], dl
or al, cl
mov byte [esp + 0xbb], al
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x16c]
mov dh, byte [esp + 0xbb]
mov dl, byte [esp + 0xba]
xor dl, dh
mov byte [ecx + eax], dl
sub eax, 0xccb23a3c
add eax, 1
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb4]
add eax, 0xccb23a3c
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb0]
cmp eax, 6
sete al
mov byte [esp + 0xaf], al
mov ecx, dword [0x10066c18]
mov eax, dword [0x10066c14]
mov edx, ecx
add edx, 0x26dbdb62
sub edx, 1
sub edx, 0x26dbdb62
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xad], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xae], al
mov dh, byte [esp + 0xae]
mov bl, byte [esp + 0xad]
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 0x1004abe5
jmp 0x1004b1c3
mov eax, dword [esp + 0xb0]
mov cl, byte [esp + 0xaf]
test cl, 1
mov dword [esp + 0xc0], eax
jne 0x1004ac08
jmp 0x1004aa5d
mov eax, dword [0x10065388]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa8]
add eax, 0xd130b44a
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa4]
mov dword [eax], 1
jmp 0x1004ac39
mov eax, dword [0x10066c18]
mov dword [esp + 0xa0], eax
mov eax, dword [0x10066c14]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa0]
add eax, 0xf8d40b6f
sub eax, 1
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
sub ecx, 0xf8d40b6f
imul eax, ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
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 + 0x93], al
mov al, byte [esp + 0x93]
test al, 1
jne 0x1004acc5
jmp 0x1004aed0
mov eax, dword [0x10066c18]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [0x10066c14]
mov dword [esp + 0x84], ecx
sub eax, 0x5a9d1fc5
sub eax, 1
add eax, 0x5a9d1fc5
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
imul eax, ecx
and eax, 1
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
cmp eax, 0
sete al
mov byte [esp + 0x7f], al
mov al, byte [esp + 0x7f]
mov ecx, dword [esp + 0x84]
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x7d], dl
xor al, cl
mov byte [esp + 0x7e], al
mov cl, byte [esp + 0x7e]
mov al, byte [esp + 0x7d]
or al, cl
test al, 1
jne 0x1004ad5b
jmp 0x1004aed0
mov eax, dword [0x10066c18]
mov ecx, dword [0x10066c14]
mov dword [esp + 0x74], ecx
mov ecx, eax
sub ecx, 0x2649faca
sub ecx, 1
add ecx, 0x2649faca
imul eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
and eax, 1
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
cmp eax, 0
sete al
mov byte [esp + 0x6f], al
mov al, byte [esp + 0x6f]
mov ecx, dword [esp + 0x74]
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x6d], dl
xor al, cl
mov byte [esp + 0x6e], al
mov cl, byte [esp + 0x6e]
mov al, byte [esp + 0x6d]
or al, cl
mov byte [esp + 0x6c], al
mov al, byte [esp + 0x6c]
test al, 1
jne 0x1004add6
jmp 0x1004b26e
mov ecx, dword [0x10066c18]
mov eax, dword [0x10066c14]
mov edx, ecx
add edx, 0xcb49023c
sub edx, 1
sub edx, 0xcb49023c
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x68], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x69], al
xor cl, 0xff
mov byte [esp + 0x6a], cl
xor al, 0xff
mov byte [esp + 0x6b], al
mov al, byte [esp + 0x69]
mov dl, byte [esp + 0x6b]
mov ah, byte [esp + 0x68]
mov ch, byte [esp + 0x6a]
mov cl, 1
xor cl, 1
mov byte [esp + 0x63], cl
and ch, 0xff
mov byte [esp + 0x64], ch
and ah, cl
mov byte [esp + 0x65], ah
and dl, 0xff
mov byte [esp + 0x66], dl
and al, cl
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x6b]
mov al, byte [esp + 0x6a]
mov ch, byte [esp + 0x67]
mov ah, byte [esp + 0x66]
mov dh, byte [esp + 0x65]
mov dl, byte [esp + 0x64]
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x61], dl
or al, cl
mov byte [esp + 0x62], al
mov cl, byte [esp + 0x63]
mov al, byte [esp + 0x62]
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0x60], al
mov cl, byte [esp + 0x60]
mov al, byte [esp + 0x61]
or al, cl
mov byte [esp + 0x5f], al
mov al, byte [esp + 0x5f]
test al, 1
jne 0x1004aea6
jmp 0x1004b26e
add esp, 0x17c
pop esi
pop ebx
ret
mov eax, dword [0x10065388]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
add eax, 0xd130b44a
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
jmp 0x1004a4b9
mov eax, dword [0x10066c18]
mov dword [esp + 0x4c], eax
mov eax, dword [0x10066c14]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
add eax, 0x92b072fe
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
sub eax, 1
sub eax, 0x92b072fe
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x41], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x42], cl
and al, cl
mov byte [esp + 0x43], al
mov al, byte [esp + 0x43]
mov dl, byte [esp + 0x42]
mov cl, byte [esp + 0x41]
xor cl, dl
or al, cl
mov byte [esp + 0x40], al
mov al, byte [esp + 0x40]
test al, 1
jne 0x1004af50
jmp 0x1004b273
mov ecx, dword [0x10066c18]
mov eax, dword [0x10066c14]
mov edx, ecx
sub edx, 0x8535812e
sub edx, 1
add edx, 0x8535812e
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x3c], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x3d], al
xor cl, 0xff
mov byte [esp + 0x3e], cl
xor al, 0xff
mov byte [esp + 0x3f], al
mov al, byte [esp + 0x3e]
mov cl, 1
xor cl, 0
mov byte [esp + 0x3a], cl
and al, 0
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3f]
mov dl, byte [esp + 0x3a]
mov cl, byte [esp + 0x3c]
and cl, dl
mov byte [esp + 0x38], cl
and al, 0
mov byte [esp + 0x39], al
mov cl, byte [esp + 0x3f]
mov al, byte [esp + 0x3e]
mov ah, byte [esp + 0x39]
mov dh, byte [esp + 0x38]
mov dl, byte [esp + 0x3b]
mov bl, byte [esp + 0x3a]
mov ch, byte [esp + 0x3d]
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x36], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x37], al
mov al, byte [esp + 0x37]
mov cl, byte [esp + 0x3a]
or cl, 0
and al, cl
mov byte [esp + 0x35], al
mov cl, byte [esp + 0x35]
mov al, byte [esp + 0x36]
or al, cl
test al, 1
jne 0x1004b016
jmp 0x1004b273
jmp 0x1004acc5
mov eax, dword [0x10065388]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
add eax, 0xd130b44a
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
jmp 0x1004a561
mov eax, dword [0x10066c18]
mov dword [esp + 0x24], eax
mov eax, dword [0x10066c14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
add eax, 0x9c597bb4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub ecx, 1
sub ecx, 0x9c597bb4
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x1f], al
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x28]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x1d], cl
xor al, 0xff
mov byte [esp + 0x1e], al
mov dl, byte [esp + 0x1d]
mov ah, byte [esp + 0x1f]
mov al, byte [esp + 0x1e]
mov cl, dl
xor cl, 0xff
mov byte [esp + 0x1a], cl
mov ch, 1
xor ch, 1
mov byte [esp + 0x1b], ch
and al, 0xff
and ah, ch
and cl, 0xff
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x1c], al
mov al, byte [esp + 0x1c]
mov dl, byte [esp + 0x1b]
mov ah, byte [esp + 0x1a]
mov cl, byte [esp + 0x1e]
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1004b0ee
jmp 0x1004b278
mov eax, dword [0x10066c18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [0x10066c14]
mov edx, eax
add edx, 0xc70485a8
sub edx, 1
sub edx, 0xc70485a8
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xe], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0xf], dl
xor cl, 0xff
mov byte [esp + 0x10], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x11], cl
and dl, 0xff
mov byte [esp + 0x12], dl
and al, cl
mov byte [esp + 0x13], al
mov cl, byte [esp + 0x11]
mov al, byte [esp + 0xe]
mov dl, byte [esp + 0x10]
and dl, 0xff
mov byte [esp + 0xc], dl
and al, cl
mov byte [esp + 0xd], al
mov cl, byte [esp + 0x10]
mov al, byte [esp + 0xf]
mov ch, byte [esp + 0xd]
mov ah, byte [esp + 0xc]
mov dh, byte [esp + 0x13]
mov dl, byte [esp + 0x12]
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0xa], dl
or al, cl
xor al, 0xff
mov byte [esp + 0xb], al
mov al, byte [esp + 0xb]
mov cl, byte [esp + 0x11]
or cl, 1
and al, cl
mov byte [esp + 9], al
mov cl, byte [esp + 9]
mov al, byte [esp + 0xa]
or al, cl
test al, 1
jne 0x1004b1b9
jmp 0x1004b278
jmp 0x1004a7de
jmp 0x1004a98f
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0xbc]
mov al, byte [eax + ecx]
mov byte [esp + 8], al
mov eax, dword [esp + 0xbc]
mov ecx, 0x11
xor edx, edx
div ecx
mov eax, dword [esp + 0x168]
mov al, byte [eax + edx]
mov byte [esp + 7], al
xor eax, eax
add al, 0
mov al, byte [esp + 8]
xor al, 0xff
mov byte [esp + 6], al
mov al, byte [esp + 7]
mov cl, byte [esp + 8]
mov dl, byte [esp + 6]
and dl, 0x55
mov byte [esp + 2], dl
mov dl, 0xff
xor dl, 0x55
mov byte [esp + 3], dl
and cl, dl
mov byte [esp + 4], cl
xor al, 0xff
and al, 0x55
mov byte [esp + 5], al
mov ecx, dword [esp + 0xbc]
mov dh, byte [esp + 5]
mov bh, byte [esp + 4]
mov dl, byte [esp + 2]
mov al, byte [esp + 3]
mov bl, byte [esp + 7]
and bl, al
mov eax, dword [esp + 0x16c]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
xor eax, eax
sub eax, 0xe8978aeb
sub eax, ecx
add eax, 0xe8978aeb
jmp 0x1004aaae
jmp 0x1004add6
jmp 0x1004af50
jmp 0x1004b0ee