Function at 0x54a180
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x54a189
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
call fcn.00405164
mov eax, dword [ebp - 8]
call fcn.00405164
mov eax, dword [ebp + 0x40]
call fcn.00405164
mov eax, dword [ebp + 0x3c]
call fcn.00405164
mov eax, dword [ebp + 0x38]
call fcn.00405164
mov eax, dword [ebp + 0x34]
call fcn.00405164
mov eax, dword [ebp + 0x30]
call fcn.00405164
mov eax, dword [ebp + 0x2c]
call fcn.00405164
mov eax, dword [ebp + 0x28]
call fcn.00405164
mov eax, dword [ebp + 0x24]
call fcn.00405164
mov eax, dword [ebp + 0x20]
call fcn.00405164
mov eax, dword [ebp + 0x1c]
call fcn.00405164
mov eax, dword [ebp + 0x18]
call fcn.00405164
mov eax, dword [ebp + 0x14]
call fcn.00405164
xor eax, eax
push ebp
push 0x54a4cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x546810]
mov eax, 0x88
call fcn.00405ce4
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040c11c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00404d08
lea eax, [ebx + 0xc]
mov edx, dword [ebp + 0x40]
call fcn.00404d08
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x30]
call fcn.0040c11c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 4]
call fcn.00404d08
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0040c11c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 8]
call fcn.00404d08
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 0x3c]
call fcn.0040c11c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x10]
call fcn.00404d08
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 0x38]
call fcn.0040c11c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x14]
call fcn.00404d08
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 0x34]
call fcn.0040c11c
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x18]
call fcn.00404d08
mov edx, dword [ebp + 0x30]
mov eax, esi
call fcn.0054b468
mov byte [ebx + 0x20], al
mov dword [ebx + 0x24], edi
mov edx, edi
mov eax, esi
call fcn.0054b640
mov dword [ebx + 0x28], eax
mov al, byte [ebp + 0xc]
mov byte [ebx + 0x2c], al
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 0x2c]
call fcn.0040c11c
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x40]
call fcn.00404d08
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 0x28]
call fcn.0040c11c
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x30]
call fcn.00404d08
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 0x24]
call fcn.0040c11c
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x34]
call fcn.00404d08
lea edx, [ebp - 0x30]
mov eax, dword [ebp + 0x20]
call fcn.0040c11c
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x38]
call fcn.00404d08
lea edx, [ebp - 0x34]
mov eax, dword [ebp + 0x1c]
call fcn.0040c11c
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x3c]
call fcn.00404d08
lea edx, [ebp - 0x38]
mov eax, dword [ebp + 0x18]
call fcn.0040c11c
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x44]
call fcn.00404d08
lea edx, [ebp - 0x3c]
mov eax, dword [ebp + 0x14]
call fcn.0040c11c
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x48]
call fcn.00404d08
mov al, byte [ebp + 8]
mov byte [ebx + 0x2d], al
mov byte [ebx + 0x80], 0
cmp byte [ebx + 0x20], 0x39
jne 0x54a39a
mov edx, dword [ebx]
mov eax, esi
call fcn.00547bf4
mov byte [ebx + 0x20], al
mov edx, ebx
mov eax, dword [esi + 4]
call fcn.0041e024
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea ecx, [ebp - 0x6c]
mov dl, 1
mov al, byte [ebx + 0x2c]
call fcn.0040c870
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
lea edx, [ebp - 0x68]
mov ecx, 4
mov eax, 0x54a4e8
call fcn.0040d808
mov eax, dword [ebp - 0x40]
call fcn.00592d9c
cmp byte [ebx + 0x20], 5
jne 0x54a49a
inc dword [esi + 0xc]
cmp dword [ebx + 0x24], 0
jne 0x54a417
mov byte [esi + 0x11], 1
lea edx, [ebp - 0x70]
mov eax, dword [ebx]
call fcn.0040bd88
mov edx, dword [ebp - 0x70]
mov eax, 0x54a540
call fcn.004052b8
dec eax
jle 0x54a43f
mov eax, 0x54a554
call fcn.00592d9c
mov byte [esi + 0x10], 1
cmp dword [esi + 8], 0
jne 0x54a49a
lea edx, [ebp - 0x74]
mov eax, dword [ebx]
call fcn.0040bd88
mov edx, dword [ebp - 0x74]
mov eax, 0x54a578
call fcn.004052b8
mov edi, eax
test edi, edi
jle 0x54a49a
lea eax, [esi + 8]
push eax
mov eax, dword [ebx]
call fcn.00404f74
mov ecx, eax
sub ecx, edi
sub ecx, 8
lea edx, [edi + 8]
mov eax, dword [ebx]
call fcn.004051d4
mov edx, dword [esi + 8]
mov eax, 0x54a58c
call fcn.004052b8
test eax, eax
jle 0x54a49a
mov edx, eax
dec edx
lea eax, [esi + 8]
call fcn.00405300
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a4d6
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.00404cd8
lea eax, [ebp - 0x40]
mov edx, 0x10
call fcn.00404cd8
lea eax, [ebp + 0x14]
mov edx, 0xc
call fcn.00404cd8
ret