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

Disassembly:
push ebx
push esi
sub esp, 0xa0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x90], eax
mov eax, dword [0x10066bd8]
mov dword [esp + 0x94], eax
mov ecx, dword [0x10066bd4]
mov dword [esp + 0x98], ecx
add eax, 0xe729859f
sub eax, 1
sub eax, 0xe729859f
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x94]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x86], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x87], cl
xor al, 0xff
mov byte [esp + 0x88], al
xor cl, 0xff
mov byte [esp + 0x89], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x8a], cl
and al, 0xff
mov byte [esp + 0x8b], al
mov cl, byte [esp + 0x8a]
mov al, byte [esp + 0x87]
mov dl, byte [esp + 0x89]
mov ah, byte [esp + 0x86]
and ah, cl
mov byte [esp + 0x83], ah
and dl, 0xff
mov byte [esp + 0x84], dl
and al, cl
mov byte [esp + 0x85], al
mov cl, byte [esp + 0x85]
mov al, byte [esp + 0x84]
mov ah, byte [esp + 0x83]
mov dl, byte [esp + 0x8b]
or dl, ah
mov byte [esp + 0x81], dl
or al, cl
mov byte [esp + 0x82], al
mov dl, byte [esp + 0x8a]
mov ah, byte [esp + 0x89]
mov cl, byte [esp + 0x88]
mov ch, byte [esp + 0x82]
mov al, byte [esp + 0x81]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1004ed72
jmp 0x1004f014
mov eax, dword [esp + 0x8c]
add eax, 0x14
mov dword [esp + 0x70], eax
mov eax, dword [0x100653ac]
cmp dword [eax - 0x12ee3885], 1
sete al
mov byte [esp + 0x77], al
mov eax, dword [0x10066bd8]
mov dword [esp + 0x78], eax
mov eax, dword [0x10066bd4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x78]
sub eax, 0xfea83cb4
sub eax, 1
add eax, 0xfea83cb4
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x78]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x6b], al
mov dh, byte [esp + 0x6b]
mov eax, dword [esp + 0x7c]
cmp eax, 0xa
setl ch
mov al, dh
xor al, 0xff
mov cl, ch
xor cl, 0xff
mov bl, 1
xor bl, 1
mov byte [esp + 0x68], bl
mov dl, al
and dl, 0xff
and dh, bl
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x69], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x6a], al
mov al, byte [esp + 0x6a]
mov cl, byte [esp + 0x68]
or cl, 1
and al, cl
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x67]
mov al, byte [esp + 0x69]
or al, cl
test al, 1
jne 0x1004ee3a
jmp 0x1004f014
mov cl, byte [esp + 0x77]
xor eax, eax
test cl, 1
mov dword [esp + 0x60], eax
jne 0x1004f00b
jmp 0x1004ee52
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov ecx, dword [0x10066bd8]
mov eax, dword [0x10066bd4]
mov edx, ecx
sub edx, 0x86d3ad14
sub edx, 1
add edx, 0x86d3ad14
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 0x1004ee9d
jmp 0x1004f103
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
mov al, byte [eax + ecx]
mov byte [esp + 0x5b], al
mov eax, dword [esp + 0x5c]
mov ecx, 0x14
xor edx, edx
div ecx
mov eax, dword [esp + 0x8c]
add eax, edx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x90]
mov bh, byte [esp + 0x5b]
mov eax, dword [esp + 0x54]
mov bl, byte [eax]
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 + 0x5c]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
add eax, 0x10b5e85
add eax, 1
sub eax, 0x10b5e85
mov dword [esp + 0x4c], eax
cmp eax, 0xd
sete al
mov byte [esp + 0x51], al
mov ecx, dword [0x10066bd8]
mov eax, dword [0x10066bd4]
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 + 0x52], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x53], al
mov cl, byte [esp + 0x52]
mov al, byte [esp + 0x53]
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x46], ah
xor al, 0xff
mov byte [esp + 0x47], al
mov dl, 1
xor dl, 1
mov byte [esp + 0x48], dl
and ah, 0xff
mov byte [esp + 0x49], ah
and cl, dl
mov byte [esp + 0x4a], cl
and al, 0xff
mov byte [esp + 0x4b], al
mov al, byte [esp + 0x48]
mov dl, byte [esp + 0x47]
mov cl, byte [esp + 0x46]
mov ch, byte [esp + 0x4b]
mov bl, byte [esp + 0x4a]
mov ah, byte [esp + 0x49]
mov dh, byte [esp + 0x53]
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x43], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x44], cl
or al, 1
mov byte [esp + 0x45], al
mov al, byte [esp + 0x43]
mov dl, byte [esp + 0x45]
mov cl, byte [esp + 0x44]
and cl, dl
or al, cl
test al, 1
jne 0x1004efcc
jmp 0x1004f103
mov eax, dword [esp + 0x4c]
mov cl, byte [esp + 0x51]
test cl, 1
mov dword [esp + 0x60], eax
jne 0x1004efe6
jmp 0x1004ee52
mov eax, dword [0x100653ac]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
add eax, 0xed11c77b
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [eax], 1
jmp 0x1004f00b
add esp, 0xa0
pop esi
pop ebx
ret
mov eax, dword [0x10066bd8]
mov dword [esp + 0x34], eax
mov eax, dword [0x10066bd4]
mov dword [esp + 0x2c], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x27], al
mov al, byte [esp + 0x27]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x25], cl
and al, cl
mov byte [esp + 0x26], al
mov al, byte [esp + 0x26]
mov dl, byte [esp + 0x25]
mov cl, byte [esp + 0x27]
xor cl, dl
or al, cl
test al, 1
jne 0x1004f088
jmp 0x1004f1a5
mov eax, dword [0x100653ac]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add eax, 0xed11c77b
mov eax, dword [0x10066bd8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x10066bd4]
mov dword [esp + 0x14], ecx
sub eax, 0x531792be
sub eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add ecx, 0x531792be
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x13], al
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x14]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1004f0fe
jmp 0x1004f1a5
jmp 0x1004ed72
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x70]
mov cl, byte [ecx + eax]
mov byte [esp + 0x12], cl
sub eax, 0xa9cb16d9
sub eax, 0x14
add eax, 0xa9cb16d9
mov eax, dword [esp + 0x5c]
sub eax, 0x370e52a
sub eax, 0x14
mov eax, dword [esp + 0x5c]
mov ecx, 0x14
xor edx, edx
div ecx
mov eax, dword [esp + 0x8c]
mov al, byte [eax + edx]
mov byte [esp + 0x11], al
xor eax, eax
sub al, 0xe1
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x90]
mov dh, byte [esp + 0x12]
mov bl, byte [esp + 0x11]
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [esp + 0xb], dl
add eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xc]
mov dl, byte [esp + 0xb]
mov byte [ecx], dl
mov ecx, 0xcf33239c
add ecx, 0
sub ecx, eax
sub ecx, 0xcf33239c
xor eax, eax
sub eax, ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
jmp 0x1004ee9d
mov eax, dword [0x100653ac]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xed11c77b
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x1004f088