Function at 0x4077f0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4274db
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4330e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x14], esi
lea edi, [esi + 8]
mov dword [ebp - 0x230], esi
mov ecx, edi
mov dword [esi], str.C:ProgramDataPORSCHE_VCIVCI.ini
mov dword [ebp - 0x14], edi
call fcn.00404420
lea eax, [esi + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], eax
mov dword [eax], 0
lea eax, [esi + 0x18]
mov dword [eax], 0
mov dword [ebp - 0x7c], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
xorps xmm0, xmm0
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x40], 0
lea ecx, [esi + 0x50]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
call fcn.004072e0
mov byte [ebp - 4], 5
push 0xf0
mov dword [esi + 0x138], 0
mov dword [esi + 0x13c], 0
call fcn.0040e22c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x138], eax
lea eax, [esi + 0x140]
push 2
push eax
call fcn.0040dc6c
mov dword [esi + 0x170], 0
mov dword [esi + 0x174], 0
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x184], 0
mov byte [ebp - 4], 9
call fcn.0040de88
push str.GM_MDIC_VCI
push str.C:ProgramDataPORSCHE_VCIVCI.ini
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
call fcn.0040f800
add esp, 0x14
test eax, eax
je 0x40794f
mov dword [esi + 4], 2
jmp 0x40796a
push str.PORSCHE_VCI
push str.C:ProgramDataPORSCHE_VCIVCI.ini
call fcn.0040f800
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [esi + 4], eax
mov ecx, esi
call fcn.00405c30
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x5c]
movlpd qword [ebp - 0x54], xmm0
push eax
mov edx, edi
movlpd qword [ebp - 0x4c], xmm0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x58], 0
call fcn.0040a1c0
mov esi, dword [ebp - 0x7c]
add esp, 4
mov ecx, esi
push eax
call fcn.0040a340
lea ecx, [ebp - 0x88]
call fcn.004099e0
push 0x97e0
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x5a], ax
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x5c]
mov edx, edi
push eax
call fcn.0040a1c0
mov edi, dword [ebp - 0x224]
add esp, 4
mov ecx, edi
push eax
call fcn.0040a340
lea ecx, [ebp - 0x88]
call fcn.004099e0
mov ecx, dword [esi]
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 1
call fcn.0040a400
mov ecx, dword [edi]
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 1
call fcn.0040a400
xorps xmm0, xmm0
push 0x1000
movlpd qword [ebp - 0x64], xmm0
call fcn.004174bf
mov edi, eax
mov byte [ebp - 0x38], 1
mov al, byte [ebp - 0x78]
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x78]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], eax
push 0x10
mov byte [ebp - 4], 0xa
call fcn.0040e22c
xorps xmm0, xmm0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], eax
movups xmmword [eax], xmm0
lea ecx, [eax + 4]
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [ecx], 1
mov dword [ebp - 0x218], ecx
lea ecx, [eax + 8]
mov dword [ecx], 1
mov dword [eax], vtable.std::_Ref_count_resource_unsigned_char___class__public:_void___thiscall_VciToolServer::constructor_char_const__::_2::_lambda_1__.0
mov dword [ebp - 0x88], ecx
mov dword [eax + 0xc], edi
mov byte [ebp - 4], 0xb
push 0x1c
movlpd qword [ebp - 0x6c], xmm0
call fcn.0040e22c
mov esi, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi], 2
mov dword [esi + 4], 0
mov dword [ebp - 0x220], esi
push 0x10
mov byte [ebp - 4], 0xc
call fcn.0040e22c
xorps xmm0, xmm0
mov dword [ebp - 0x94], eax
push 0x1c
push 0
movups xmmword [eax], xmm0
lea ecx, [eax + 4]
mov dword [ebp - 0x6c], esi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [ebp - 0x214], ecx
mov dword [ecx], 1
lea ecx, [eax + 8]
mov dword [ebp - 0x220], ecx
mov dword [ecx], 1
mov dword [eax], vtable.std::_Ref_count_class_asio::ip::basic_endpoint_class_asio::ip::udp__.0
mov dword [eax + 0xc], esi
mov dword [ebp - 0x68], eax
call fcn.0040e4b2
add esp, 0x18
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x34], 0x405fc0
mov dword [ebp - 0x30], 0
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], 0
lock inc dword [eax]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lock inc dword [eax]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], eax
lea eax, [ecx + 0x44]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x228], edi
push eax
push 0
push esi
lea eax, [ebp - 0x228]
mov dword [ebp - 0x224], 0x1000
lea edx, [ecx + 4]
mov ecx, dword [ecx]
push eax
push edx
call fcn.0040b380
mov edi, dword [ebp - 0x24]
or esi, 0xffffffff
test edi, edi
je 0x407bfa
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x407bfa
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x407bfa
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x407c20
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x407c20
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x407c20
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xorps xmm0, xmm0
push 0x1000
movlpd qword [ebp - 0x74], xmm0
call fcn.004174bf
mov edi, eax
mov byte [ebp - 0x38], 1
mov al, byte [ebp - 0x78]
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x78]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], eax
push 0x10
mov byte [ebp - 4], 0xf
call fcn.0040e22c
xorps xmm0, xmm0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], eax
movups xmmword [eax], xmm0
lea ecx, [eax + 4]
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [ecx], 1
mov dword [ebp - 0x210], ecx
lea ecx, [eax + 8]
mov dword [ecx], 1
mov dword [eax], vtable.std::_Ref_count_resource_unsigned_char___class__public:_void___thiscall_VciToolServer::constructor_char_const__::_2::_lambda_2__.0
mov dword [ebp - 0x224], ecx
mov dword [eax + 0xc], edi
mov byte [ebp - 4], 0x10
push 0x1c
movlpd qword [ebp - 0x3c], xmm0
call fcn.0040e22c
mov esi, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi], 2
mov dword [esi + 4], 0
mov dword [ebp - 0x21c], esi
push 0x10
mov byte [ebp - 4], 0x11
call fcn.0040e22c
xorps xmm0, xmm0
mov dword [ebp - 0x8c], eax
push 0x1c
push 0
movups xmmword [eax], xmm0
lea ecx, [eax + 4]
mov dword [ebp - 0x3c], esi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [ebp - 0x20c], ecx
mov dword [ecx], 1
lea ecx, [eax + 8]
mov dword [ebp - 0x21c], ecx
mov dword [ecx], 1
mov dword [eax], vtable.std::_Ref_count_class_asio::ip::basic_endpoint_class_asio::ip::udp__.0
mov dword [eax + 0xc], esi
mov dword [ebp - 0x38], eax
call fcn.0040e4b2
add esp, 0x18
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x34], 0x406860
mov dword [ebp - 0x30], 0
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], 0
lock inc dword [eax]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lock inc dword [eax]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], eax
lea eax, [ecx + 0x44]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x80], edi
push eax
push 0
push esi
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0x1000
lea edx, [ecx + 4]
mov ecx, dword [ecx]
push eax
push edx
call fcn.0040b380
mov byte [ebp - 4], 0x12
or esi, 0xffffffff
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x407de9
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x407de9
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x407de9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x407e0f
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x407e0f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x407e0f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 8
call fcn.0040e22c
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov dword [eax], ecx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x14
push ecx
push 0
push eax
push 0x40aee0
push 0
push 0
call fcn.0041261d
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x80], ecx
test ecx, ecx
je 0x408a52
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x22c]
cmp dword [edi + 0x2c], 0
jne 0x408a60
mov eax, dword [ebp - 0x7c]
push str.GlobalVW6154VciShareMemory
push 0
push 0xf001f
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [edi + 0x30], eax
test eax, eax
jne 0x407edb
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalVW6154VciShareMemory
push 0x400
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x84], 0xc
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x84]
push 0x8000004
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x7c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [edi + 0x30], eax
test eax, eax
je 0x40889e
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push str.GlobalVW6154VciShareMemoryFunc
push 0
push 0xf001f
mov dword [edi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [edi + 0x38], eax
test eax, eax
jne 0x407f67
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalVW6154VciShareMemoryFunc
push 0x400
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x84], 0xc
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x84]
push 0x8000004
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x7c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [edi + 0x38], eax
test eax, eax
je 0x40889e
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [edi + 0x34]
mov dword [edi + 0x3c], eax
test ecx, ecx
je 0x40896e
test eax, eax
je 0x40896e
push 0x400
mov byte [ecx], 0
push 0
push dword [edi + 0x3c]
call fcn.00410190
mov dword [ebp - 0x208], 0x6f010000
mov dword [ebp - 0x204], 0x47335450
mov dword [ebp - 0x200], 0x494356
mov dword [ebp - 0x1fc], 0x313031
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0x2e323931
mov dword [ebp - 0x1f0], 0x2e383631
mov dword [ebp - 0x1ec], 0x362e3331
mov dword [ebp - 0x1e8], 0x34322f39
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0x33303000
mov dword [ebp - 0x1ac], 0x31350031
mov dword [ebp - 0x1a8], 0x32383435
mov dword [ebp - 0x1a4], 0x30300034
mov dword [ebp - 0x1a0], 0x303000
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0x10000
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
add esp, 8
mov dword [ebp - 0xd8], 0
lea eax, [ebp - 0x99]
mov dword [ebp - 0xd4], 0
lea ecx, [ebp - 0x208]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
push eax
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov word [ebp - 0x9c], 0
mov byte [ebp - 0x9a], 0
call fcn.00409ae0
lea edx, [edi + 0x170]
mov dword [ebp - 0x7c], eax
cmp edx, eax
je 0x4083dd
mov ecx, dword [edx]
test ecx, ecx
je 0x4083b6
mov edx, dword [edx + 8]
sub edx, ecx
cmp edx, 0x1000
jb 0x408392
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x14], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x408a65
mov ecx, dword [ebp - 0x14]
push edx
push ecx
call fcn.0040e4b2
lea edx, [edi + 0x170]
add esp, 8
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x408411
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x408407
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a65
push edx
push ecx
call fcn.0040e4b2
add esp, 8
mov dword [ebp - 0x208], 0x6f010000
mov dword [ebp - 0x204], 0x47335450
mov dword [ebp - 0x200], 0x494356
mov dword [ebp - 0x1fc], 0x313031
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0x2e323931
mov dword [ebp - 0x1f0], 0x2e383631
mov dword [ebp - 0x1ec], 0x312e3136
mov dword [ebp - 0x1e8], 0x34322f
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0x31303000
mov dword [ebp - 0x1ac], 0x31350030
mov dword [ebp - 0x1a8], 0x32383435
mov dword [ebp - 0x1a4], 0x30300034
mov dword [ebp - 0x1a0], 0x303000
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0x10000
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
lea ecx, [ebp - 0x208]
mov dword [ebp - 0xc4], 0
push ecx
lea eax, [ebp - 0x99]
mov dword [ebp - 0xc0], 0
push eax
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov word [ebp - 0x9c], 0
mov byte [ebp - 0x9a], 0
call fcn.00409ae0
lea edx, [edi + 0x17c]
mov dword [ebp - 0x7c], eax
cmp edx, eax
je 0x40884b
mov ecx, dword [edx]
test ecx, ecx
je 0x408824
mov edx, dword [edx + 8]
sub edx, ecx
cmp edx, 0x1000
jb 0x408800
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x14], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x408a6a
mov ecx, dword [ebp - 0x14]
push edx
push ecx
call fcn.0040e4b2
lea edx, [edi + 0x17c]
add esp, 8
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x40887f
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x408875
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a6a
push edx
push ecx
call fcn.0040e4b2
add esp, 8
push 0
push str.D:PiwisAppsPIDT250
call fcn.00412fae
add esp, 8
test eax, eax
jne 0x408896
xor al, al
jmp 0x408898
mov al, 1
mov byte [edi + 0x188], al
mov ecx, dword [ebp - 0x20c]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x4088cf
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x21c]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x4088cf
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x210]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x408900
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x224]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x408900
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x214]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x408931
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x220]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x408931
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x218]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x408a33
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x88]
lock xadd dword [eax], esi
dec esi
jne 0x408a33
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x408a33
mov ecx, dword [ebp - 0x20c]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x40899f
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x21c]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x40899f
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x210]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x4089d0
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x224]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x4089d0
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x214]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x408a01
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x220]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x408a01
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x218]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x408a33
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x88]
lock xadd dword [eax], esi
dec esi
jne 0x408a33
mov eax, dword [ebp - 0x98]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e039
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [ebp - 0x7c], 0
call fcn.0040da0e
call fcn.00413038
call fcn.00412470
call fcn.00412470
int3