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

Disassembly:
sub esp, 0x60
mov eax, dword [ecx]
push ebx
push ebp
mov ebp, dword [edx + 0x10]
xor ebx, ebx
push esi
xor esi, esi
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x30], esi
mov esi, dword [edx]
push edi
mov edi, dword [edx + 4]
inc esi
push esi
push dword [ecx + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x74], eax
call fcn.005ad490
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + 0xc]
push esi
push ecx
test eax, eax
jne 0x61dbc8
call fcn.005ad630
sub eax, 5
add esp, 8
neg eax
sbb eax, eax
and eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
call fcn.005ad1a0
mov ecx, dword [esp + 0x40]
mov edx, eax
mov dword [esp + 0x54], edx
mov ecx, dword [ecx + 0x24]
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
push edx
push dword [esp + 0x24]
mov edx, dword [eax + 0x14]
call fcn.00611b50
add esp, 0x14
test eax, eax
jne 0x61df76
lea eax, [esp + 0x1c]
mov dword [esp + 0x48], 0xffffffff
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x58]
push dword [esp + 0x54]
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x61df41
cmp dword [esp + 0x1c], edi
jl 0x61dc01
test ebx, ebx
jne 0x61de47
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov eax, ebp
or eax, ebx
je 0x61ddeb
mov eax, ebp
mov dword [esp + 0x2c], esi
and eax, 1
or eax, esi
jne 0x61dcb4
nop dword [eax]
inc esi
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, ebp
and ecx, ebx
or edx, ecx
je 0x61dc90
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x7c]
xor edx, edx
dec edi
xor ecx, ecx
mov eax, edi
xor ebx, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, ebp
and ecx, dword [esp + 0x18]
or edx, ecx
jne 0x61dd05
mov esi, dword [esp + 0x18]
dec edi
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
inc ebx
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, ebp
and ecx, esi
or edx, ecx
je 0x61dce0
mov esi, dword [esp + 0x2c]
sub esi, ebx
mov eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test edi, edi
jle 0x61ddeb
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], 0
mov ecx, dword [eax + 0x24]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x2c]
push dword [esp + 0x54]
mov ebp, dword [ecx]
push dword [esp + 0x5c]
mov edx, dword [eax + 0x14]
call fcn.00611b50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x61dded
add edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x2c], edi
jge 0x61dd9d
lea eax, [esp + 0x2c]
mov dword [esp + 0x5c], 0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x54], 0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], 0
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [ebp + 0x14]
push ebx
call eax
mov esi, eax
add esp, 0x18
test esi, esi
je 0x61dd57
mov eax, dword [ebp + 0x10]
push ebx
call eax
add esp, 4
test esi, esi
je 0x61ddaf
cmp esi, 0x65
jne 0x61dded
xor eax, eax
cmp esi, 0x65
sete al
sub eax, dword [esp + 0x7c]
add eax, dword [esp + 0x2c]
test eax, eax
jle 0x61ddeb
movq xmm1, qword [esp + 0x68]
add dword [esp + 0x24], eax
movd xmm0, eax
psrlq xmm1, xmm0
movq qword [esp + 0x68], xmm1
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
xor esi, esi
mov ebx, 1
test esi, esi
jne 0x61df64
mov edi, dword [esp + 0x24]
test edi, edi
jg 0x61de17
cmp dword [esp + 0x74], esi
jg 0x61de17
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x61de39
mov edx, dword [esp + 0x14]
push ecx
jmp 0x61de20
mov edx, dword [esp + 0x88]
push 0xffffffffffffffff
mov ecx, dword [esp + 0x90]
call fcn.0061daa0
mov esi, eax
add esp, 4
test esi, esi
jne 0x61df64
mov ebp, dword [esp + 0x3c]
cmp dword [esp + 0x1c], edi
jl 0x61dc01
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
add eax, edi
cmp edx, eax
jge 0x61df31
xor ecx, ecx
sub edx, edi
xor eax, eax
bts ecx, edx
cmp edx, 0x20
cmovae eax, ecx
xor ecx, eax
cmp edx, 0x40
cmovae eax, ecx
and ecx, ebp
and eax, dword [esp + 0x18]
or ecx, eax
je 0x61de81
mov edi, 1
jmp 0x61de83
xor edi, edi
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x1c], eax
jle 0x61deb4
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
sub eax, ecx
push eax
lea edx, [edx + ecx]
mov ecx, dword [esp + 0x90]
call fcn.0061daa0
mov esi, eax
add esp, 4
test esi, esi
jne 0x61df1b
test edi, edi
je 0x61ded6
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
push 0xffffffffffffffff
call fcn.0061daa0
mov esi, eax
add esp, 4
test esi, esi
jne 0x61df1b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
lea edx, [ecx + edx]
mov ecx, dword [esp + 0x90]
call fcn.0061daa0
mov esi, eax
add esp, 4
test esi, esi
jne 0x61df1b
test edi, edi
je 0x61df1b
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x8c]
push 0xffffffffffffffff
call fcn.0061daa0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x34], eax
test esi, esi
je 0x61dc01
jmp 0x61df64
cmp dword [esp + 0x78], 0
je 0x61df64
mov edx, dword [esp + 0x88]
jmp 0x61df51
cmp esi, 0x65
jne 0x61df64
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
lea edx, [edx + esi]
mov ecx, dword [esp + 0x8c]
push 0xffffffffffffffff
call fcn.0061daa0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x44]
push dword [esp + 0x40]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret