Function at 0x480df4
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x480dfc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aac
xor eax, eax
push ebp
push 0x481287
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
call fcn.00406158
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x480e61
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, 0x10
mov edx, dword [ebp - 4]
call fcn.00478bf0
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x480e70
cmp dword [ebp - 0xc], 0
je 0x480e9a
push 0
push 0
lea edx, [ebp - 0x24]
mov eax, 0x4812a0
call fcn.00476f40
lea edx, [ebp - 0x24]
mov ecx, 0x10
mov eax, dword [ebp - 0xc]
call fcn.00478ac4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x481259
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 8]
call fcn.00406170
xor eax, eax
push ebp
push 0x481252
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x47df0c]
mov eax, 0x90
call fcn.00405500
mov ebx, eax
lea ecx, [ebp - 0x28]
mov edx, 0x4812d0
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.00404650
lea ecx, [ebp - 0x2c]
mov edx, 0x4812e0
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 4]
call fcn.00404650
lea ecx, [ebp - 0x30]
mov edx, 0x4812f4
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 8]
call fcn.00404650
lea ecx, [ebp - 0x34]
mov edx, 0x481308
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0xc]
call fcn.00404650
lea ecx, [ebp - 0x38]
mov edx, 0x48131c
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x10]
call fcn.00404650
lea ecx, [ebp - 0x3c]
mov edx, 0x481334
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x14]
call fcn.00404650
mov edx, 0x481348
mov eax, dword [ebp - 0x14]
call fcn.004781b4
mov byte [ebx + 0x70], al
lea ecx, [ebp - 0x40]
mov edx, 0x48135c
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x18]
call fcn.00404650
lea ecx, [ebp - 0x44]
mov edx, 0x48136c
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x1c]
call fcn.00404650
lea ecx, [ebp - 0x48]
mov edx, 0x481384
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x20]
call fcn.00404650
mov edx, 0x481398
mov eax, dword [ebp - 0x14]
call fcn.004781b4
mov dword [ebx + 0x24], eax
mov edx, 0x4813ac
mov eax, dword [ebp - 0x14]
call fcn.004781b4
mov dword [ebx + 0x28], eax
mov edx, 0x4813c4
mov eax, dword [ebp - 0x14]
call fcn.004781b4
mov dword [ebx + 0x2c], eax
lea ecx, [ebp - 0x4c]
mov edx, 0x4813dc
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x30]
call fcn.00404650
lea ecx, [ebp - 0x50]
mov edx, 0x4813f0
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x34]
call fcn.00404650
lea ecx, [ebp - 0x54]
mov edx, 0x481408
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x3c]
call fcn.00404650
lea ecx, [ebp - 0x58]
mov edx, 0x48141c
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 0x40]
call fcn.00404650
lea ecx, [ebp - 0x5c]
mov edx, 0x48142c
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x44]
call fcn.00404650
lea ecx, [ebp - 0x60]
mov edx, 0x481440
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x60]
lea eax, [ebx + 0x48]
call fcn.00404650
lea ecx, [ebp - 0x64]
mov edx, 0x481458
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0x4c]
call fcn.00404650
lea ecx, [ebp - 0x68]
mov edx, 0x481470
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x68]
lea eax, [ebx + 0x50]
call fcn.00404650
lea ecx, [ebp - 0x6c]
mov edx, 0x481480
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x6c]
lea eax, [ebx + 0x54]
call fcn.00404650
lea ecx, [ebp - 0x70]
mov edx, 0x481490
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x70]
lea eax, [ebx + 0x58]
call fcn.00404650
lea ecx, [ebp - 0x74]
mov edx, 0x4814a4
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 0x5c]
call fcn.00404650
mov edx, 0x4814bc
mov eax, dword [ebp - 0x14]
call fcn.004781b4
mov dword [ebx + 0x60], eax
lea ecx, [ebp - 0x78]
mov edx, 0x4814d0
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 0x64]
call fcn.00404650
lea ecx, [ebp - 0x7c]
mov edx, 0x4814e0
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x7c]
lea eax, [ebx + 0x68]
call fcn.00404650
lea ecx, [ebp - 0x80]
mov edx, 0x4814f8
mov eax, dword [ebp - 0x14]
call fcn.004780c4
mov edx, dword [ebp - 0x80]
lea eax, [ebx + 0x6c]
call fcn.00404650
mov edx, 0x481514
mov eax, dword [ebp - 0x14]
call fcn.004781b4
mov dword [ebx + 0x74], eax
mov edx, 0x481528
mov eax, dword [ebp - 0x14]
call fcn.004781b4
mov dword [ebx + 0x78], eax
mov edx, 0x48153c
mov eax, dword [ebp - 0x14]
call fcn.004781b4
mov dword [ebx + 0x7c], eax
mov edx, 0x481550
mov eax, dword [ebp - 0x14]
call fcn.004781b4
mov dword [ebx + 0x80], eax
mov edx, 0x481564
mov eax, dword [ebp - 0x14]
call fcn.004782a0
fstp qword [ebx + 0x88]
wait
lea edx, [ebp - 0x84]
mov eax, dword [ebx + 4]
call fcn.00408a80
cmp dword [ebp - 0x84], 0
je 0x481214
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xac]
mov ecx, ebx
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x481221
mov edx, dword [0x47df0c]
mov eax, ebx
call fcn.00405514
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481259
cmp dword [ebp - 0x10], 0
je 0x481240
mov eax, dword [ebp - 0x10]
call fcn.004037c0
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x481251
mov eax, dword [ebp - 0xc]
call fcn.004037c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48128e
lea eax, [ebp - 0x84]
mov edx, 0x18
call fcn.00404620
lea eax, [ebp - 0x14]
call fcn.00406158
lea eax, [ebp - 4]
call fcn.004045fc
ret