Function at 0x10035ed0
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov dword [ebp - 0xa0], eax
mov edi, ecx
mov byte [ebp - 0x95], dl
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0xb8], edi
mov byte [ebp - 0x8d], 0
movlpd qword [ebp - 0xd4], xmm0
mov dword [ebp - 0x94], ebx
test eax, eax
je 0x10035f32
push eax
push ebx
push dword [0x10059a38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0xf8
push 0
push esi
call fcn.10049330
movzx ecx, word [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0x40], 0xfff7
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 3
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], 0x19
mov dword [esi + 0x54], ebx
mov dword [esi + 0x60], 2
mov dword [esi + 0x64], ebx
test byte [0x10059abc], 1
mov dword [ebp - 0xb0], ecx
je 0x10035fb9
movzx eax, byte [ebp - 0x95]
push ecx
push eax
push str.Decoding_Transport_Parameters__Server___hhu____hu_bytes_
push 0xffffffffffffffff
lea eax, [ebp - 0x8c]
push 0x80
push eax
call fcn.100015f0
lea eax, [ebp - 0x8c]
mov edx, 0x1004c9b0
push eax
push edi
call fcn.10001280
mov ecx, dword [ebp - 0xb0]
add esp, 0x20
xor eax, eax
cmp ax, word [ebp + 0xc]
jae 0x1003749d
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc8], eax
nop dword [eax]
movzx edx, bx
lea eax, [edx + 1]
cmp ecx, eax
jb 0x10037486
mov ebx, dword [ebp - 0xa0]
add ebx, edx
mov dword [ebp - 0xc0], ebx
mov cl, byte [ebx]
cmp cl, 0x40
jae 0x1003601b
movzx eax, cl
cdq
mov ebx, eax
mov dword [ebp - 0xac], edx
mov ecx, edx
mov eax, 1
jmp 0x100360a5
cmp cl, 0x80
jae 0x10036057
lea eax, [edx + 2]
cmp dword [ebp - 0xb0], eax
jb 0x10037486
and cl, 0x3f
movzx eax, cl
cdq
mov ebx, eax
mov ecx, edx
mov eax, dword [ebp - 0xc0]
shld ecx, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 1]
cdq
or ebx, eax
or ecx, edx
mov eax, 2
jmp 0x1003609f
cmp cl, 0xc0
jae 0x1003607c
lea eax, [edx + 4]
cmp dword [ebp - 0xb0], eax
jb 0x10037486
mov ebx, dword [ebx]
bswap ebx
and ebx, 0x3fffffff
xor ecx, ecx
lea eax, [ecx + 4]
jmp 0x1003609f
lea eax, [edx + 8]
cmp dword [ebp - 0xb0], eax
jb 0x10037486
mov ecx, dword [ebx]
mov eax, 8
mov ebx, dword [ebx + 4]
bswap ecx
bswap ebx
and ecx, 0x3fffffff
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x94]
add edx, eax
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0x94], edx
test ecx, ecx
ja 0x1003611b
jb 0x100360c4
cmp ebx, 0x40
jae 0x1003611b
xor edx, edx
xor ecx, ecx
mov eax, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
mov dword [ebp - 0xa4], ecx
mov ecx, edx
mov eax, dword [ebp - 0xa4]
and ecx, dword [ebp - 0xc8]
and eax, dword [ebp - 0xcc]
or ecx, eax
jne 0x100370bf
mov eax, dword [ebp - 0xcc]
or dword [ebp - 0xc8], edx
or eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xcc], eax
movzx edx, dx
lea eax, [edx + 1]
cmp dword [ebp - 0xb0], eax
jb 0x1003746f
mov eax, dword [ebp - 0xa0]
add eax, edx
mov dword [ebp - 0x9c], eax
mov cl, byte [eax]
cmp cl, 0x40
jae 0x10036158
movzx eax, cl
cdq
mov dword [ebp - 0xa4], edx
mov ecx, eax
mov edx, 1
jmp 0x100361ff
cmp cl, 0x80
jae 0x1003619c
lea eax, [edx + 2]
cmp dword [ebp - 0xb0], eax
jb 0x1003746f
and cl, 0x3f
movzx eax, cl
cdq
mov ecx, eax
shld edx, ecx, 8
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0x9c]
shl ecx, 8
movzx eax, byte [edx + 1]
cdq
or ecx, eax
or dword [ebp - 0xa4], edx
mov edx, 2
jmp 0x100361ff
cmp cl, 0xc0
jae 0x100361d1
lea eax, [edx + 4]
cmp dword [ebp - 0xb0], eax
jb 0x1003746f
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], 0
mov ecx, dword [edx]
mov edx, 4
bswap ecx
and ecx, 0x3fffffff
jmp 0x100361ff
lea eax, [edx + 8]
cmp dword [ebp - 0xb0], eax
jb 0x1003746f
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, 8
bswap eax
and eax, 0x3fffffff
bswap ecx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x94]
add eax, edx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x94], eax
movzx eax, ax
cdq
add eax, ecx
adc edx, dword [ebp - 0xa4]
test edx, edx
ja 0x10037458
jb 0x10036235
cmp eax, dword [ebp - 0xb0]
ja 0x10037458
xor eax, eax
movzx ecx, cx
mov edx, ecx
mov word [ebp - 0xa8], ax
cmp dword [ebp - 0xac], eax
ja 0x10036f6a
jb 0x1003625d
cmp ebx, 0xff03de1a
ja 0x10036f6a
cmp ebx, 0x1000
ja 0x10036e13
je 0x10036bd6
cmp ebx, 0x20
ja 0x10036f6a
movzx eax, byte [ebx + 0x10037544]
jmp dword [eax*4 + 0x100374f4]
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10036bd2
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x10036bc3
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
inc ebp
mov ah, 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1003697e
jae 0x10036c06
insb byte es:[edi], dx
invalid
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1003697e
outsb dx, byte [esi]
not byte [ebp + 0x7c858d08]
invalid
adc al, ch
push cs
cli
invalid
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10037055
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10037073
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100370d1
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100370b8
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100370c1
or byte [eax + ecx], 2
or byte [edx], al
cmp dword [ebp + 0x10], ebx
je 0x100370cb
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100370ad
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10037037
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1003711e
dec eax
je 0x10037115
sub eax, 3
je 0x1003710c
mov dword [ebp - 4], 0x40
jmp 0x1003713b
mov dword [ebp - 4], 4
jmp 0x10037121
mov dword [ebp - 4], 0x20
jmp 0x10037121
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1003716d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100370ed
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1003697e
iretd
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.1003698e
pop ecx
push eax
push dword [ebp + 0x18]
jne 0x10037489
push dword [ebp + 0x14]
call fcn.10036943
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.1003697e
mov ebx, 0x804a47c1
movsd dword es:[edi], dword [esi]
pushfd
stc
invalid
invalid
inc edi
dec edx
and byte [ebp - 0x664], 0
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.1003698e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10036943
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
invalid