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

Disassembly:
push 0xffffffffffffffff
push 0x56f050
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edx, ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x68]
lea edi, [edx + 0x24]
mov ecx, 0x40
mov eax, dword [ebx]
lea esi, [ebx + 0x24]
mov dword [edx], eax
mov ebp, dword [ebx]
mov eax, dword [ebx + 4]
add ebp, ebx
mov dword [edx + 4], eax
mov eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
mov dword [edx + 0x10], eax
lea eax, [ebx + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [edx + 0x14], eax
lea eax, [ebx + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edx + 0x1c], eax
lea eax, [ebx + 0x20]
add ebx, 0x124
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [edx + 0x20], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebx
rep movsd dword es:[edi], dword [esi]
cmp ebx, ebp
jbe 0x489836
xor al, al
jmp 0x489a4a
mov ebp, dword [esp + 0x30]
xor esi, esi
xor edi, edi
mov ebx, edx
mov al, byte [esi + ebp]
test al, al
je 0x4898e4
cmp al, 0x2c
jne 0x4898d7
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov eax, esi
mov dword [esp + 0x60], 0
sub eax, edi
mov dword [esp + 0x38], 0x4442f8
push eax
lea eax, [edi + ebp]
push eax
lea ecx, [esp + 0x40]
call fcn.004ba720
movzx eax, byte [0x5a16f0]
lea ecx, [ebx + 0x124]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x64], 1
push eax
push 0
lea eax, [esp + 0x3c]
push eax
call fcn.0046bb40
inc edi
mov dword [esp + 0x60], 0xffffffff
add edi, esi
mov dword [esp + 0x38], 0x4442f8
cmp dword [esp + 0x50], 0x10
jb 0x4898d7
push dword [esp + 0x3c]
call fcn.00549eaf
add esp, 4
inc esi
cmp esi, 0x100
jb 0x489840
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
push dword [esi]
lea ecx, [edi + 0x12c]
push ebx
call fcn.0046b5f0
add ebx, dword [esi]
mov ebp, dword [esp + 0x18]
cmp ebx, ebp
ja 0x48982f
mov eax, dword [esp + 0x20]
xor esi, esi
cmp dword [eax], esi
jle 0x489977
jmp 0x489920
mov ebp, dword [edi + 0x150]
lea ecx, [edi + 0x150]
push ebx
push dword [ebp + 4]
push ebp
call fcn.00483830
mov edx, eax
mov ecx, 0xccccccb
mov eax, dword [edi + 0x154]
sub ecx, eax
cmp ecx, 1
jb 0x489a6b
lea ecx, [eax + 1]
add ebx, 0xc
mov dword [edi + 0x154], ecx
mov dword [ebp + 4], edx
mov eax, dword [edx + 4]
mov ebp, dword [esp + 0x18]
mov dword [eax], edx
cmp ebx, ebp
ja 0x48982f
mov eax, dword [esp + 0x20]
inc esi
cmp esi, dword [eax]
jl 0x489920
mov eax, dword [esp + 0x24]
xor esi, esi
cmp dword [eax], esi
jle 0x4899d8
mov ebp, dword [edi + 0x158]
lea ecx, [edi + 0x158]
push ebx
push dword [ebp + 4]
push ebp
call fcn.00483830
mov edx, eax
mov ecx, 0xccccccb
mov eax, dword [edi + 0x15c]
sub ecx, eax
cmp ecx, 1
jb 0x489a6b
lea ecx, [eax + 1]
add ebx, 0xc
mov dword [edi + 0x15c], ecx
mov dword [ebp + 4], edx
mov eax, dword [edx + 4]
mov ebp, dword [esp + 0x18]
mov dword [eax], edx
cmp ebx, ebp
ja 0x48982f
mov eax, dword [esp + 0x24]
inc esi
cmp esi, dword [eax]
jl 0x489981
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp dword [eax], esi
jle 0x489a43
mov edi, dword [esp + 0x14]
jmp 0x4899f0
mov ebp, dword [edi + 0x160]
lea ecx, [edi + 0x160]
push ebx
push dword [ebp + 4]
push ebp
call fcn.00483830
mov edx, eax
mov ecx, 0xccccccb
mov eax, dword [edi + 0x164]
sub ecx, eax
cmp ecx, 1
jb 0x489a6b
lea ecx, [eax + 1]
add ebx, 0xc
mov dword [edi + 0x164], ecx
mov dword [ebp + 4], edx
mov eax, dword [edx + 4]
mov ebp, dword [esp + 0x18]
mov dword [eax], edx
cmp ebx, ebp
ja 0x48982f
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, dword [eax]
jl 0x4899f0
xor eax, eax
cmp ebx, ebp
sete al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0054a992
add esp, 0x50
ret 4
push 0x44467c
call fcn.00545f8e
int3