Function at 0x758920
Capabilities:
Encode data using xor
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x5c
mov eax, dword [edx + 8]
mov esi, dword [ebx + 0x28c8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov eax, esi
add eax, dword [edx + 0x10]
cmp eax, 0x200
jle 0x75894f
mov eax, 0x200
mov ecx, eax
mov edi, dword [ebx + 0x28e4]
sar ecx, 0x1f
not ecx
and ecx, eax
mov eax, ecx
and eax, 0x1f
movzx ebp, byte [eax + 0xe73f50]
rdtsc
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x18]
cmp eax, dword [ebx + 0x28b4]
je 0x758bf1
cmp esi, 0xffffff80
je 0x758bf1
mov ebx, ebp
movzx ebp, bl
mov dword [esp + 0x44], ebp
sar ecx, 5
shl dword [esp + 0x44], cl
imul edi, dword [esp + 0x44]
sar edi, 3
mov eax, dword [esp + 0x70]
xor ebp, ebp
test eax, eax
je 0x7589b8
mov eax, dword [esp + 0x78]
mov ebp, dword [eax]
mov edx, dword [esp + 0x74]
cmp dword [esp + 0x70], edx
jge 0x758a76
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], ecx
nop
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
imul ecx, dword [ebx + 0x24]
mov esi, dword [eax]
add ecx, dword [ebx + 0x20]
mov edx, dword [esi + ecx*4]
test edx, edx
je 0x758bb1
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x1c]
lea esi, [edx + eax*2]
mov eax, dword [ecx + 8]
mov dword [esp + 4], 0
mov dword [esp], esi
add eax, eax
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebx + 0x28]
lea eax, [ecx + ebp*4]
add ebp, 1
movsx ebx, word [eax]
cmp dword [esp + 0x3c], ebx
movzx edx, word [eax + 2]
jle 0x758a63
movzx eax, dx
lea ecx, [ecx + ebp*4 + 2]
mov edx, eax
add ebp, 1
sar eax, 1
and edx, 1
imul eax, dword [esp + 0x44]
neg edx
add eax, edi
sar eax, 0xb
xor eax, edx
sub ax, dx
mov word [esi + ebx*2], ax
movsx ebx, word [ecx - 2]
movzx eax, word [ecx]
add ecx, 4
cmp dword [esp + 0x3c], ebx
jg 0x758a34
add dword [esp + 0x40], 1
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x40], eax
jne 0x7589d0
cmp dword [esp + 0x3c], 0xc8
jle 0x758ba3
mov edi, dword [esp + 0x70]
test edi, edi
je 0x758ba3
rdtsc
mov edi, dword [0xe73c50]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
cmp edi, 1
jle 0x758c0b
mov ebx, dword [0xe73c60]
mov ecx, edi
mov esi, dword [0xe73c64]
sub eax, dword [esp + 0x48]
sbb edx, dword [esp + 0x4c]
sar ecx, 0x1f
mov dword [esp + 0x28], eax
mov eax, ebx
mov dword [esp + 0x2c], edx
mov edx, esi
shld edx, eax, 3
shl eax, 3
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00aa2320
cmp edx, 0
ja 0x758af9
cmp eax, 0x7d0
jb 0x758bd4
cmp dword [esp + 0x2c], edx
lea esi, [esi]
ja 0x758be5
jae 0x758c00
sub ebx, dword [esp + 0x48]
sbb esi, dword [esp + 0x4c]
add ebx, dword [esp + 0x50]
adc esi, dword [esp + 0x54]
add edi, 1
mov dword [0xe73c50], edi
mov dword [0xe73c60], ebx
mov dword [0xe73c64], esi
mov ecx, dword [0xe73c40]
lea edx, [ecx + edi]
lea eax, [edx - 1]
test edx, eax
jne 0x758ba3
mov dword [esp + 0x1c], ecx
mov eax, 0xa
mov ebx, edi
mul dword [0xe73c60]
imul ecx, dword [0xe73c64], 0xa
sar ebx, 0x1f
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
lea edx, [ecx + edx]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0xb67ce4
call fcn.00aa2320
mov dword [esp + 8], 0xb67a38
mov dword [esp + 4], 2
mov dword [esp], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0090e610
mov eax, dword [esp + 0x78]
mov dword [eax], ebp
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 8]
test ebx, ebx
js 0x758c1c
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
mov edx, dword [eax + ebx*4]
lea eax, [ebx - 1]
mov ebx, dword [esp + 0x34]
mov dword [esi + ecx*4], edx
mov dword [ebx + 8], eax
jmp 0x7589f0
xor edx, edx
mov eax, 0x7d0
cmp dword [esp + 0x2c], edx
jbe 0x758b06
add dword [0xe73c40], 1
jmp 0x758b31
xor edi, edi
mov dword [esp + 0x44], 0x800
jmp 0x7589a8
cmp dword [esp + 0x28], eax
jae 0x758be5
jmp 0x758b0c
mov ebx, dword [0xe73c60]
mov esi, dword [0xe73c64]
jmp 0x758b0c
mov dword [esp + 8], 0x208
mov dword [esp + 4], 0xb67a81
mov dword [esp], 0xb67ccb
call sub.msvcrt.dll__assert
nop
lea esi, [esi]