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

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x30]
push ebx
push ebp
push esi
xor edx, edx
push edi
mov edi, dword [eax + 0x2c]
mov dword [esp + 0x1c], ecx
add ecx, edi
xor ebp, ebp
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
test edx, edx
ja 0x62deb5
cmp dword [esp + 0x1c], edx
jbe 0x62df8d
mov cl, byte [edi]
test cl, cl
jns 0x62dec4
test cl, 0xf
jne 0x62df8d
test dword [eax + 0x78], 0x1000
jne 0x62df8d
mov dword [esp + 0x10], 1
test cl, cl
js 0x62dee2
test cl, 0xf
jne 0x62df1e
test edx, edx
ja 0x62deed
cmp dword [esp + 0x1c], 5
jb 0x62df1e
mov eax, dword [edi + 1]
add eax, 5
mov dword [esp + 0x38], eax
xor eax, eax
cmp edx, eax
jb 0x62df1e
ja 0x62df09
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x38]
jb 0x62df1e
mov eax, dword [edi + 1]
mov ecx, dword [esp + 0x38]
sub dword [esp + 0x1c], ecx
lea edi, [eax + edi + 5]
mov eax, edx
sbb dword [esp + 0x20], eax
cmp dword [esp + 0x20], edx
ja 0x62df2f
cmp dword [esp + 0x1c], 2
jb 0x62e022
mov cl, byte [edi + 1]
mov dl, cl
and dl, 0x7f
movzx eax, dl
cdq
shr cl, 5
and cl, 4
mov dword [esp + 0x38], eax
movzx eax, cl
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
cdq
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
test ecx, ecx
ja 0x62df93
jb 0x62df66
cmp dword [esp + 0x38], 0x7e
jae 0x62df98
cmp dword [esp + 0x20], edx
jb 0x62df93
ja 0x62df74
cmp dword [esp + 0x1c], eax
jb 0x62df93
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], esi
mov ebx, eax
add ebx, 2
mov esi, edx
mov ebp, ecx
adc esi, 0
jmp 0x62e022
mov dword [esp + 0x10], edx
jmp 0x62df1e
cmp dword [esp + 0x38], 0x7e
jne 0x62dfd2
test ecx, ecx
jne 0x62dfd2
mov ecx, dword [esp + 0x2c]
mov edx, eax
add edx, 4
adc ecx, ebx
cmp dword [esp + 0x20], ecx
jb 0x62dfce
ja 0x62dfb7
cmp dword [esp + 0x1c], edx
jb 0x62dfce
movzx eax, word [edi + 2]
push eax
mov ebx, edx
mov esi, ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
cdq
mov ebp, edx
jmp 0x62e01e
mov edx, dword [esp + 0x2c]
mov ecx, eax
add ecx, 0xa
mov eax, edx
adc eax, 0
cmp dword [esp + 0x20], eax
jb 0x62e022
ja 0x62dfea
cmp dword [esp + 0x1c], ecx
jb 0x62e022
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, ecx
mov ecx, dword [edi + 2]
push ecx
mov esi, eax
call ebp
push 1
push 0
push 0
push eax
call fcn.00729750
mov dword [esp + 0x3c], edx
mov edx, dword [edi + 6]
push edx
mov dword [esp + 0x3c], eax
call ebp
xor ebp, ebp
add eax, dword [esp + 0x38]
adc ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov eax, ebx
add eax, ecx
adc esi, ebp
mov dword [esp + 0x38], eax
jne 0x62e036
test eax, eax
jbe 0x62e044
cmp esi, dword [esp + 0x20]
ja 0x62e044
jb 0x62e04e
cmp eax, dword [esp + 0x1c]
jbe 0x62e04e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp dword [esp + 0x2c], 0
mov dl, byte [edi]
lea esi, [ebx + edi]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x24], dl
ja 0x62e06d
cmp dword [esp + 0x28], 0
jbe 0x62e0a7
xor eax, eax
xor ecx, ecx
test ebp, ebp
jb 0x62e0a7
ja 0x62e080
cmp dword [esp + 0x30], ecx
jbe 0x62e0a3
lea ecx, [ecx]
mov edx, eax
and edx, 3
sub edx, dword [esp + 0x28]
add edx, ebx
mov dl, byte [edx + edi]
xor byte [esi + eax], dl
add eax, 1
adc ecx, 0
cmp ecx, ebp
jb 0x62e080
ja 0x62e0a3
cmp eax, dword [esp + 0x30]
jb 0x62e080
mov dl, byte [esp + 0x24]
cmp dword [esp + 0x10], 0
je 0x62e19e
test dl, dl
js 0x62e102
test dl, 0xf
je 0x62e102
mov esi, dword [esp + 0x44]
mov edi, dword [esi + 0x34]
mov eax, dword [esi + 0x34]
add edi, 4
cmp edi, eax
ja 0x62e0d3
jae 0x62e0ee
cmp edi, dword [esi + 0x30]
jb 0x62e0ee
mov eax, dword [esi + 0x2c]
push edi
push eax
call fcn.00723dd8
add esp, 8
test eax, eax
jne 0x62e0e8
test edi, edi
jne 0x62e0ee
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], edi
mov ebp, dword [esp + 0x14]
and byte [ebp], 0xf0
lea edi, [ebp + 5]
mov dword [ebp + 1], 0
jmp 0x62e10a
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub eax, ecx
push eax
push ecx
push edi
call fcn.00724f50
mov ecx, dword [esp + 0x2c]
add dword [ebp + 1], ecx
mov al, byte [esp + 0x30]
mov edx, edi
sub edx, dword [esp + 0x28]
add esp, 0xc
add dword [esi + 0x30], edx
test al, al
jns 0x62e200
mov edx, dword [ebp + 1]
lea ecx, [ebp + 5]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
test al, 8
je 0x62e15d
mov ecx, dword [esi + 0x64]
lea eax, [esp + 0x1c]
push eax
push ecx
mov ebx, 0x72
jmp 0x62e16b
mov eax, dword [esi + 0x64]
lea edx, [esp + 0x1c]
push edx
push eax
mov ebx, 0x71
call fcn.0062c590
mov ebp, dword [ebp + 1]
add esp, 8
add ebp, 5
je 0x62e200
mov eax, dword [esi + 0x30]
cmp ebp, eax
ja 0x62e200
mov ecx, dword [esi + 0x2c]
sub eax, ebp
push eax
lea edx, [ecx + ebp]
push edx
push ecx
call fcn.00724f50
add esp, 0xc
sub dword [esi + 0x30], ebp
jmp 0x62e200
mov esi, dword [esp + 0x44]
test dl, 8
je 0x62e1b7
mov ecx, dword [esi + 0x64]
lea eax, [esp + 0x1c]
push eax
push ecx
mov ebx, 0x72
jmp 0x62e1c5
mov eax, dword [esi + 0x64]
lea edx, [esp + 0x1c]
push edx
push eax
mov ebx, 0x71
call fcn.0062c590
mov esi, dword [esp + 0x40]
add esp, 8
test esi, esi
jbe 0x62e1fc
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x30]
cmp esi, eax
ja 0x62e1fc
mov ebx, ecx
mov ecx, dword [ebx + 0x2c]
sub eax, esi
push eax
lea edx, [ecx + esi]
push edx
push ecx
call fcn.00724f50
add esp, 0xc
sub dword [ebx + 0x30], esi
mov esi, ebx
jmp 0x62e200
mov esi, dword [esp + 0x44]
mov al, byte [edi]
and al, 0xf
cmp al, 8
mov eax, 1
jne 0x62e214
or dword [esi + 0x78], 0x400
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret