Function at 0x403210
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x3a
mov byte [ebp - 0x1e], 8
mov byte [ebp - 0x1d], 0x21
mov byte [ebp - 0x1c], 8
mov byte [ebp - 0x1b], 0x54
mov byte [ebp - 0x1a], 8
mov byte [ebp - 0x19], 0x27
mov byte [ebp - 0x18], 8
mov byte [ebp - 0x17], 0x21
mov byte [ebp - 0x16], 8
mov byte [ebp - 0x15], 0x50
mov byte [ebp - 0x14], 8
mov byte [ebp - 0x13], 0x2a
mov byte [ebp - 0x12], 8
mov byte [ebp - 0x11], 0x7e
mov byte [ebp - 0x10], 8
mov byte [ebp - 0xf], 0x51
mov byte [ebp - 0xe], 8
mov byte [ebp - 0xd], 0x75
mov byte [ebp - 0xc], 8
mov byte [ebp - 0xb], 0x50
mov byte [ebp - 0xa], 8
mov byte [ebp - 9], 0x50
mov byte [ebp - 8], 8
mov byte [ebp - 7], 8
mov byte [ebp - 6], 8
mov al, byte [ebp - 0x1f]
mov al, byte [ebp - 0x20]
test al, al
jne 0x4032be
xor esi, esi
lea edi, [esi + 0x7f]
mov al, byte [ebp + esi - 0x1f]
mov ecx, 8
movzx eax, al
sub ecx, eax
mov eax, ecx
shl eax, 5
sub eax, ecx
add eax, eax
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + esi - 0x1f], dl
inc esi
cmp esi, 0x1a
jb 0x403294
mov eax, dword fs:[0x30]
mov edi, 3
mov esi, dword [eax + 0xc]
lea ebx, [edi + 2]
mov dword [ebp - 4], 0x62eb20
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp - 4]
test edx, edx
je 0x403321
add eax, 2
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x4032fc
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x4033ae
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x40331a
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x403302
jmp 0x4033ae
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x403332
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x40336d
mov ecx, dword [ebp - 4]
lea eax, [esi + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
test al, 1
jne 0x4033ae
nop word [eax + eax]
mov eax, dword [ebp - 4]
cdq
idiv ebx
mov eax, dword [ebp - 4]
test edx, edx
je 0x403360
dec eax
jmp 0x403361
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test al, 1
je 0x403350
jmp 0x4033ae
mov eax, dword [ebp - 4]
cdq
idiv ebx
test edx, edx
je 0x4033ae
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x17]
add eax, 0xb
cdq
idiv ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
jne 0x4033ae
mov eax, dword [ebp - 4]
cdq
idiv ebx
mov eax, dword [ebp - 4]
test edx, edx
je 0x4033a0
inc eax
jmp 0x4033a1
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
je 0x403390
mov ebx, dword [esi + 0x10]
mov dword [ebp - 4], 0x62eb20
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp - 4]
test edx, edx
je 0x403403
add eax, 2
add eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x4033de
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x4033fa
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x4033f8
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x4033e0
mov ecx, edi
mov edi, 5
jmp 0x403455
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x403414
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x4034b6
mov ecx, dword [ebp - 4]
lea eax, [ebx + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
test al, 1
jne 0x4033fa
mov edi, 5
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp - 4]
test edx, edx
je 0x403445
dec eax
jmp 0x403446
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test al, 1
je 0x403435
mov ecx, 3
mov esi, dword [ebx + 0x10]
mov dword [ebp - 4], 0x62eb20
mov eax, dword [ebp - 4]
cdq
idiv ecx
mov eax, dword [ebp - 4]
test edx, edx
je 0x40350a
add eax, 2
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x403489
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x4034aa
nop dword [eax + eax]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x4034a8
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x403490
mov esi, 5
mov edi, ebx
jmp 0x4035bb
mov eax, dword [ebp - 4]
mov edi, 5
cdq
idiv edi
test edx, edx
je 0x403450
mov eax, dword [ebp - 4]
lea ecx, [ebx + 0x17]
add eax, 0xb
cdq
idiv ecx
mov ecx, 3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x403455
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp - 4]
test edx, edx
je 0x4034f7
inc eax
jmp 0x4034f8
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x4034e7
jmp 0x403455
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x40351b
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x40355c
mov ecx, dword [ebp - 4]
lea eax, [esi + 3]
add ecx, 2
mov esi, 5
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
test al, 1
jne 0x403553
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x403548
dec eax
jmp 0x403549
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test al, 1
je 0x403538
mov ecx, 3
mov edi, ebx
jmp 0x4035bb
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
je 0x4034aa
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x17]
add eax, 0xb
cdq
idiv ecx
mov ecx, 3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x4034aa
mov esi, 5
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x4035a1
inc eax
jmp 0x4035a2
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x403591
mov edi, ebx
jmp 0x4035bb
mov ecx, 3
lea esi, [ecx + 2]
mov edi, dword [edi]
mov dword [ebp - 4], 0x62eb20
mov eax, dword [ebp - 4]
cdq
idiv ecx
mov eax, dword [ebp - 4]
test edx, edx
je 0x40360c
add eax, 2
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x4035ea
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x403660
nop dword [eax]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x403608
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x4035f0
jmp 0x403660
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x40361d
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x4036c1
mov ecx, dword [ebp - 4]
lea eax, [edi + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
test al, 1
jne 0x40365b
nop dword [eax]
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x403650
dec eax
jmp 0x403651
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test al, 1
je 0x403640
mov ecx, 3
mov esi, dword [edi + 0x18]
test esi, esi
je 0x4037bc
mov dword [ebp - 4], 0x62eb20
mov eax, dword [ebp - 4]
cdq
idiv ecx
mov eax, dword [ebp - 4]
test edx, edx
je 0x403713
add eax, 2
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x40369c
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x4037ae
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x4036ba
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x4036a2
jmp 0x4037ae
mov eax, dword [ebp - 4]
cdq
idiv esi
test edx, edx
je 0x403660
mov eax, dword [ebp - 4]
lea ecx, [edi + 0x17]
add eax, 0xb
cdq
idiv ecx
mov ecx, 3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x403660
nop dword [eax]
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x403700
inc eax
jmp 0x403701
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x4036f0
jmp 0x403660
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x403724
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x40375e
mov ecx, dword [ebp - 4]
lea eax, [esi + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
test al, 1
jne 0x4037ae
mov esi, 5
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x403751
dec eax
jmp 0x403752
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test al, 1
je 0x403741
jmp 0x4037ae
mov eax, dword [ebp - 4]
mov ecx, 5
cdq
idiv ecx
test edx, edx
je 0x4037ae
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x17]
add eax, 0xb
cdq
idiv ecx
mov ecx, 3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x4037ae
mov esi, 5
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x4037a0
inc eax
jmp 0x4037a1
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x403790
mov ecx, edi
call fcn.00402f80
cmp eax, 0xb26771d8
je 0x4037c4
cmp ebx, edi
jne 0x4035b3
mov esi, dword [edi + 0x18]
mov edi, 3
mov dword [ebp - 4], 0x62eb20
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp - 4]
test edx, edx
je 0x403823
add eax, 2
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x4037f9
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x4038be
nop
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x403818
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x403800
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
and eax, reloc.WS2_32.dll_closesocket
jns 0x403834
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x403875
mov ecx, dword [ebp - 4]
lea eax, [esi + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
test al, 1
jne 0x4038be
mov ecx, 5
mov eax, dword [ebp - 4]
cdq
idiv ecx
mov eax, dword [ebp - 4]
test edx, edx
je 0x403861
dec eax
jmp 0x403862
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test al, 1
je 0x403851
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ebx, 5
cdq
idiv ebx
test edx, edx
je 0x4038be
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x17]
add eax, 0xb
cdq
idiv ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
jne 0x4038be
nop dword [eax]
mov eax, dword [ebp - 4]
cdq
idiv ebx
mov eax, dword [ebp - 4]
test edx, edx
je 0x4038b0
inc eax
jmp 0x4038b1
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
je 0x4038a0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret