Function at 0x546504
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x54650c
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f7c
xor eax, eax
push ebp
push 0x5467fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x546810
call fcn.0040b23c
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x90]
call fcn.00404b10
lea eax, [ebp - 0x14]
mov edx, dword [ebx + 0x90]
call fcn.004053ac
mov edx, dword [ebp - 0x14]
mov eax, dword [0x654df8]
mov eax, dword [eax]
call fcn.0053f0b8
mov eax, dword [0x654df8]
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
mov edx, 0x546844
mov eax, esi
call fcn.00512e5c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebx + 4], eax
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 4]
call fcn.00404b10
mov edx, 0x546854
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x10]
call fcn.00404b10
mov edx, 0x546868
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x14]
call fcn.00404b10
mov edx, 0x546878
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x18]
call fcn.00404b10
mov edx, 0x546888
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x1c]
call fcn.00404b10
mov edx, 0x546894
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x20]
call fcn.00404b10
mov edx, 0x5468a8
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x24]
call fcn.00404b10
mov edx, 0x5468b8
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x28]
call fcn.00404b10
mov edx, 0x5468cc
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x2c]
call fcn.00404b10
mov edx, 0x5468e0
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x30]
call fcn.00404b10
mov edx, 0x5468f4
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x34]
call fcn.00404b10
mov edx, 0x546908
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x38]
call fcn.00404b10
mov edx, 0x54691c
mov eax, esi
call fcn.00512e5c
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x40]
call fcn.00404b10
mov edx, 0x54692c
mov eax, esi
call fcn.00512e5c
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [ebx + 0x48]
wait
mov edx, 0x54693c
mov eax, esi
call fcn.00512e5c
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [ebx + 0x50]
wait
mov edx, 0x546950
mov eax, esi
call fcn.00512e5c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebx + 0x58]
wait
mov edx, 0x546960
mov eax, esi
call fcn.00512e5c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebx + 0x60]
wait
mov edx, 0x546970
mov eax, esi
call fcn.00512e5c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebx + 0x68]
wait
mov edx, 0x546980
mov eax, esi
call fcn.00512e5c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebx + 0x70]
wait
mov edx, 0x546990
mov eax, esi
call fcn.00512e5c
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebx + 0x8c], al
mov edx, 0x5469a0
mov eax, esi
call fcn.00512e5c
mov edx, eax
xor ecx, ecx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x214]
mov dword [ebx + 0x88], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x546802
lea eax, [ebp - 0x44]
mov edx, 0xc
call fcn.00404ae0
lea eax, [ebp - 0x14]
call fcn.00405200
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ae0
ret