Function at 0x10002e98
Capabilities:
Check os version
Encode data using xor
Get common file path

Disassembly:
push 0x224
push 0x100c1be0
call fcn.10075ce0
and dword [ebp - 0x214], 0
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10002ebf
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x10002ecc
add dword [ebp - 0x214], eax
jmp 0x10002ed2
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 0x14
jl 0x10002eb0
mov esi, 0x100a6ea4
push esi
push esi
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
call edi
xor eax, eax
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 0x30
jl 0x10002ee9
mov ebx, 0xffff0001
mov eax, dword [ebp - 0x214]
cmp eax, ebx
jge 0x10002f0d
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
cdq
push 7
pop ecx
idiv ecx
test edx, edx
je 0x10002f23
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x214], eax
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 0x20
jl 0x10002f25
cmp dword [ebp - 0x214], 0
jge 0x10002f40
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10002f5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 0x16
jl 0x10002f5e
cmp dword [ebp - 0x214], ebx
jge 0x10002f81
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
je 0x10002f9d
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x214], eax
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10002fae
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x10002fbb
add dword [ebp - 0x214], eax
jmp 0x10002fc1
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 0x1e
jl 0x10002f9f
push esi
push esi
call edi
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x10002fe7
cmp edx, 4
je 0x10002fe7
and dword [ebp - 0x214], ecx
jmp 0x10002fed
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 7
jl 0x10002fcd
push 0xfa
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ebx, ebx
mov dword [ebp - 0x214], ebx
cmp ebx, ebx
jge 0x1000301c
mov eax, ebx
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10003038
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 3
jl 0x1000303a
cmp dword [ebp - 0x214], ebx
jge 0x1000305d
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10003079
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 0xe
jl 0x1000307b
cmp dword [ebp - 0x214], ebx
jge 0x10003095
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x100030b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x100030c2
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x100030cf
add dword [ebp - 0x214], eax
jmp 0x100030d5
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 0xa
jl 0x100030b3
push esi
push esi
call edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x230], ebx
cmp dword [ebp - 0x230], 4
jge 0x1000311e
mov eax, dword [ebp - 0x230]
and eax, reloc.WS2_32.dll_accept
jns 0x10003103
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x10003110
inc dword [ebp - 0x214]
jmp 0x10003116
dec dword [ebp - 0x214]
inc dword [ebp - 0x230]
jmp 0x100030e8
mov dword [ebp - 4], 0xfffffffe
call fcn.1000327d
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jge 0x10003142
neg eax
mov dword [ebp - 0x214], eax
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10003158
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
push 6
pop ebx
xor dword [ebp - 0x214], eax
inc eax
cmp eax, ebx
jl 0x1000315d
cmp dword [ebp - 0x214], 0
jge 0x10003177
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10003193
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, ebx
jl 0x10003195
cmp dword [ebp - 0x214], 0
jge 0x100031af
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x100031cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 4
jl 0x100031cd
cmp dword [ebp - 0x214], 0
jge 0x100031f1
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x1000320d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
xor eax, eax
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 4
jl 0x1000320f
cmp dword [ebp - 0x214], 0xffff0001
jge 0x10003236
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
je 0x10003252
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x214], eax
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10003263
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x10003298
add dword [ebp - 0x214], eax
jmp 0x1000329e
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 5
jl 0x10003254
push esi
push esi
call edi
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x100032b9
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x100032c6
add dword [ebp - 0x214], eax
jmp 0x100032cc
sub dword [ebp - 0x214], eax
inc eax
cmp eax, ebx
jl 0x100032aa
push esi
push esi
call edi
and dword [ebp - 0x214], 0
push 0xfa
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, ebx
jl 0x100032f0
cmp dword [ebp - 0x214], 0
jge 0x10003313
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x1000332f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10003340
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x1000334d
add dword [ebp - 0x214], eax
jmp 0x10003353
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 7
jl 0x10003331
push esi
push esi
call edi
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x1000336e
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x1000337b
add dword [ebp - 0x214], eax
jmp 0x10003381
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 4
jl 0x1000335f
push esi
push esi
call edi
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x100033a7
cmp edx, 4
je 0x100033a7
and dword [ebp - 0x214], ecx
jmp 0x100033af
nop
nop
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 6
jl 0x1000338d
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 3
jl 0x100033b7
cmp dword [ebp - 0x214], 0
jge 0x100033db
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x100033f7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
xor ebx, ebx
inc ebx
cmp edx, ebx
je 0x10003415
cmp edx, 4
je 0x10003415
and dword [ebp - 0x214], ecx
jmp 0x1000341d
nop
nop
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 7
jl 0x100033f9
mov dword [ebp - 4], ebx
and dword [ebp - 0x234], 0
cmp dword [ebp - 0x234], 6
jge 0x10003462
mov eax, dword [ebp - 0x234]
and eax, reloc.WS2_32.dll_accept
jns 0x10003448
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, ebx
jne 0x10003454
inc dword [ebp - 0x214]
jmp 0x1000345a
dec dword [ebp - 0x214]
inc dword [ebp - 0x234]
jmp 0x1000342d
mov dword [ebp - 4], 0xfffffffe
call fcn.100034db
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 6
jl 0x10003470
cmp dword [ebp - 0x214], 0
jge 0x10003494
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x100034b0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x100034c1
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, ebx
jne 0x100034f6
add dword [ebp - 0x214], eax
jmp 0x100034fc
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 2
jl 0x100034b2
push esi
push esi
call edi
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10003517
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, ebx
jne 0x10003523
add dword [ebp - 0x214], eax
jmp 0x10003529
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 4
jl 0x10003508
push esi
push esi
call edi
xor eax, eax
mov ecx, dword [ebp - 0x214]
and ecx, eax
mov dword [ebp - 0x214], ecx
inc eax
cmp eax, 2
jl 0x1000353b
test ecx, ecx
jns 0x10003556
imul ecx, ecx, 0xfffffffb
mov dword [ebp - 0x214], ecx
mov eax, ecx
cdq
push 0xd
pop ebx
idiv ebx
test edx, edx
jne 0x10003570
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
mov dword [ebp - 0x214], ecx
xor eax, eax
sub ecx, eax
mov dword [ebp - 0x214], ecx
inc eax
cmp eax, 5
jl 0x10003572
cmp ecx, 0xffff0001
jge 0x10003591
imul ecx, ecx, 0xfffffffb
mov dword [ebp - 0x214], ecx
mov eax, ecx
cdq
push 7
pop ebx
idiv ebx
test edx, edx
je 0x100035ab
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
mov dword [ebp - 0x214], ecx
xor eax, eax
sub ecx, eax
mov dword [ebp - 0x214], ecx
inc eax
cmp eax, 4
jl 0x100035ad
cmp ecx, 0xffff0001
jge 0x100035cc
imul ecx, ecx, 0xfffffffb
mov dword [ebp - 0x214], ecx
mov eax, ecx
cdq
push 7
pop ecx
idiv ecx
test edx, edx
je 0x100035e4
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x10003600
cmp edx, 4
je 0x10003600
and dword [ebp - 0x214], ecx
jmp 0x10003606
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 4
jl 0x100035e6
push 0xfa
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x1000363a
cmp edx, 4
je 0x1000363a
and dword [ebp - 0x214], ecx
jmp 0x10003642
nop
nop
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 6
jl 0x10003620
mov dword [ebp - 4], 2
and dword [ebp - 0x220], 0
cmp dword [ebp - 0x220], 5
jge 0x1000368c
mov eax, dword [ebp - 0x220]
and eax, reloc.WS2_32.dll_accept
jns 0x10003671
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x1000367e
inc dword [ebp - 0x214]
jmp 0x10003684
dec dword [ebp - 0x214]
inc dword [ebp - 0x220]
jmp 0x10003656
mov dword [ebp - 4], 0xfffffffe
call fcn.100036c1
xor eax, eax
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x100036a9
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x100036dc
add dword [ebp - 0x214], eax
jmp 0x100036e2
sub dword [ebp - 0x214], eax
inc eax
cmp eax, 7
jl 0x1000369a
push esi
push esi
call edi
push esi
push esi
call edi
xor eax, eax
push 3
pop ebx
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x10003704
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x10003711
add dword [ebp - 0x214], eax
jmp 0x10003717
sub dword [ebp - 0x214], eax
inc eax
cmp eax, ebx
jl 0x100036f5
push esi
push esi
call edi
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
push esi
push esi
call edi
mov dword [ebp - 4], ebx
and dword [ebp - 0x218], 0
cmp dword [ebp - 0x218], 4
jge 0x10003770
mov eax, dword [ebp - 0x218]
and eax, reloc.WS2_32.dll_accept
jns 0x10003755
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x10003762
inc dword [ebp - 0x214]
jmp 0x10003768
dec dword [ebp - 0x214]
inc dword [ebp - 0x218]
jmp 0x1000373a
mov dword [ebp - 4], 0xfffffffe
call fcn.100037c9
cmp eax, 0xffff0001
jge 0x1000378c
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
cdq
push 7
pop ecx
idiv ecx
test edx, edx
je 0x100037a2
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x100037e8
cmp edx, 4
je 0x100037e8
and dword [ebp - 0x214], ecx
jmp 0x100037f0
nop
nop
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 3
jl 0x100037a4
push 4
pop eax
mov dword [ebp - 4], eax
and dword [ebp - 0x228], 0
cmp dword [ebp - 0x228], eax
jge 0x10003839
mov ecx, dword [ebp - 0x228]
and ecx, reloc.WS2_32.dll_accept
jns 0x1000381e
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x1000382b
inc dword [ebp - 0x214]
jmp 0x10003831
dec dword [ebp - 0x214]
inc dword [ebp - 0x228]
jmp 0x10003803
mov dword [ebp - 4], 0xfffffffe
call fcn.1000396e
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
mov ebx, 0xffff0001
cmp eax, ebx
jge 0x10003863
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
je 0x1000387f
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x214], eax
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 3
jl 0x10003881
cmp dword [ebp - 0x214], 0
jge 0x1000389c
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x100038b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], ebx
jge 0x100038cf
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
je 0x100038eb
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x214], eax
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 3
jl 0x100038ed
cmp dword [ebp - 0x214], 0
jge 0x10003911
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x1000392d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 5
and dword [ebp - 0x21c], 0
cmp dword [ebp - 0x21c], 3
jge 0x10003997
mov eax, dword [ebp - 0x21c]
and eax, reloc.WS2_32.dll_accept
jns 0x10003956
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x10003989
inc dword [ebp - 0x214]
jmp 0x1000398f
dec dword [ebp - 0x214]
inc dword [ebp - 0x21c]
jmp 0x1000393b
mov dword [ebp - 4], 0xfffffffe
call fcn.100039ca
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x100039e5
cmp edx, 4
je 0x100039e5
and dword [ebp - 0x214], ecx
jmp 0x100039eb
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 2
jl 0x100039a5
push 0xfa
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 2
jl 0x10003a05
cmp dword [ebp - 0x214], 0
jge 0x10003a20
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10003a3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop ebx
idiv ebx
cmp edx, 1
je 0x10003a58
cmp edx, 4
je 0x10003a58
and dword [ebp - 0x214], ecx
jmp 0x10003a5e
sub dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 3
jl 0x10003a3e
mov ebx, 0xfa
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
test eax, eax
jns 0x10003a9b
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
push 7
pop ecx
idiv ecx
test edx, edx
jne 0x10003ab7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 4
jl 0x10003ab9
cmp dword [ebp - 0x214], 0
jge 0x10003add
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10003af9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 6
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x224], 1
jge 0x10003b3d
mov eax, dword [ebp - 0x224]
and eax, reloc.WS2_32.dll_accept
jns 0x10003b22
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x10003b2f
inc dword [ebp - 0x214]
jmp 0x10003b35
dec dword [ebp - 0x214]
inc dword [ebp - 0x224]
jmp 0x10003b07
mov dword [ebp - 4], 0xfffffffe
call fcn.10003c18
xor eax, eax
and dword [ebp - 0x214], eax
inc eax
cmp eax, 4
jl 0x10003b4b
cmp dword [ebp - 0x214], 0
jge 0x10003b6f
mov eax, dword [ebp - 0x214]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xd
pop ecx
idiv ecx
test edx, edx
jne 0x10003b8b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x214], eax
xor eax, eax
xor dword [ebp - 0x214], eax
inc eax
cmp eax, 3
jl 0x10003b8d