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

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc8
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xbc], eax
mov eax, dword [0x1006ac30]
mov dword [esp + 0xc0], eax
mov eax, dword [0x1006ac2c]
mov dword [esp + 0xc4], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xc0]
add eax, ecx
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xc0]
imul eax, ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xac]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xaa], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xab], al
mov dl, byte [esp + 0xab]
mov cl, byte [esp + 0xaa]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1004ed16
jmp 0x1004f2eb
mov eax, dword [esp + 0xb8]
add eax, 0x17
mov dword [esp + 0xa0], eax
mov eax, dword [0x10069380]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa4]
add eax, 0xa54d9b75
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c]
cmp dword [eax], 1
sete al
mov byte [esp + 0x97], al
mov eax, dword [0x1006ac30]
mov dword [esp + 0x98], eax
mov eax, dword [0x1006ac2c]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
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 + 0x8e], dl
xor al, cl
mov byte [esp + 0x8f], al
mov cl, byte [esp + 0x8f]
mov al, byte [esp + 0x8e]
or al, cl
test al, 1
jne 0x1004edcc
jmp 0x1004f2eb
mov cl, byte [esp + 0x97]
xor eax, eax
test cl, 1
mov dword [esp + 0x88], eax
jne 0x1004f221
jmp 0x1004edea
mov eax, dword [esp + 0x88]
mov dword [esp + 0x84], eax
mov ecx, dword [0x1006ac30]
mov eax, dword [0x1006ac2c]
mov edx, ecx
sub edx, 0x594b5fbe
sub edx, 1
add edx, 0x594b5fbe
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 0x1004ee61
jmp 0x1004f30a
mov eax, dword [0x1006ac30]
mov dword [esp + 0x80], eax
mov eax, dword [0x1006ac2c]
mov dword [esp + 0x78], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x77], al
mov cl, byte [esp + 0x77]
mov eax, dword [esp + 0x78]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x76], al
mov al, byte [esp + 0x76]
test al, 1
jne 0x1004eec9
jmp 0x1004f30a
mov eax, dword [0x1006ac30]
mov dword [esp + 0x70], eax
mov eax, dword [0x1006ac2c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
mov ecx, eax
sub ecx, 0x8540cb67
sub ecx, 1
add ecx, 0x8540cb67
imul eax, ecx
and eax, 1
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
cmp ecx, 0
sete cl
mov byte [esp + 0x66], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x67], al
mov dl, byte [esp + 0x67]
mov cl, byte [esp + 0x66]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x65], al
mov al, byte [esp + 0x65]
test al, 1
jne 0x1004ef3b
jmp 0x1004f22b
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0xa0]
add eax, ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov al, byte [eax]
mov byte [esp + 0x5f], al
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
mov edi, 0x17
xor edx, edx
div edi
mov eax, dword [esp + 0x84]
mov edi, edx
mov dh, byte [esp + 0x5f]
mov bl, byte [esi + edi]
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
add eax, 0x20c95a9d
add eax, 1
sub eax, 0x20c95a9d
mov dword [esp + 0x4c], eax
cmp eax, 0x40
sete al
mov byte [esp + 0x53], al
mov eax, dword [0x1006ac30]
mov dword [esp + 0x54], eax
mov eax, dword [0x1006ac2c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
add eax, 0xc9eab232
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
sub edx, 1
sub edx, 0xc9eab232
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 + 0x43], dl
mov al, cl
xor al, 0xff
mov byte [esp + 0x44], al
mov ch, 1
xor ch, 1
mov byte [esp + 0x45], ch
and dl, 0xff
and ah, ch
and al, 0xff
and cl, ch
or dl, ah
mov byte [esp + 0x46], dl
or al, cl
mov byte [esp + 0x47], al
mov dl, byte [esp + 0x45]
mov ah, byte [esp + 0x44]
mov cl, byte [esp + 0x43]
mov ch, byte [esp + 0x47]
mov al, byte [esp + 0x46]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1004f059
jmp 0x1004f22b
mov eax, dword [esp + 0x4c]
mov cl, byte [esp + 0x53]
test cl, 1
mov dword [esp + 0x88], eax
jne 0x1004f076
jmp 0x1004edea
mov eax, dword [0x1006ac30]
mov dword [esp + 0x34], eax
mov ecx, dword [0x1006ac2c]
mov dword [esp + 0x38], ecx
sub eax, 0x9ad8606c
sub eax, 1
add eax, 0x9ad8606c
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0x2d], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x2e], ah
xor al, 0xff
mov byte [esp + 0x2f], al
mov dl, 1
xor dl, 1
mov byte [esp + 0x30], dl
and ah, 0xff
mov byte [esp + 0x31], ah
and cl, dl
mov byte [esp + 0x32], cl
and al, 0xff
mov byte [esp + 0x33], al
mov cl, byte [esp + 0x30]
mov al, byte [esp + 0x2d]
and al, cl
mov byte [esp + 0x2c], al
mov cl, byte [esp + 0x2c]
mov al, byte [esp + 0x33]
mov ah, byte [esp + 0x32]
mov dl, byte [esp + 0x31]
or dl, ah
mov byte [esp + 0x2a], dl
or al, cl
mov byte [esp + 0x2b], al
mov dl, byte [esp + 0x30]
mov ah, byte [esp + 0x2f]
mov cl, byte [esp + 0x2e]
mov ch, byte [esp + 0x2b]
mov al, byte [esp + 0x2a]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x29], al
mov al, byte [esp + 0x29]
test al, 1
jne 0x1004f148
jmp 0x1004f2c6
mov eax, dword [0x10069380]
mov dword [eax - 0x5ab2648b], 1
mov eax, dword [0x1006ac30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [0x1006ac2c]
mov dword [esp + 0x1c], ecx
mov ecx, eax
sub ecx, 0x2fd7abe0
sub ecx, 1
add ecx, 0x2fd7abe0
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x23], al
mov al, byte [esp + 0x23]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x16], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x17], dl
xor cl, 0xff
mov byte [esp + 0x18], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x19], cl
and dl, 0
mov byte [esp + 0x1a], dl
and al, cl
mov byte [esp + 0x1b], al
mov al, byte [esp + 0x19]
mov dl, byte [esp + 0x18]
mov cl, byte [esp + 0x17]
mov bl, byte [esp + 0x1b]
mov ah, byte [esp + 0x1a]
mov dh, byte [esp + 0x16]
mov ch, dl
and ch, 0
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x13], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x14], cl
or al, 0
mov byte [esp + 0x15], al
mov al, byte [esp + 0x13]
mov dl, byte [esp + 0x15]
mov cl, byte [esp + 0x14]
and cl, dl
or al, cl
test al, 1
jne 0x1004f21c
jmp 0x1004f2c6
jmp 0x1004f221
add esp, 0xc8
pop esi
pop edi
pop ebx
ret
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0xa0]
mov al, byte [eax + ecx]
mov byte [esp + 0x12], al
xor eax, eax
sub eax, ecx
add eax, 0
add eax, 0xcd57cd1f
mov cl, byte [esp + 0x12]
mov eax, dword [esp + 0x84]
mov esi, 0x17
xor edx, edx
div esi
mov eax, dword [esp + 0xb8]
mov al, byte [eax + edx]
mov byte [esp + 0x11], al
xor eax, eax
sub al, cl
add al, 0
mov cl, byte [esp + 0x11]
xor eax, eax
sub al, cl
mov byte [esp + 0x10], al
mov cl, byte [esp + 0x10]
mov al, byte [esp + 0x12]
add al, cl
mov ecx, dword [esp + 0x84]
mov bl, byte [esp + 0x11]
mov bh, byte [esp + 0x12]
mov dl, bh
xor dl, 0xff
and dl, 0x18
mov al, 0xff
xor al, 0x18
and bh, al
mov dh, bl
xor dh, 0xff
and dh, 0x18
and bl, al
mov eax, dword [esp + 0xbc]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
jmp 0x1004ef3b
mov eax, dword [0x10069380]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0xa54d9b75
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x1004f148
mov eax, dword [0x10069380]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xa54d9b75
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x1004ed16
jmp 0x1004ee61