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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x9c
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x94], ecx
add eax, 0x14
mov dword [esp + 0x98], eax
mov eax, dword [0x10069378]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x8c]
add eax, 0x91052cad
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x84]
cmp eax, 1
sete al
mov byte [esp + 0x83], al
mov cl, byte [esp + 0x83]
xor eax, eax
test cl, 1
mov dword [esp + 0x7c], eax
jne 0x1004e778
jmp 0x1004e5ed
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], eax
mov ecx, dword [0x1006ac40]
mov eax, dword [0x1006ac3c]
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
test al, 1
jne 0x1004e630
jmp 0x1004e8b9
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov dl, byte [edx + eax]
mov byte [esp + 0x73], dl
mov edi, 0x14
xor edx, edx
div edi
mov eax, dword [esp + 0x78]
mov edi, edx
mov dh, byte [esp + 0x73]
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, 0xd624ee8b
add eax, 1
sub eax, 0xd624ee8b
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
cmp eax, 0x13
sete al
mov byte [esp + 0x72], al
mov eax, dword [0x1006ac40]
mov ecx, dword [0x1006ac3c]
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 byte [esp + 0x6c], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x6d], dl
xor cl, 0xff
mov byte [esp + 0x6e], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x6f], cl
and dl, 0
mov byte [esp + 0x70], dl
and al, cl
mov byte [esp + 0x71], al
mov cl, byte [esp + 0x6e]
mov al, byte [esp + 0x6d]
mov dh, byte [esp + 0x71]
mov dl, byte [esp + 0x70]
mov bl, byte [esp + 0x6f]
mov ch, byte [esp + 0x6c]
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x6a], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x6b], al
mov al, byte [esp + 0x6a]
mov cl, byte [esp + 0x6b]
mov dl, byte [esp + 0x6f]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1004e739
jmp 0x1004e8b9
mov eax, dword [esp + 0x74]
mov cl, byte [esp + 0x72]
test cl, 1
mov dword [esp + 0x7c], eax
jne 0x1004e753
jmp 0x1004e5ed
mov eax, dword [0x10069378]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
add eax, 0x91052cad
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov dword [eax], 1
jmp 0x1004e778
mov eax, dword [0x1006ac40]
mov dword [esp + 0x54], eax
mov eax, dword [0x1006ac3c]
mov dword [esp + 0x58], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
imul eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
and eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
cmp eax, 0
sete al
mov byte [esp + 0x47], al
mov cl, byte [esp + 0x47]
mov eax, dword [esp + 0x58]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1004e7ec
jmp 0x1004e93c
mov eax, dword [0x1006ac40]
mov dword [esp + 0x38], eax
mov ecx, dword [0x1006ac3c]
mov dword [esp + 0x3c], ecx
add eax, 0x7eefcdc2
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
sub edx, 1
sub edx, 0x7eefcdc2
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x35], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x36], cl
xor al, 0xff
mov byte [esp + 0x37], al
mov al, byte [esp + 0x36]
xor al, 0xff
mov byte [esp + 0x33], al
mov al, 1
xor al, 0
mov byte [esp + 0x34], al
mov ch, byte [esp + 0x34]
mov cl, byte [esp + 0x36]
mov al, byte [esp + 0x33]
mov ah, byte [esp + 0x35]
mov dl, byte [esp + 0x37]
and dl, 0
and ah, ch
and al, 0
and cl, ch
or dl, ah
mov byte [esp + 0x31], dl
or al, cl
mov byte [esp + 0x32], al
mov dl, byte [esp + 0x34]
mov ah, byte [esp + 0x33]
mov cl, byte [esp + 0x37]
mov ch, byte [esp + 0x32]
mov al, byte [esp + 0x31]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x30], al
mov al, byte [esp + 0x30]
test al, 1
jne 0x1004e8af
jmp 0x1004e93c
add esp, 0x9c
pop esi
pop edi
pop ebx
ret
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x98]
mov dl, byte [edx + eax]
mov byte [esp + 0x2e], dl
mov esi, 0x14
xor edx, edx
div esi
mov al, byte [esp + 0x2e]
mov cl, byte [ecx + edx]
mov byte [esp + 0x2f], cl
sub al, 0xa4
sub al, cl
add al, 0xa4
mov cl, byte [esp + 0x2e]
xor eax, eax
sub al, cl
add al, 0
mov al, byte [esp + 0x2e]
add al, 0x2e
mov al, byte [esp + 0x2e]
mov dl, byte [esp + 0x2f]
xor ecx, ecx
sub cl, dl
add al, cl
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x94]
mov dh, byte [esp + 0x2e]
mov bl, byte [esp + 0x2f]
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
xor ecx, ecx
sub ecx, 1
add eax, ecx
jmp 0x1004e630
mov eax, dword [0x1006ac40]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [0x1006ac3c]
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 al
mov byte [esp + 0x21], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x22], ah
xor al, 0xff
mov byte [esp + 0x23], al
mov dl, 1
xor dl, 0
mov byte [esp + 0x24], dl
and ah, 0
mov byte [esp + 0x25], ah
and cl, dl
mov byte [esp + 0x26], cl
and al, 0
mov byte [esp + 0x27], al
mov al, byte [esp + 0x27]
mov ah, byte [esp + 0x26]
mov dl, byte [esp + 0x25]
mov ch, byte [esp + 0x24]
mov cl, byte [esp + 0x21]
and cl, ch
or dl, ah
mov byte [esp + 0x1f], dl
or al, cl
mov byte [esp + 0x20], al
mov cl, byte [esp + 0x20]
mov al, byte [esp + 0x1f]
xor al, cl
mov byte [esp + 0x1e], al
mov cl, byte [esp + 0x23]
mov al, byte [esp + 0x22]
or al, cl
xor al, 0xff
mov byte [esp + 0x1d], al
mov al, byte [esp + 0x1e]
mov cl, byte [esp + 0x1d]
mov dl, byte [esp + 0x24]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1004e9f8
jmp 0x1004ea74
mov eax, dword [0x1006ac40]
mov dword [esp + 0x10], eax
mov ecx, dword [0x1006ac3c]
mov dword [esp + 0x14], ecx
add eax, 0x4a2ac6f3
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub eax, 1
sub eax, 0x4a2ac6f3
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
imul eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
and eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
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 + 3], al
mov al, byte [esp + 3]
test al, 1
jne 0x1004ea6f
jmp 0x1004ea74
jmp 0x1004e7ec
jmp 0x1004e9f8