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

Disassembly:
push ebx
push esi
sub esp, 0x84
mov eax, dword [esp + 0x94]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x7c], ecx
add eax, 0x1c
mov dword [esp + 0x80], eax
mov eax, dword [str._vJPM]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
add eax, 0xbfbc3641
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
cmp eax, 1
sete al
mov byte [esp + 0x6b], al
mov cl, byte [esp + 0x6b]
xor eax, eax
test cl, 1
mov dword [esp + 0x64], eax
jne 0x1004c236
jmp 0x1004c0be
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x60], eax
mov bh, byte [edx + eax]
mov esi, 0x1c
xor edx, edx
div esi
mov eax, dword [esp + 0x60]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0xc9
mov cl, 0xff
xor cl, 0xc9
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0xc9
and bl, cl
mov ecx, dword [esp + 0x7c]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
sub eax, 0xfdc03515
add eax, 1
add eax, 0xfdc03515
cmp eax, 0x15
mov dword [esp + 0x64], eax
jne 0x1004c0be
mov eax, dword [0x10064bf0]
mov dword [esp + 0x54], eax
mov ecx, dword [0x10064bec]
mov dword [esp + 0x58], ecx
sub eax, 0x6ea34671
sub eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
add eax, 0x6ea34671
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x4d], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x4e], cl
and al, cl
mov byte [esp + 0x4f], al
mov al, byte [esp + 0x4f]
mov dl, byte [esp + 0x4e]
mov cl, byte [esp + 0x4d]
xor cl, dl
or al, cl
mov byte [esp + 0x4c], al
mov al, byte [esp + 0x4c]
test al, 1
jne 0x1004c1a1
jmp 0x1004c323
mov eax, dword [str._vJPM]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov dword [eax - 0x4043c9bf], 1
mov eax, dword [0x10064bf0]
mov ecx, dword [0x10064bec]
mov dword [esp + 0x40], ecx
mov ecx, eax
add ecx, 0xb69f3be1
sub ecx, 1
sub ecx, 0xb69f3be1
imul eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
and eax, 1
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
cmp eax, 0
sete al
mov byte [esp + 0x39], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x3a], cl
and al, cl
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3b]
mov dl, byte [esp + 0x3a]
mov cl, byte [esp + 0x39]
xor cl, dl
or al, cl
mov byte [esp + 0x38], al
mov al, byte [esp + 0x38]
test al, 1
jne 0x1004c231
jmp 0x1004c323
jmp 0x1004c236
mov eax, dword [0x10064bf0]
mov dword [esp + 0x2c], eax
mov ecx, dword [0x10064bec]
mov dword [esp + 0x30], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
imul eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
and eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0
sete al
mov byte [esp + 0x23], al
mov cl, byte [esp + 0x23]
mov eax, dword [esp + 0x30]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x22], al
mov al, byte [esp + 0x22]
test al, 1
jne 0x1004c2a7
jmp 0x1004c346
mov eax, dword [0x10064bf0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x10064bec]
mov dword [esp + 0x14], ecx
sub eax, 0xee0455a1
sub eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, 0xee0455a1
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
imul eax, ecx
and eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
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 + 0xb], al
mov al, byte [esp + 0xb]
test al, 1
jne 0x1004c31a
jmp 0x1004c346
add esp, 0x84
pop esi
pop ebx
ret
mov eax, dword [str._vJPM]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xbfbc3641
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1004c1a1
jmp 0x1004c2a7