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

Disassembly:
push ebx
push esi
sub esp, 0x114
mov eax, dword [esp + 0x124]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x108], eax
mov eax, dword [0x1006ac58]
mov dword [esp + 0x10c], eax
mov eax, dword [0x1006ac54]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x10c]
mov ecx, eax
add ecx, 0x471e1bae
sub ecx, 1
sub ecx, 0x471e1bae
imul eax, ecx
and eax, 1
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x100]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0xf9], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0xfa], ah
xor al, 0xff
mov byte [esp + 0xfb], al
mov dl, 1
xor dl, 0
mov byte [esp + 0xfc], dl
and ah, 0
mov byte [esp + 0xfd], ah
and cl, dl
mov byte [esp + 0xfe], cl
and al, 0
mov byte [esp + 0xff], al
mov cl, byte [esp + 0xfe]
mov al, byte [esp + 0xfd]
mov ah, byte [esp + 0xfc]
mov dl, byte [esp + 0xf9]
and dl, ah
mov byte [esp + 0xf7], dl
or al, cl
mov byte [esp + 0xf8], al
mov cl, byte [esp + 0xfc]
mov dl, byte [esp + 0xfb]
mov al, byte [esp + 0xfa]
mov ah, byte [esp + 0xf8]
mov dh, byte [esp + 0xf7]
mov ch, byte [esp + 0xff]
or ch, dh
xor ah, ch
mov byte [esp + 0xf5], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0xf6], al
mov cl, byte [esp + 0xf6]
mov al, byte [esp + 0xf5]
or al, cl
test al, 1
jne 0x1004c45f
jmp 0x1004c986
mov eax, dword [esp + 0x104]
add eax, 0x15
mov dword [esp + 0xe0], eax
mov eax, dword [0x1006936c]
cmp dword [eax - 0x2cb77ae4], 1
sete al
mov byte [esp + 0xe7], al
mov eax, dword [0x1006ac58]
mov dword [esp + 0xe8], eax
mov ecx, dword [0x1006ac54]
mov dword [esp + 0xec], ecx
add eax, 0x5d45028
sub eax, 1
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xf0]
sub ecx, 0x5d45028
imul eax, ecx
and eax, 1
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xdc]
cmp eax, 0
sete al
mov byte [esp + 0xdb], al
mov al, byte [esp + 0xdb]
mov ecx, dword [esp + 0xec]
cmp ecx, 0xa
setl cl
mov byte [esp + 0xd9], cl
xor al, 0xff
mov byte [esp + 0xda], al
mov cl, byte [esp + 0xda]
mov dh, byte [esp + 0xd9]
mov bl, byte [esp + 0xdb]
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
mov byte [esp + 0xd8], al
mov al, byte [esp + 0xd8]
test al, 1
jne 0x1004c560
jmp 0x1004c986
mov cl, byte [esp + 0xe7]
xor eax, eax
test cl, 1
mov dword [esp + 0xd4], eax
jne 0x1004c97d
jmp 0x1004c57e
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xd0], eax
mov ecx, dword [0x1006ac58]
mov eax, dword [0x1006ac54]
mov edx, ecx
sub edx, 0x346312bd
sub edx, 1
add edx, 0x346312bd
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 0x1004c5cf
jmp 0x1004cda9
mov eax, dword [0x1006ac58]
mov dword [esp + 0xc4], eax
mov ecx, dword [0x1006ac54]
mov dword [esp + 0xc8], ecx
sub eax, 0xfda4f256
sub eax, 1
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xcc]
add ecx, 0xfda4f256
imul eax, ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc0]
and eax, 1
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xbc]
cmp eax, 0
sete al
mov byte [esp + 0xb6], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xb7], cl
xor al, 0xff
mov byte [esp + 0xb8], al
xor cl, 0xff
mov byte [esp + 0xb9], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0xba], cl
and al, 0
mov byte [esp + 0xbb], al
mov al, byte [esp + 0xbb]
mov ah, byte [esp + 0xba]
mov dl, byte [esp + 0xb7]
mov ch, byte [esp + 0xb9]
mov cl, byte [esp + 0xb6]
and cl, ah
and ch, 0
mov byte [esp + 0xb3], ch
and dl, ah
mov byte [esp + 0xb4], dl
or al, cl
mov byte [esp + 0xb5], al
mov dl, byte [esp + 0xba]
mov ah, byte [esp + 0xb9]
mov cl, byte [esp + 0xb8]
mov al, byte [esp + 0xb5]
mov dh, byte [esp + 0xb4]
mov ch, byte [esp + 0xb3]
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 0x1004c6fe
jmp 0x1004cda9
mov eax, dword [0x1006ac58]
mov dword [esp + 0xa4], eax
mov ecx, dword [0x1006ac54]
mov dword [esp + 0xa8], ecx
add eax, 0xe6879284
sub eax, 1
sub eax, 0xe6879284
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa4]
imul eax, ecx
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x9a], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x9b], cl
xor al, 0xff
mov byte [esp + 0x9c], al
xor cl, 0xff
mov byte [esp + 0x9d], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x9e], cl
and al, 0xff
mov byte [esp + 0x9f], al
mov cl, byte [esp + 0x9e]
mov al, byte [esp + 0x9a]
and al, cl
mov byte [esp + 0x99], al
mov al, byte [esp + 0x9e]
mov dl, byte [esp + 0x9d]
mov cl, byte [esp + 0x9c]
mov bl, byte [esp + 0x99]
mov ah, byte [esp + 0x9f]
mov dh, byte [esp + 0x9b]
mov ch, dl
and ch, 0xff
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x96], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x97], cl
or al, 1
mov byte [esp + 0x98], al
mov al, byte [esp + 0x96]
mov dl, byte [esp + 0x98]
mov cl, byte [esp + 0x97]
and cl, dl
or al, cl
test al, 1
jne 0x1004c826
jmp 0x1004cc5a
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xe0]
mov cl, byte [ecx + eax]
mov byte [esp + 0x94], cl
mov ecx, 0x15
xor edx, edx
div ecx
mov eax, dword [esp + 0x104]
mov al, byte [eax + edx]
mov byte [esp + 0x95], al
mov al, byte [esp + 0x94]
xor al, 0xff
mov byte [esp + 0x93], al
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x108]
mov dh, byte [esp + 0x94]
mov bl, byte [esp + 0x95]
mov bh, byte [esp + 0x93]
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
sub eax, 0x6393542e
add eax, 1
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x8c]
add eax, 0x6393542e
mov dword [esp + 0x84], eax
cmp eax, 2
sete al
mov byte [esp + 0x89], al
mov ecx, dword [0x1006ac58]
mov eax, dword [0x1006ac54]
mov edx, ecx
sub edx, 0x3378daf5
sub edx, 1
add edx, 0x3378daf5
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x8a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x8b], al
mov dl, byte [esp + 0x8b]
mov cl, byte [esp + 0x8a]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x83], al
mov al, byte [esp + 0x83]
test al, 1
jne 0x1004c935
jmp 0x1004cc5a
mov eax, dword [esp + 0x84]
mov cl, byte [esp + 0x89]
test cl, 1
mov dword [esp + 0xd4], eax
jne 0x1004c958
jmp 0x1004c57e
mov eax, dword [0x1006936c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x7c]
add eax, 0xd348851c
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
mov dword [eax], 1
jmp 0x1004c97d
add esp, 0x114
pop esi
pop ebx
ret
mov eax, dword [0x1006ac58]
mov dword [esp + 0x6c], eax
mov ecx, dword [0x1006ac54]
mov dword [esp + 0x70], ecx
add eax, 0x18b6b872
sub eax, 1
sub eax, 0x18b6b872
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x6a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x6b], al
mov cl, byte [esp + 0x6b]
mov al, byte [esp + 0x6a]
xor al, 0xff
mov byte [esp + 0x66], al
xor cl, 0xff
mov byte [esp + 0x67], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x68], cl
and al, 0
mov byte [esp + 0x69], al
mov al, byte [esp + 0x69]
mov ah, byte [esp + 0x68]
mov dl, byte [esp + 0x6b]
mov ch, byte [esp + 0x67]
mov cl, byte [esp + 0x6a]
and cl, ah
and ch, 0
mov byte [esp + 0x63], ch
and dl, ah
mov byte [esp + 0x64], dl
or al, cl
mov byte [esp + 0x65], al
mov cl, byte [esp + 0x67]
mov al, byte [esp + 0x66]
mov dl, byte [esp + 0x65]
mov ch, byte [esp + 0x64]
mov ah, byte [esp + 0x63]
or ah, ch
xor dl, ah
mov byte [esp + 0x61], dl
or al, cl
mov byte [esp + 0x62], al
mov al, byte [esp + 0x61]
mov dl, byte [esp + 0x68]
mov cl, byte [esp + 0x62]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1004ca62
jmp 0x1004cdae
mov eax, dword [0x1006ac58]
mov dword [esp + 0x54], eax
mov ecx, dword [0x1006ac54]
mov dword [esp + 0x58], ecx
add eax, 0x6bdc82f6
sub eax, 1
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
sub edx, 0x6bdc82f6
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x51], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x52], cl
xor al, 0xff
mov byte [esp + 0x53], al
mov al, byte [esp + 0x53]
mov dh, byte [esp + 0x52]
mov bl, byte [esp + 0x51]
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 + 0x4f], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x50], al
mov cl, byte [esp + 0x50]
mov al, byte [esp + 0x4f]
or al, cl
mov byte [esp + 0x4e], al
mov al, byte [esp + 0x4e]
test al, 1
jne 0x1004cb0d
jmp 0x1004cdae
mov eax, dword [0x1006ac58]
mov dword [esp + 0x44], eax
mov eax, dword [0x1006ac54]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
sub eax, 0x8d4d6c50
sub eax, 1
add eax, 0x8d4d6c50
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x3f], al
mov al, byte [esp + 0x3f]
mov ecx, dword [esp + 0x48]
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x3d], dl
xor al, cl
mov byte [esp + 0x3e], al
mov cl, byte [esp + 0x3e]
mov al, byte [esp + 0x3d]
or al, cl
mov byte [esp + 0x3c], al
mov al, byte [esp + 0x3c]
test al, 1
jne 0x1004cb87
jmp 0x1004cd88
mov eax, dword [0x1006ac58]
mov dword [esp + 0x30], eax
mov ecx, dword [0x1006ac54]
mov dword [esp + 0x34], ecx
add eax, 0x1ae1a912
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
sub eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sub edx, 0x1ae1a912
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x2a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x2b], al
mov cl, byte [esp + 0x2b]
mov al, byte [esp + 0x2a]
xor al, 0xff
mov byte [esp + 0x26], al
xor cl, 0xff
mov byte [esp + 0x27], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x28], cl
and al, 0
mov byte [esp + 0x29], al
mov al, byte [esp + 0x28]
mov dl, byte [esp + 0x27]
mov cl, byte [esp + 0x26]
mov ah, byte [esp + 0x29]
mov dh, byte [esp + 0x2b]
mov bl, byte [esp + 0x2a]
and bl, al
mov ch, dl
and ch, 0
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x23], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x24], cl
or al, 0
mov byte [esp + 0x25], al
mov al, byte [esp + 0x23]
mov dl, byte [esp + 0x25]
mov cl, byte [esp + 0x24]
and cl, dl
or al, cl
test al, 1
jne 0x1004cc55
jmp 0x1004cd88
jmp 0x1004c45f
mov eax, dword [0x1006ac58]
mov dword [esp + 0x14], eax
mov ecx, dword [0x1006ac54]
mov dword [esp + 0x18], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x18]
cmp eax, 0xa
setl al
mov byte [esp + 0x12], al
mov dl, byte [esp + 0x12]
mov cl, byte [esp + 0x13]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x11], al
mov al, byte [esp + 0x11]
test al, 1
jne 0x1004ccc3
jmp 0x1004cdb3
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xe0]
mov cl, byte [ecx + eax]
mov byte [esp + 0xf], cl
mov esi, 0x15
xor edx, edx
div esi
mov eax, dword [esp + 0x104]
mov al, byte [eax + edx]
mov byte [esp + 0x10], al
xor eax, eax
sub al, 0xa3
sub al, cl
mov ecx, dword [esp + 0xd0]
mov bl, byte [esp + 0x10]
mov bh, byte [esp + 0xf]
mov dl, bh
xor dl, 0xff
and dl, 0x6f
mov al, 0xff
xor al, 0x6f
and bh, al
mov dh, bl
xor dh, 0xff
and dh, 0x6f
and bl, al
mov eax, dword [esp + 0x108]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
mov eax, 0xf13f37d8
add eax, 0
sub eax, ecx
sub eax, 0xf13f37d8
add eax, 0x68acb89e
mov ecx, dword [0x1006ac58]
mov eax, dword [0x1006ac54]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
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 + 0xe], al
mov al, byte [esp + 0xe]
test al, 1
jne 0x1004cd83
jmp 0x1004cdb3
jmp 0x1004c826
mov eax, dword [0x1006936c]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add eax, 0xd348851c
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
jmp 0x1004cb87
jmp 0x1004c5cf
jmp 0x1004ca62
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xe0]
mov cl, byte [ecx + eax]
mov byte [esp + 2], cl
mov esi, 0x15
xor edx, edx
div esi
mov eax, dword [esp + 0x104]
mov al, byte [eax + edx]
mov byte [esp + 3], al
sub cl, 0x16
sub cl, al
add cl, 0x16
mov al, 0x71
add al, 0
sub al, cl
sub al, 0x71
mov al, byte [esp + 2]
sub al, 0x44
mov ecx, dword [esp + 0xd0]
mov bl, byte [esp + 3]
mov bh, byte [esp + 2]
mov dl, bh
xor dl, 0xff
and dl, 0x5d
mov al, 0xff
xor al, 0x5d
and bh, al
mov dh, bl
xor dh, 0xff
and dh, 0x5d
and bl, al
mov eax, dword [esp + 0x108]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
xor eax, eax
sub eax, 0xd396072
sub eax, ecx
add eax, 0xd396072
mov eax, dword [esp + 0xd0]
add eax, 0x804df038
sub eax, 1
sub eax, 0x804df038
jmp 0x1004ccc3