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

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc4
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xb4], eax
mov eax, dword [0x10064c88]
mov dword [esp + 0xb8], eax
mov ecx, dword [0x10064c84]
mov dword [esp + 0xbc], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xb8]
imul eax, ecx
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xac]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xa9], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xaa], cl
and al, cl
mov byte [esp + 0xab], al
mov al, byte [esp + 0xab]
mov dl, byte [esp + 0xaa]
mov cl, byte [esp + 0xa9]
xor cl, dl
or al, cl
mov byte [esp + 0xa8], al
mov al, byte [esp + 0xa8]
test al, 1
jne 0x1004021c
jmp 0x100406ad
mov eax, dword [esp + 0xb0]
add eax, 0x1f
mov dword [esp + 0xa0], eax
mov eax, dword [0x10063350]
add eax, 0xc190b400
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa4]
cmp dword [eax], 1
sete al
mov byte [esp + 0x93], al
mov eax, dword [0x10064c88]
mov dword [esp + 0x94], eax
mov ecx, dword [0x10064c84]
mov dword [esp + 0x98], ecx
add eax, 0xc2d8e721
sub eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x9c]
sub edx, 0xc2d8e721
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x8f], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x90], al
xor cl, 0xff
mov byte [esp + 0x91], cl
xor al, 0xff
mov byte [esp + 0x92], al
mov al, byte [esp + 0x8f]
mov dl, byte [esp + 0x91]
mov cl, 1
xor cl, 0
mov byte [esp + 0x8c], cl
and dl, 0
mov byte [esp + 0x8d], dl
and al, cl
mov byte [esp + 0x8e], al
mov dl, byte [esp + 0x8c]
mov ah, byte [esp + 0x92]
mov cl, byte [esp + 0x91]
mov bl, byte [esp + 0x8e]
mov al, byte [esp + 0x8d]
mov dh, byte [esp + 0x90]
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 + 0x8b], al
mov al, byte [esp + 0x8b]
test al, 1
jne 0x10040353
jmp 0x100406ad
mov ecx, dword [0x10064c88]
mov eax, dword [0x10064c84]
mov edx, ecx
sub edx, 0xdd8f6e8e
sub edx, 1
add edx, 0xdd8f6e8e
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x89], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x8a], al
mov cl, byte [esp + 0x8a]
mov al, byte [esp + 0x89]
xor al, 0xff
mov byte [esp + 0x85], al
xor cl, 0xff
mov byte [esp + 0x86], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x87], cl
and al, 0
mov byte [esp + 0x88], al
mov cl, byte [esp + 0x86]
mov al, byte [esp + 0x85]
mov dl, byte [esp + 0x88]
mov bl, byte [esp + 0x87]
mov ch, byte [esp + 0x8a]
mov dh, byte [esp + 0x89]
and dh, bl
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x83], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x84], al
mov al, byte [esp + 0x87]
or al, 0
mov byte [esp + 0x82], al
mov cl, byte [esp + 0x82]
mov al, byte [esp + 0x84]
and al, cl
mov byte [esp + 0x81], al
mov cl, byte [esp + 0x81]
mov al, byte [esp + 0x83]
or al, cl
test al, 1
jne 0x10040454
jmp 0x10040808
mov eax, dword [0x10064c88]
mov dword [esp + 0x78], eax
mov eax, dword [0x10064c84]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x78]
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
cmp eax, 0
sete al
mov byte [esp + 0x73], al
mov al, byte [esp + 0x73]
mov ecx, dword [esp + 0x7c]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x71], cl
and al, cl
mov byte [esp + 0x72], al
mov cl, byte [esp + 0x71]
mov al, byte [esp + 0x73]
xor al, cl
mov byte [esp + 0x70], al
mov cl, byte [esp + 0x70]
mov al, byte [esp + 0x72]
or al, cl
test al, 1
jne 0x100404c8
jmp 0x10040808
mov cl, byte [esp + 0x93]
xor eax, eax
test cl, 1
mov dword [esp + 0x6c], eax
jne 0x10040569
jmp 0x100404e3
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb0]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x64], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x6b], dl
mov edi, 0x1f
xor edx, edx
div edi
mov eax, dword [esp + 0x64]
mov edi, edx
mov dh, byte [esp + 0x6b]
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
xor ecx, ecx
sub ecx, 1
sub eax, ecx
cmp eax, 6
mov dword [esp + 0x6c], eax
jne 0x100404e3
mov eax, dword [0x10063350]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
add eax, 0xc190b400
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov dword [eax], 1
jmp 0x10040569
mov eax, dword [0x10064c88]
mov ecx, dword [0x10064c84]
mov dword [esp + 0x54], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
and eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
cmp ecx, 0
sete cl
mov byte [esp + 0x4e], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x4f], al
mov dl, byte [esp + 0x4f]
mov cl, byte [esp + 0x4e]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x4d], al
mov al, byte [esp + 0x4d]
test al, 1
jne 0x100405d4
jmp 0x100406a8
mov eax, dword [0x10064c88]
mov dword [esp + 0x40], eax
mov ecx, dword [0x10064c84]
mov dword [esp + 0x44], ecx
sub eax, 0xd8da9512
sub eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
add ecx, 0xd8da9512
imul eax, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [esp + 0x35], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0x36], dl
mov cl, 1
xor cl, 0
mov byte [esp + 0x37], cl
and ch, 0
mov byte [esp + 0x38], ch
and ah, cl
mov byte [esp + 0x39], ah
and dl, 0
mov byte [esp + 0x3a], dl
and al, cl
mov byte [esp + 0x3b], al
mov dl, byte [esp + 0x3b]
mov cl, byte [esp + 0x3a]
mov ah, byte [esp + 0x39]
mov al, byte [esp + 0x38]
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x34], al
mov cl, byte [esp + 0x37]
mov dl, byte [esp + 0x36]
mov al, byte [esp + 0x35]
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x33], al
mov cl, byte [esp + 0x33]
mov al, byte [esp + 0x34]
or al, cl
test al, 1
jne 0x1004069e
jmp 0x100406a8
add esp, 0xc4
pop esi
pop edi
pop ebx
ret
jmp 0x100405d4
mov eax, dword [0x10064c88]
mov dword [esp + 0x24], eax
mov ecx, dword [0x10064c84]
mov dword [esp + 0x28], ecx
sub eax, 0x55c412b
sub eax, 1
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
add edx, 0x55c412b
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x1e], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x1f], cl
xor al, 0xff
mov byte [esp + 0x20], al
xor cl, 0xff
mov byte [esp + 0x21], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x22], cl
and al, 0
mov byte [esp + 0x23], al
mov cl, byte [esp + 0x22]
mov al, byte [esp + 0x1e]
and al, cl
mov byte [esp + 0x1d], al
mov cl, byte [esp + 0x22]
mov al, byte [esp + 0x1f]
mov dl, byte [esp + 0x21]
and dl, 0
mov byte [esp + 0x1b], dl
and al, cl
mov byte [esp + 0x1c], al
mov dl, byte [esp + 0x22]
mov ah, byte [esp + 0x21]
mov cl, byte [esp + 0x20]
mov dh, byte [esp + 0x1c]
mov ch, byte [esp + 0x1b]
mov bl, byte [esp + 0x1d]
mov al, byte [esp + 0x23]
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 + 0x1a], al
mov al, byte [esp + 0x1a]
test al, 1
jne 0x1004077e
jmp 0x1004080d
mov eax, dword [0x10064c88]
mov dword [esp + 0xc], eax
mov ecx, dword [0x10064c84]
mov dword [esp + 0x10], ecx
add eax, 0xd50bbbba
sub eax, 1
sub eax, 0xd50bbbba
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
imul eax, ecx
and eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
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 0x10040803
jmp 0x1004080d
jmp 0x1004021c
jmp 0x10040454
mov eax, dword [0x10063350]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xc190b400
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x1004077e