Function at 0x10045310
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
sub esp, 0x80
mov eax, dword [esp + 0x90]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x70], eax
mov eax, dword [0x10064c50]
mov dword [esp + 0x74], eax
mov ecx, dword [0x10064c4c]
mov dword [esp + 0x78], ecx
add eax, 0xe3985365
sub eax, 1
sub eax, 0xe3985365
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x68], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x69], al
xor cl, 0xff
mov byte [esp + 0x6a], cl
xor al, 0xff
mov byte [esp + 0x6b], al
mov al, byte [esp + 0x6a]
mov cl, 1
xor cl, 0
mov byte [esp + 0x66], cl
and al, 0
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x66]
mov al, byte [esp + 0x68]
and al, cl
mov byte [esp + 0x65], al
mov ah, byte [esp + 0x65]
mov dl, byte [esp + 0x67]
mov ch, byte [esp + 0x66]
mov cl, byte [esp + 0x69]
mov al, byte [esp + 0x6b]
and al, 0
and cl, ch
or dl, ah
mov byte [esp + 0x63], dl
or al, cl
mov byte [esp + 0x64], al
mov dl, byte [esp + 0x66]
mov ah, byte [esp + 0x6b]
mov cl, byte [esp + 0x6a]
mov ch, byte [esp + 0x64]
mov al, byte [esp + 0x63]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x100453f9
jmp 0x1004566c
mov eax, dword [esp + 0x6c]
add eax, 0x16
mov dword [esp + 0x58], eax
mov eax, dword [0x1006336c]
mov eax, dword [eax + 0x2e845d15]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
cmp eax, 1
sete al
mov byte [esp + 0x4f], al
mov eax, dword [0x10064c50]
mov ecx, dword [0x10064c4c]
mov dword [esp + 0x50], ecx
mov ecx, eax
add ecx, 0x4fcadb11
sub ecx, 1
sub ecx, 0x4fcadb11
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x57], al
mov cl, byte [esp + 0x57]
mov eax, dword [esp + 0x50]
cmp eax, 0xa
setl al
mov byte [esp + 0x4b], al
xor cl, 0xff
mov byte [esp + 0x4c], cl
xor al, 0xff
mov byte [esp + 0x4d], al
mov al, 1
xor al, 0
mov byte [esp + 0x4e], al
mov cl, byte [esp + 0x4e]
mov al, byte [esp + 0x57]
mov dl, byte [esp + 0x4c]
and dl, 0
mov byte [esp + 0x49], dl
and al, cl
mov byte [esp + 0x4a], al
mov cl, byte [esp + 0x4e]
mov al, byte [esp + 0x4b]
mov dl, byte [esp + 0x4d]
and dl, 0
mov byte [esp + 0x47], dl
and al, cl
mov byte [esp + 0x48], al
mov dl, byte [esp + 0x4e]
mov ah, byte [esp + 0x4d]
mov cl, byte [esp + 0x4c]
mov dh, byte [esp + 0x48]
mov ch, byte [esp + 0x47]
mov bl, byte [esp + 0x4a]
mov al, byte [esp + 0x49]
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 0x100454e5
jmp 0x1004566c
mov cl, byte [esp + 0x4f]
xor eax, eax
test cl, 1
mov dword [esp + 0x40], eax
jne 0x10045585
jmp 0x100454fd
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov bh, byte [edx + eax]
mov esi, 0x16
xor edx, edx
div esi
mov eax, dword [esp + 0x3c]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x39
mov cl, 0xff
xor cl, 0x39
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x39
and bl, cl
mov ecx, dword [esp + 0x70]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
add eax, 0x739003c9
add eax, 1
sub eax, 0x739003c9
cmp eax, 2
mov dword [esp + 0x40], eax
jne 0x100454fd
mov eax, dword [0x1006336c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
add eax, 0x2e845d15
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov dword [eax], 1
jmp 0x10045585
mov eax, dword [0x10064c50]
mov dword [esp + 0x28], eax
mov ecx, dword [0x10064c4c]
mov dword [esp + 0x2c], ecx
sub eax, 0xe9eff4fe
sub eax, 1
add eax, 0xe9eff4fe
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
imul eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
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 + 0x23], al
mov al, byte [esp + 0x23]
test al, 1
jne 0x100455ec
jmp 0x1004568b
mov eax, dword [0x10064c50]
mov dword [esp + 0x14], eax
mov ecx, dword [0x10064c4c]
mov dword [esp + 0x18], ecx
sub eax, 0xa79b2696
sub eax, 1
add eax, 0xa79b2696
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
imul eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
and eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
cmp eax, 0
sete al
mov byte [esp + 0xb], al
mov cl, byte [esp + 0xb]
mov eax, dword [esp + 0x18]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0xa], al
mov al, byte [esp + 0xa]
test al, 1
jne 0x10045663
jmp 0x1004568b
add esp, 0x80
pop esi
pop ebx
ret
mov eax, dword [0x1006336c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x2e845d15
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x100453f9
jmp 0x100455ec