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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x488ec0
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4898cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, 1
mov eax, ebx
call fcn.00467858
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404988
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00404988
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00404988
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00404988
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0041df18
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0xffffffff
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00404988
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00404988
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404988
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00404988
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00404988
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00404988
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404988
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x55], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x59], edx
mov eax, dword [ebp - 4]
add eax, 0x5d
call fcn.00404988
mov eax, dword [ebp - 4]
add eax, 0x61
call fcn.00404988
mov eax, dword [ebp - 4]
add eax, 0x65
call fcn.00404988
mov eax, dword [ebp - 4]
add eax, 0x69
call fcn.00404988
mov eax, dword [ebp - 4]
mov byte [eax + 0x54], 0
mov eax, dword [ebp - 4]
call fcn.00489b48
test al, al
je 0x4898a4
xor edx, edx
push ebp
push 0x48989d
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x41b150]
call fcn.00403b60
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2c]
lea eax, [ebp - 0x24]
call fcn.00404c8c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.0041fe6c
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x10]
call fcn.0041f770
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404fc4
mov eax, dword [ebp - 0x10]
call fcn.0041f770
push eax
lea eax, [ebp - 0x14]
call fcn.00404e90
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 8]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
mov eax, 0x4898e8
call fcn.00404f7c
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, 0x489900
call fcn.00404f7c
mov esi, eax
test ebx, ebx
jle 0x4890ef
test esi, esi
jne 0x4890a9
call fcn.004043f0
jmp 0x4898a4
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
sub ecx, ebx
sub ecx, 0xf
lea edx, [ebx + 0xf]
mov eax, dword [ebp - 0x14]
call fcn.00404e98
mov eax, dword [ebp - 0x10]
call fcn.0041fe1c
mov eax, dword [ebp - 0x14]
call fcn.00404c40
push eax
lea eax, [ebp - 0x14]
call fcn.00404e90
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x10]
call fcn.0041f770
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404fc4
mov eax, dword [ebp - 0x10]
call fcn.0041f770
push eax
lea eax, [ebp - 0x14]
call fcn.00404e90
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 8]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
push 0x4898e8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
call fcn.00409304
push dword [ebp - 0x28]
push 0x489900
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, 3
call fcn.00404d00
lea eax, [ebp - 0x14]
call fcn.00404988
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x487eb0]
call fcn.00487f74
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x489918
mov edx, 0x48992c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00489fe4
push 0
mov edx, 0x48992c
mov ecx, 0x48993c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov edx, 0x48992c
mov ecx, 0x489950
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0048a1ec
push 0
mov ecx, 0x489964
mov edx, 0x489974
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x48922d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404c40
test eax, eax
je 0x489223
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x489223
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x489223
test ebx, ebx
jle 0x48922d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00404c40
test eax, eax
jne 0x48922d
call fcn.004043f0
jmp 0x4898a4
push 0
mov edx, 0x48992c
mov ecx, 0x489984
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 8]
test eax, eax
jle 0x489250
cmp eax, 0x32
jg 0x489250
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
push 0xffffffffffffffff
mov edx, 0x48992c
mov ecx, 0x489998
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov esi, eax
cmp esi, 0xffffffff
je 0x489278
mov eax, esi
call fcn.00488b7c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
push 0
mov edx, 0x48992c
mov ecx, 0x4899ac
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x58]
mov edx, dword [ebp - 4]
mov dword [edx + 0x55], eax
push 0
mov edx, 0x48992c
mov ecx, 0x4899c4
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x58]
mov edx, dword [ebp - 4]
mov dword [edx + 0x59], eax
push 0
lea eax, [ebp - 0x34]
push eax
mov edx, 0x48992c
mov ecx, 0x4899dc
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x5d
call fcn.004049dc
push 0
lea eax, [ebp - 0x38]
push eax
mov edx, 0x48992c
mov ecx, 0x4899f4
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x61
call fcn.004049dc
push 0
lea eax, [ebp - 0x3c]
push eax
mov edx, 0x48992c
mov ecx, 0x489a08
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
add eax, 0x65
call fcn.004049dc
push 0
lea eax, [ebp - 0x40]
push eax
mov edx, 0x48992c
mov ecx, 0x489a1c
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add eax, 0x69
call fcn.004049dc
push 0
mov edx, 0x48992c
mov ecx, 0x489a30
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 8]
test eax, eax
je 0x48935f
mov eax, dword [ebp - 4]
mov byte [eax + 0x54], 1
push 0
mov ecx, 0x489964
mov edx, 0x489a48
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 8]
test eax, eax
jle 0x4894a8
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x50]
jl 0x4894a8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004093b8
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
mov edx, 0x489a5c
call fcn.00404c8c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jle 0x4893d1
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x489a70
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.004049dc
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x489a84
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.004049dc
push 0
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x489a98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.004049dc
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x489aac
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049dc
push 0
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x489ac0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.004049dc
push 0
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x489ad0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004049dc
push 0
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x489ae4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.004049dc
jmp 0x48970f
test eax, eax
jle 0x4895d9
dec eax
jl 0x4895d9
lea edx, [ebp - 0x64]
mov eax, 1
call fcn.004093b8
mov eax, dword [ebp - 0x64]
push eax
mov edx, 0x489a5c
lea eax, [ebp - 0x18]
pop ecx
call fcn.00404c8c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jle 0x489502
push 0
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x489a70
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.004049dc
push 0
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x489a84
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.004049dc
push 0
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x489a98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.004049dc
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, 0x489aac
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049dc
push 0
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x489ac0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.004049dc
push 0
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x489ad0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004049dc
push 0
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x489ae4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.004049dc
jmp 0x48970f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jle 0x48960d
push 0
lea eax, [ebp - 0x84]
push eax
mov edx, 0x48992c
mov ecx, 0x489a70
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.004049dc
push 0
lea eax, [ebp - 0x88]
push eax
mov edx, 0x48992c
mov ecx, 0x489a84
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.004049dc
push 0
lea eax, [ebp - 0x8c]
push eax
mov edx, 0x48992c
mov ecx, 0x489a98
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.004049dc
push 0
lea eax, [ebp - 0x90]
push eax
mov edx, 0x48992c
mov ecx, 0x489aac
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049dc
push 0
lea eax, [ebp - 0x94]
push eax
mov edx, 0x48992c
mov ecx, 0x489ac0
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.004049dc
push 0
lea eax, [ebp - 0x98]
push eax
mov edx, 0x48992c
mov ecx, 0x489ad0
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004049dc
push 0
lea eax, [ebp - 0x9c]
push eax
mov edx, 0x48992c
mov ecx, 0x489ae4
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.004049dc
test ebx, ebx
jle 0x48986d
test ebx, ebx
jle 0x48986d
mov dword [ebp - 0x20], ebx
mov ebx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00488d44
mov esi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0xa4]
mov eax, ebx
call fcn.004093b8
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, 0x489af8
call fcn.00404c8c
mov edx, dword [ebp - 0xa0]
mov ecx, 0x489b08
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi]
mov eax, dword [ebp - 0x1c]
call fcn.00404c40
test eax, eax
jne 0x489785
call fcn.004043f0
jmp 0x4898a4
lea eax, [esi + 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.004049dc
push 0
lea eax, [ebp - 0xa8]
push eax
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.004093b8
mov ecx, dword [ebp - 0xb0]
mov edx, 0x489af8
lea eax, [ebp - 0xac]
call fcn.00404c8c
mov edx, dword [ebp - 0xac]
mov ecx, 0x489b18
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0xa8]
lea eax, [esi + 0x10]
call fcn.004049dc
push 0
lea edx, [ebp - 0xb8]
mov eax, ebx
call fcn.004093b8
mov ecx, dword [ebp - 0xb8]
mov edx, 0x489af8
lea eax, [ebp - 0xb4]
call fcn.00404c8c
mov edx, dword [ebp - 0xb4]
mov ecx, 0x489b2c
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 8]
mov dword [esi + 0x18], eax
push 0
lea eax, [ebp - 0xbc]
push eax
lea edx, [ebp - 0xc4]
mov eax, ebx
call fcn.004093b8
mov ecx, dword [ebp - 0xc4]
mov edx, 0x489af8
lea eax, [ebp - 0xc0]
call fcn.00404c8c
mov edx, dword [ebp - 0xc0]
mov ecx, 0x489b40
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0xbc]
lea eax, [esi + 0x14]
call fcn.004049dc
inc ebx
dec dword [ebp - 0x20]
jne 0x489727
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4898a4
cmp byte [ebp - 5], 0
jne 0x48988c
mov eax, dword [ebp - 4]
call fcn.00488de4
mov eax, dword [ebp - 0xc]
call fcn.00403b90
mov eax, dword [ebp - 0x10]
call fcn.00403b90
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4898d6
lea eax, [ebp - 0xc4]
mov edx, 0x29
call fcn.004049ac
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004049ac
ret