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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xd0
mov esi, dword [esp + 0xe8]
mov ebx, dword [esp + 0xec]
cmp esi, 0x800
jb 0x4b3127
call sym.adb.exe_EVP_sha256
jmp 0x4b312c
call sym.adb.exe_EVP_sha1
mov dword [esp + 0x2c], eax
push eax
call sym.adb.exe_EVP_MD_size
add esp, 4
cmp esi, 0x200
mov ebp, 0x200
mov edi, eax
cmova ebp, esi
test ebx, ebx
je 0x4b3177
mov edx, dword [esp + 0xf0]
xor eax, eax
cmp edi, edx
ja 0x4b377b
cmovb edx, edi
test edx, edx
je 0x4b3177
lea ecx, [esp + 0xb0]
push edx
push ebx
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
call sym.adb.exe_BN_CTX_new
test eax, eax
je 0x4b3276
mov esi, eax
push eax
call sym.adb.exe_BN_CTX_start
add esp, 4
push esi
call sym.adb.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0xc], eax
push esi
call sym.adb.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x20], eax
push esi
call sym.adb.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x14], eax
push esi
call sym.adb.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x1c], eax
push esi
call sym.adb.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x24], eax
push esi
call sym.adb.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x40], eax
push esi
call sym.adb.exe_BN_CTX_get
add esp, 4
mov dword [esp + 0x18], eax
push esi
call sym.adb.exe_BN_CTX_get
add esp, 4
test eax, eax
je 0x4b3268
add ebp, 0x3f
mov dword [esp + 4], ebx
mov ebx, eax
and ebp, 0xffffffc0
call sym.adb.exe_BN_value_one
dec ebp
push ebp
push eax
mov dword [esp + 0x18], ebx
push ebx
call sym.adb.exe_BN_lshift
add esp, 0xc
test eax, eax
je 0x4b3268
lea eax, [edi - 1]
mov ecx, 0xcccccccd
mov ebx, dword [esp + 0xfc]
mov dword [esp + 0x34], ebp
mov dword [esp], 0
mov dword [esp + 0x4c], eax
mov eax, ebp
mov ebp, dword [esp + 0x2c]
mul ecx
mov eax, edi
and eax, 0xffffffe0
shr edx, 7
mov dword [esp + 0x38], eax
lea eax, [edi*8]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
lea eax, [edi - 2]
mov dword [esp + 0x3c], eax
xor eax, eax
jmp 0x4b3290
mov dword [esp], 0
xor ebx, ebx
jmp 0x4b375d
mov dword [esp], 0
xor ebx, ebx
jmp 0x4b376f
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
mov dword [esp + 0x28], eax
push eax
push 0
push ebx
call sym.adb.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x4b3621
cmp dword [esp + 4], 0
lea ebx, [esp + 0xb0]
sete byte [esp + 4]
jne 0x4b32cd
push edi
push ebx
call sym.adb.exe_RAND_bytes
add esp, 8
test eax, eax
je 0x4b3750
test edi, edi
je 0x4b3310
push edi
push ebx
lea eax, [esp + 0x98]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
push ebx
lea eax, [esp + 0x78]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x3c]
nop word cs:[eax + eax]
inc byte [esp + eax + 0x91]
jne 0x4b3310
cmp eax, edi
lea eax, [eax - 1]
jb 0x4b3300
push 0
push ebp
push 0
lea eax, [esp + 0x5c]
push eax
push edi
push ebx
call sym.adb.exe_EVP_Digest
add esp, 0x18
test eax, eax
je 0x4b3750
push 0
push ebp
push 0
lea eax, [esp + 0x7c]
push eax
push edi
lea eax, [esp + 0xa4]
push eax
call sym.adb.exe_EVP_Digest
add esp, 0x18
test eax, eax
je 0x4b3750
test edi, edi
je 0x4b33ae
xor eax, eax
cmp edi, 0x20
jb 0x4b33a0
mov ecx, dword [esp + 0x38]
xor eax, eax
movups xmm0, xmmword [esp + eax + 0x70]
movups xmm2, xmmword [esp + eax + 0x50]
movups xmm1, xmmword [esp + eax + 0x80]
movups xmm3, xmmword [esp + eax + 0x60]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [esp + eax + 0x50], xmm2
movups xmmword [esp + eax + 0x60], xmm3
add eax, 0x20
cmp ecx, eax
jne 0x4b3360
cmp edi, ecx
mov eax, ecx
je 0x4b33ae
nop word cs:[eax + eax]
nop
movzx ecx, byte [esp + eax + 0x70]
xor byte [esp + eax + 0x50], cl
inc eax
cmp edi, eax
jne 0x4b33a0
mov ebx, dword [esp + 0x1c]
or byte [esp + 0x50], 0x80
or byte [esp + edi + 0x4f], 1
push ebx
push edi
lea eax, [esp + 0x58]
push eax
call sym.adb.exe_BN_bin2bn
add esp, 0xc
test eax, eax
je 0x4b3750
mov cl, byte [esp + 4]
mov ebp, dword [esp + 0xfc]
inc dword [esp + 0x28]
xor eax, eax
mov al, cl
push ebp
push eax
push esi
push 0x32
push ebx
call sym.adb.exe_BN_is_prime_fasttest_ex
add esp, 0x14
test eax, eax
jle 0x4b3600
push 0
push 2
push ebp
call sym.adb.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x4b3750
mov ebx, ebp
push 0
push 3
push ebp
call sym.adb.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x4b3750
mov ebp, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 8], esi
test eax, eax
je 0x4b344e
push eax
push 0
push ebx
mov ebx, eax
call sym.adb.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
mov eax, ebx
je 0x4b3750
mov dword [esp + 0x30], eax
push dword [esp + 0x14]
call sym.adb.exe_BN_zero
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x4c]
nop word cs:[eax + eax]
nop
cmp eax, edi
jae 0x4b3480
inc byte [esp + eax + 0x90]
lea eax, [eax - 1]
je 0x4b3470
push 0
push ebp
push 0
lea esi, [esp + 0x5c]
push esi
push edi
lea eax, [esp + 0xa4]
push eax
call sym.adb.exe_EVP_Digest
add esp, 0x18
test eax, eax
je 0x4b3630
mov eax, esi
mov esi, dword [esp + 0xc]
push esi
push edi
push eax
call sym.adb.exe_BN_bin2bn
add esp, 0xc
test eax, eax
je 0x4b3630
mov eax, dword [esp + 0x48]
imul eax, ebx
push eax
push esi
push esi
call sym.adb.exe_BN_lshift
add esp, 0xc
test eax, eax
je 0x4b3630
push esi
mov esi, dword [esp + 0x18]
push esi
push esi
call sym.adb.exe_BN_add
add esp, 0xc
test eax, eax
je 0x4b3630
cmp ebx, dword [esp + 0x44]
lea ebx, [ebx + 1]
jb 0x4b3460
push dword [esp + 0x34]
push esi
call sym.adb.exe_BN_mask_bits
add esp, 8
test eax, eax
je 0x4b3630
push esi
mov ebx, dword [esp + 0x28]
push ebx
call sym.adb.exe_BN_copy
add esp, 8
mov esi, dword [esp + 8]
test eax, eax
je 0x4b3750
push dword [esp + 0x10]
push ebx
push ebx
call sym.adb.exe_BN_add
add esp, 0xc
test eax, eax
je 0x4b3750
mov ebx, dword [esp + 0x1c]
push ebx
push dword [esp + 0x10]
call sym.adb.exe_BN_lshift1
add esp, 8
test eax, eax
je 0x4b3750
push esi
push dword [esp + 0x10]
push dword [esp + 0x2c]
mov ebx, dword [esp + 0x4c]
push ebx
push 0
call sym.adb.exe_BN_div
add esp, 0x14
test eax, eax
je 0x4b3750
call sym.adb.exe_BN_value_one
push eax
push ebx
push dword [esp + 0x14]
call sym.adb.exe_BN_sub
add esp, 0xc
test eax, eax
je 0x4b3750
push dword [esp + 0xc]
push dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
push ebx
call sym.adb.exe_BN_sub
add esp, 0xc
test eax, eax
je 0x4b3750
push dword [esp + 0x10]
push ebx
call sym.adb.exe_BN_cmp
add esp, 8
test eax, eax
js 0x4b35e2
push dword [esp + 0xfc]
push 1
push esi
push 0x32
push ebx
call sym.adb.exe_BN_is_prime_fasttest_ex
add esp, 0x14
test eax, eax
jg 0x4b364a
test eax, eax
jne 0x4b3750
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0xfc]
cmp eax, 0xffe
lea eax, [eax + 1]
jbe 0x4b3432
jmp 0x4b3284
test eax, eax
mov ebx, ebp
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
je 0x4b3290
mov dword [esp], 0
xor ebx, ebx
test esi, esi
jne 0x4b375d
jmp 0x4b376f
mov esi, dword [esp + 8]
xor ebx, ebx
mov dword [esp], 0
test esi, esi
jne 0x4b375d
jmp 0x4b376f
push 1
push 2
push dword [esp + 0x104]
call sym.adb.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x4b3750
call sym.adb.exe_BN_value_one
push eax
push ebx
mov edi, dword [esp + 0x18]
push edi
call sym.adb.exe_BN_sub
add esp, 0xc
test eax, eax
je 0x4b3750
push esi
push dword [esp + 0x20]
push edi
push 0
push dword [esp + 0x1c]
call sym.adb.exe_BN_div
add esp, 0x14
test eax, eax
je 0x4b3750
push esi
push ebx
call sym.adb.exe_BN_MONT_CTX_new_for_modulus
add esp, 8
test eax, eax
mov dword [esp], 0
mov dword [esp + 4], eax
je 0x4b3621
push 2
push dword [esp + 0x14]
call sym.adb.exe_BN_set_word
add esp, 8
test eax, eax
je 0x4b3847
push dword [esp + 4]
push esi
push dword [esp + 0x20]
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x34]
call sym.adb.exe_BN_mod_exp_mont
add esp, 0x18
test eax, eax
je 0x4b3843
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 8]
mov ebx, dword [esp + 4]
mov dword [esp + 0x14], 2
mov edi, ebp
push ebp
call sym.adb.exe_BN_is_one
add esp, 4
test eax, eax
je 0x4b3786
call sym.adb.exe_BN_value_one
push eax
mov ebp, dword [esp + 0x14]
push ebp
push ebp
call sym.adb.exe_BN_add
add esp, 0xc
test eax, eax
je 0x4b3759
inc dword [esp + 0x14]
push ebx
push esi
push dword [esp + 0x20]
push dword [esp + 0x18]
push ebp
mov ebp, edi
push edi
call sym.adb.exe_BN_mod_exp_mont
add esp, 0x18
test eax, eax
jne 0x4b3709
jmp 0x4b3759
xor ebx, ebx
mov dword [esp], 0
test esi, esi
je 0x4b376f
push esi
call sym.adb.exe_BN_CTX_end
add esp, 4
push esi
call sym.adb.exe_BN_CTX_free
add esp, 4
push ebx
call sym.adb.exe_BN_MONT_CTX_free
add esp, 4
mov eax, dword [esp]
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret
push 1
push 3
push dword [esp + 0x104]
call sym.adb.exe_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x4b3843
mov esi, dword [esp + 0xe4]
push dword [esi + 4]
call sym.adb.exe_BN_free
add esp, 4
push dword [esi + 8]
call sym.adb.exe_BN_free
add esp, 4
push dword [esi + 0xc]
call sym.adb.exe_BN_free
add esp, 4
push dword [esp + 0x18]
call sym.adb.exe_BN_dup
add esp, 4
mov dword [esi + 4], eax
push dword [esp + 0x1c]
call sym.adb.exe_BN_dup
add esp, 4
mov dword [esi + 8], eax
push dword [esp + 0x20]
call sym.adb.exe_BN_dup
add esp, 4
mov dword [esi + 0xc], eax
cmp dword [esi + 4], 0
je 0x4b3843
test eax, eax
je 0x4b3843
mov eax, dword [esp + 0xe4]
mov eax, dword [eax + 8]
test eax, eax
je 0x4b3843
cmp dword [esp + 0xf4], 0
je 0x4b3825
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
cmp dword [esp + 0xf8], 0
mov dword [esp], 1
je 0x4b3843
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov esi, dword [esp + 8]
mov ebx, dword [esp + 4]
test esi, esi
jne 0x4b375d
jmp 0x4b376f