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

Disassembly:
mov eax, 0xcc
call fcn.110afe90
mov eax, dword [0x1111aac8]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
push ebp
push esi
mov esi, dword [esp + 0xe0]
xor ebp, ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xf8]
shr esi, 3
push edi
mov edi, dword [esp + 0xec]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], 2
cmp esi, 0x14
je 0x110366ce
cmp esi, 0x1c
je 0x110366ce
cmp esi, 0x20
je 0x110366ce
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.110b03b7
add esp, 0xcc
ret
cmp eax, ebp
jne 0x110366db
call sym.LIBEAY32.dll_EVP_sha1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xe0]
cmp eax, 0x200
jae 0x110366ee
mov eax, 0x200
add eax, 0x3f
shr eax, 6
shl eax, 6
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xf0]
cmp eax, ebp
je 0x1103670f
cmp eax, esi
jae 0x11036711
xor edi, edi
cmp eax, esi
jbe 0x1103671c
mov eax, esi
mov dword [esp + 0xf0], eax
cmp edi, ebp
je 0x11036732
push eax
lea edx, [esp + 0x98]
push edi
push edx
call fcn.110b1390
add esp, 0xc
push ebx
call sym.LIBEAY32.dll_BN_CTX_new
mov ebx, eax
cmp ebx, ebp
je 0x11036cc5
call sym.LIBEAY32.dll_BN_MONT_CTX_new
mov dword [esp + 0x24], eax
test eax, eax
je 0x11036ca5
push ebx
call sym.LIBEAY32.dll_BN_CTX_start
push ebx
call sym.LIBEAY32.dll_BN_CTX_get
push ebx
mov ebp, eax
call sym.LIBEAY32.dll_BN_CTX_get
push ebx
mov dword [esp + 0x64], eax
call sym.LIBEAY32.dll_BN_CTX_get
push ebx
mov dword [esp + 0x3c], eax
call sym.LIBEAY32.dll_BN_CTX_get
push ebx
mov dword [esp + 0x30], eax
call sym.LIBEAY32.dll_BN_CTX_get
push ebx
mov dword [esp + 0x6c], eax
call sym.LIBEAY32.dll_BN_CTX_get
push ebx
mov dword [esp + 0x5c], eax
call sym.LIBEAY32.dll_BN_CTX_get
push ebx
mov dword [esp + 0x6c], eax
call sym.LIBEAY32.dll_BN_CTX_get
mov edi, eax
mov eax, dword [esp + 0x108]
dec eax
add esp, 0x24
push eax
mov dword [esp + 0x18], edi
call sym.LIBEAY32.dll_BN_value_one
push eax
push edi
call sym.LIBEAY32.dll_BN_lshift
add esp, 0xc
test eax, eax
je 0x11036ca5
lea esp, [esp]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
push edi
push 0
push eax
call sym.LIBEAY32.dll_BN_GENCB_call
inc edi
add esp, 0xc
mov dword [esp + 0x38], edi
test eax, eax
je 0x11036ca5
cmp dword [esp + 0xf4], 0
jne 0x11036813
lea ecx, [esp + 0x98]
push esi
push ecx
call sym.LIBEAY32.dll_RAND_pseudo_bytes
add esp, 8
mov edi, 1
jmp 0x1103681c
xor edi, edi
mov dword [esp + 0xf4], edi
push esi
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.110b1390
push esi
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0xcc]
push edx
call fcn.110b1390
lea eax, [esi - 1]
add esp, 0x18
test eax, eax
jl 0x1103685e
add byte [esp + eax + 0x78], 1
jne 0x1103685e
sub eax, 1
jns 0x11036852
mov eax, dword [esp + 0x20]
push 0
push eax
push 0
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xa8]
push esi
push edx
call sym.LIBEAY32.dll_EVP_Digest
mov eax, dword [esp + 0x38]
push 0
push eax
push 0
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0xa0]
push esi
push edx
call sym.LIBEAY32.dll_EVP_Digest
add esp, 0x30
xor eax, eax
test esi, esi
jle 0x110368b2
mov cl, byte [esp + eax + 0xb8]
xor byte [esp + eax + 0x58], cl
inc eax
cmp eax, esi
jl 0x110368a2
mov edx, dword [esp + 0x18]
or byte [esp + 0x58], 0x80
or byte [esp + esi + 0x57], 1
push edx
lea eax, [esp + 0x5c]
push esi
push eax
call sym.LIBEAY32.dll_BN_bin2bn
add esp, 0xc
test eax, eax
je 0x11036ca5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push edi
push ebx
push 0x32
push edx
call sym.LIBEAY32.dll_BN_is_prime_fasttest_ex
add esp, 0x14
test eax, eax
jg 0x110368fc
je 0x110367d0
jmp 0x11036ca5
mov eax, dword [esp + 0x10]
push 0
push 2
push eax
call sym.LIBEAY32.dll_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x11036ca5
mov ecx, dword [esp + 0x10]
push 0
push 3
push ecx
call sym.LIBEAY32.dll_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x11036ca5
mov edx, dword [esp + 0xe4]
dec edx
mov eax, 0xcccccccd
mul edx
shr edx, 7
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], edx
lea esp, [esp]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x11036970
push eax
mov eax, dword [esp + 0x14]
push 0
push eax
call sym.LIBEAY32.dll_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x11036ca5
mov ecx, dword [esp + 0x28]
push 0
push ecx
call sym.LIBEAY32.dll_BN_set_word
xor edi, edi
add esp, 8
cmp dword [esp + 0x34], edi
jl 0x11036a15
jmp 0x11036990
lea eax, [esi - 1]
test eax, eax
jl 0x110369a3
add byte [esp + eax + 0x78], 1
jne 0x110369a3
sub eax, 1
jns 0x11036997
mov edx, dword [esp + 0x20]
push 0
push edx
push 0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x88]
push esi
push ecx
call sym.LIBEAY32.dll_EVP_Digest
push ebp
lea edx, [esp + 0x74]
push esi
push edx
call sym.LIBEAY32.dll_BN_bin2bn
add esp, 0x24
test eax, eax
je 0x11036ca5
lea eax, [esi*8]
imul eax, edi
push eax
push ebp
push ebp
call sym.LIBEAY32.dll_BN_lshift
add esp, 0xc
test eax, eax
je 0x11036ca5
mov eax, dword [esp + 0x28]
push ebp
push eax
push eax
call sym.LIBEAY32.dll_BN_add
add esp, 0xc
test eax, eax
je 0x11036ca5
inc edi
cmp edi, dword [esp + 0x34]
jle 0x11036990
mov eax, dword [esp + 0xe4]
mov edi, dword [esp + 0x28]
dec eax
push eax
push edi
call sym.LIBEAY32.dll_BN_mask_bits
add esp, 8
test eax, eax
je 0x11036ca5
push edi
mov edi, dword [esp + 0x54]
push edi
call sym.LIBEAY32.dll_BN_copy
add esp, 8
test eax, eax
je 0x11036ca5
mov ecx, dword [esp + 0x14]
push ecx
push edi
push edi
call sym.LIBEAY32.dll_BN_add
add esp, 0xc
test eax, eax
je 0x11036ca5
mov edx, dword [esp + 0x18]
push edx
push ebp
call sym.LIBEAY32.dll_BN_lshift1
add esp, 8
test eax, eax
je 0x11036ca5
mov eax, dword [esp + 0x3c]
push ebx
push ebp
push edi
push eax
push 0
call sym.LIBEAY32.dll_BN_div
add esp, 0x14
test eax, eax
je 0x11036ca5
call sym.LIBEAY32.dll_BN_value_one
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push ebp
call sym.LIBEAY32.dll_BN_sub
add esp, 0xc
test eax, eax
je 0x11036ca5
push ebp
push edi
mov edi, dword [esp + 0x50]
push edi
call sym.LIBEAY32.dll_BN_sub
add esp, 0xc
test eax, eax
je 0x11036ca5
mov edx, dword [esp + 0x14]
push edx
push edi
call sym.LIBEAY32.dll_BN_cmp
add esp, 8
test eax, eax
jl 0x11036af2
mov eax, dword [esp + 0x10]
push eax
push 1
push ebx
push 0x32
push edi
call sym.LIBEAY32.dll_BN_is_prime_fasttest_ex
add esp, 0x14
test eax, eax
jg 0x11036b0b
jne 0x11036ca5
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0x1000
mov dword [esp + 0x1c], eax
jl 0x11036950
jmp 0x110367d0
mov ecx, dword [esp + 0x10]
push 1
push 2
push ecx
call sym.LIBEAY32.dll_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x11036ca5
call sym.LIBEAY32.dll_BN_value_one
mov esi, dword [esp + 0x14]
push eax
push edi
push esi
call sym.LIBEAY32.dll_BN_sub
add esp, 0xc
test eax, eax
je 0x11036ca5
mov edx, dword [esp + 0x18]
push ebx
push edx
push esi
push 0
push ebp
call sym.LIBEAY32.dll_BN_div
add esp, 0x14
test eax, eax
je 0x11036ca5
push 2
push esi
call sym.LIBEAY32.dll_BN_set_word
add esp, 8
test eax, eax
je 0x11036ca5
mov eax, dword [esp + 0x24]
push ebx
push edi
push eax
call sym.LIBEAY32.dll_BN_MONT_CTX_set
add esp, 0xc
test eax, eax
je 0x11036ca5
mov ecx, dword [esp + 0x24]
push ecx
push ebx
push edi
mov edx, esi
mov esi, dword [esp + 0x60]
push ebp
push edx
push esi
call sym.LIBEAY32.dll_BN_mod_exp_mont
add esp, 0x18
test eax, eax
je 0x11036ca5
cmp dword [esi + 4], 1
jne 0x11036bf6
mov eax, dword [esi]
cmp dword [eax], 1
jne 0x11036bf6
cmp dword [esi + 0xc], 0
jne 0x11036bf6
call sym.LIBEAY32.dll_BN_value_one
push eax
mov eax, dword [esp + 0x18]
push eax
push eax
call sym.LIBEAY32.dll_BN_add
add esp, 0xc
test eax, eax
je 0x11036ca5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
inc dword [esp + 0x2c]
push ecx
push ebx
push edi
push ebp
push edx
push esi
call sym.LIBEAY32.dll_BN_mod_exp_mont
add esp, 0x18
test eax, eax
jne 0x11036ba4
jmp 0x11036ca5
mov eax, dword [esp + 0x10]
push 1
push 3
push eax
call sym.LIBEAY32.dll_BN_GENCB_call
add esp, 0xc
test eax, eax
je 0x11036ca5
mov ebp, dword [esp + 0x40]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], 1
mov edi, edi
test eax, eax
je 0x11036c2d
push eax
call sym.LIBEAY32.dll_BN_free
add esp, 4
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x11036c3d
push eax
call sym.LIBEAY32.dll_BN_free
add esp, 4
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x11036c4d
push eax
call sym.LIBEAY32.dll_BN_free
add esp, 4
push edi
call sym.LIBEAY32.dll_BN_dup
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [ebp + 0xc], eax
call sym.LIBEAY32.dll_BN_dup
push esi
mov dword [ebp + 0x10], eax
call sym.LIBEAY32.dll_BN_dup
add esp, 0xc
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x14], eax
je 0x11036c7f
cmp dword [ebp + 0x10], 0
je 0x11036c7f
test eax, eax
jne 0x11036c89
mov dword [esp + 0x30], 0
jmp 0x11036ca5
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x11036c97
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x11036ca5
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
push ebx
call sym.LIBEAY32.dll_BN_CTX_end
push ebx
call sym.LIBEAY32.dll_BN_CTX_free
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x11036cc5
push eax
call sym.LIBEAY32.dll_BN_MONT_CTX_free
add esp, 4
mov ecx, dword [esp + 0xd8]
mov eax, dword [esp + 0x30]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.110b03b7
add esp, 0xcc
ret