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

Disassembly:
push ebx
push esi
sub esp, 0x80
mov eax, dword [esp + 0x90]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x78], ecx
add eax, 0x1d
mov dword [esp + 0x7c], eax
mov eax, dword [0x10069388]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
add eax, 0x9907b6f3
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
cmp eax, 1
sete al
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x67]
xor eax, eax
test cl, 1
mov dword [esp + 0x60], eax
jne 0x1004fc89
jmp 0x1004f97b
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov ecx, dword [0x1006ac20]
mov eax, dword [0x1006ac1c]
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 0x1004f9e4
jmp 0x1004fc92
mov eax, dword [0x1006ac20]
mov dword [esp + 0x50], eax
mov ecx, dword [0x1006ac1c]
mov dword [esp + 0x54], ecx
sub eax, 0x51e7334
sub eax, 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
add ecx, 0x51e7334
imul eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x4a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x4b], al
mov ch, byte [esp + 0x4b]
mov dh, byte [esp + 0x4a]
mov al, dh
xor al, 0xff
mov cl, ch
xor cl, 0xff
mov bl, 1
xor bl, 0
mov byte [esp + 0x47], 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 + 0x48], dl
or al, cl
mov byte [esp + 0x49], al
mov al, byte [esp + 0x48]
mov dl, byte [esp + 0x47]
mov cl, byte [esp + 0x49]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x46], al
mov al, byte [esp + 0x46]
test al, 1
jne 0x1004fa9a
jmp 0x1004fd0d
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7c]
mov bh, byte [eax + ecx]
mov esi, 0x1d
mov eax, ecx
xor edx, edx
div esi
mov eax, dword [esp + 0x74]
mov bl, byte [eax + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x7d
mov al, 0xff
xor al, 0x7d
and bh, al
mov dh, bl
xor dh, 0xff
and dh, 0x7d
and bl, al
mov eax, dword [esp + 0x78]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x5c]
add eax, 0x4fc30d5f
add eax, 1
sub eax, 0x4fc30d5f
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
cmp eax, 6
sete al
mov byte [esp + 0x3a], al
mov eax, dword [0x1006ac20]
mov ecx, dword [0x1006ac1c]
mov edx, eax
sub edx, 0xa212e151
sub edx, 1
add edx, 0xa212e151
imul eax, edx
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl cl
mov dl, ah
xor dl, 0xff
mov byte [esp + 0x3b], dl
mov al, cl
xor al, 0xff
mov byte [esp + 0x3c], al
mov ch, 1
xor ch, 1
mov byte [esp + 0x3d], ch
and dl, 0xff
and ah, ch
and al, 0xff
and cl, ch
or dl, ah
mov byte [esp + 0x3e], dl
or al, cl
mov byte [esp + 0x3f], al
mov cl, byte [esp + 0x3c]
mov al, byte [esp + 0x3b]
mov ah, byte [esp + 0x3f]
mov dl, byte [esp + 0x3e]
xor dl, ah
mov byte [esp + 0x38], dl
or al, cl
mov byte [esp + 0x39], al
mov cl, byte [esp + 0x3d]
mov al, byte [esp + 0x39]
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0x37], al
mov cl, byte [esp + 0x37]
mov al, byte [esp + 0x38]
or al, cl
test al, 1
jne 0x1004fba2
jmp 0x1004fd0d
mov eax, dword [0x1006ac20]
mov dword [esp + 0x28], eax
mov ecx, dword [0x1006ac1c]
mov dword [esp + 0x2c], ecx
sub eax, 0xcac5f12d
sub eax, 1
add eax, 0xcac5f12d
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
imul eax, ecx
and eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, 0
sete cl
mov byte [esp + 0x20], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x21], al
xor cl, 0xff
mov byte [esp + 0x22], cl
xor al, 0xff
mov byte [esp + 0x23], al
mov ah, byte [esp + 0x23]
mov cl, byte [esp + 0x22]
mov dh, byte [esp + 0x21]
mov bl, byte [esp + 0x20]
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 + 0x1f], al
mov al, byte [esp + 0x1f]
test al, 1
jne 0x1004fc4a
jmp 0x1004fc92
mov eax, dword [esp + 0x40]
mov cl, byte [esp + 0x3a]
test cl, 1
mov dword [esp + 0x60], eax
jne 0x1004fc64
jmp 0x1004f97b
mov eax, dword [0x10069388]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, 0x9907b6f3
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [eax], 1
jmp 0x1004fc89
add esp, 0x80
pop esi
pop ebx
ret
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7c]
mov al, byte [eax + ecx]
mov byte [esp + 0x13], al
mov eax, 0xbeb02130
add eax, 0
sub eax, ecx
mov eax, dword [esp + 0x5c]
mov ecx, 0x1d
xor edx, edx
div ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 8], eax
mov dl, byte [esp + 0x13]
mov eax, dword [esp + 8]
mov al, byte [eax]
xor dl, 0xff
mov cl, al
and cl, dl
mov byte [esp + 6], cl
xor al, 0xff
mov byte [esp + 7], al
mov cl, byte [esp + 7]
mov al, byte [esp + 0x13]
and al, cl
mov byte [esp + 5], al
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x5c]
mov dh, byte [esp + 5]
mov dl, byte [esp + 6]
or dl, dh
mov byte [eax + ecx], dl
jmp 0x1004f9e4
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x7c]
mov cl, byte [ecx + eax]
mov byte [esp + 3], cl
mov esi, 0x1d
xor edx, edx
div esi
mov eax, dword [esp + 0x74]
mov al, byte [eax + edx]
mov byte [esp + 4], al
mov al, 0x18
add al, 0
sub al, cl
sub al, 0x18
mov cl, byte [esp + 3]
xor eax, eax
sub al, cl
add al, 0
mov cl, byte [esp + 4]
xor eax, eax
sub al, cl
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x78]
mov dh, byte [esp + 3]
mov bl, byte [esp + 4]
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [eax + ecx], dl
xor eax, eax
sub eax, 0xef2f89a3
sub eax, ecx
add eax, 0xef2f89a3
jmp 0x1004fa9a