Function at 0x488630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591903
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x31c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
cmp edi, 0x25a
jne 0x488807
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx]
call dword [eax + 0xa4]
call fcn.00541960
mov dword [ebp - 0x18], esi
mov ecx, dword [ebx + 0x30]
call fcn.00546a30
cmp esi, eax
jge 0x4886fa
lea ecx, [ebp - 0x138]
call fcn.004643c0
lea ecx, [ebp - 0x138]
push ecx
push esi
mov ecx, dword [ebx + 0x30]
call fcn.004790e0
mov dword [ebp - 0x44], eax
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4886b0
sub ecx, esi
mov dword [ebp - 0xd4], ecx
je 0x4886f1
mov edi, str.new_entry
mov esi, eax
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4886f1
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebx + 0x60]
call fcn.00481f90
xor ecx, ecx
mov cl, byte [eax + 0x1e]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.00541ed0
add esp, 8
mov esi, dword [ebp - 0x18]
inc esi
mov edi, dword [ebp + 8]
jmp 0x48867a
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
call fcn.0053d120
add esp, 4
mov ecx, dword [ebx + 0x40]
mov edx, dword [ecx]
call dword [edx + 0xa4]
push 3
test al, al
je 0x488726
call fcn.00541d30
jmp 0x48872b
call fcn.00542420
add esp, 4
mov ecx, dword [ebx + 0x44]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push 6
test al, al
je 0x488746
call fcn.00541d30
jmp 0x48874b
call fcn.00542420
add esp, 4
mov ecx, dword [ebx + 0x4c]
mov edx, dword [ecx]
call dword [edx + 0xa4]
call fcn.005409e0
xor esi, esi
mov dword [ebp - 0x18], esi
mov ecx, dword [ebx + 0x4c]
call fcn.00546a30
cmp esi, eax
jge 0x4887df
lea ecx, [ebp - 0x110]
call fcn.004643c0
lea eax, [ebp - 0x110]
push eax
push esi
mov ecx, dword [ebx + 0x4c]
call fcn.004790e0
mov dword [ebp - 0x34], eax
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x488792
sub ecx, esi
mov dword [ebp - 0xb4], ecx
je 0x4887d6
mov edi, str.new_entry
mov esi, eax
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4887d6
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebx + 0x98]
call fcn.00481f90
xor ecx, ecx
mov cl, byte [eax + 0x1e]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00540bc0
add esp, 8
mov esi, dword [ebp - 0x18]
inc esi
mov edi, dword [ebp + 8]
jmp 0x488760
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
call fcn.0053d0e0
add esp, 4
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ecx]
call dword [edx + 0xa4]
push eax
call fcn.0053d100
add esp, 4
cmp edi, 0x2c5
jne 0x488944
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov ecx, dword [ebx + 0x30]
mov edx, dword [ecx]
call dword [edx + 0xa4]
mov ecx, dword [ebx + 0x30]
call fcn.00464c30
mov edi, eax
mov dword [ebp - 0xbc], edi
cmp edi, 0xffffffff
jle 0x48888b
lea ecx, [ebp - 0x160]
call fcn.004643c0
lea eax, [ebp - 0x160]
push eax
push edi
mov ecx, dword [ebx + 0x30]
call fcn.004790e0
mov esi, eax
push edi
lea ecx, [ebx + 0x60]
call fcn.00481f90
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x488864
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0xa4]
push edi
lea ecx, [ebx + 0x60]
mov byte [ebp - 0x12], al
call fcn.00481f90
mov cl, byte [ebp - 0x12]
mov byte [eax + 0x1e], cl
lea ecx, [ebp - 0x98]
call fcn.004643c0
push 0
push str.new_entry
lea ecx, [ebp - 0x307]
call fcn.00481190
mov esi, eax
mov ecx, dword [ebx + 0x30]
call fcn.00546a30
push eax
lea ecx, [ebx + 0x60]
call fcn.00481f90
mov ecx, 7
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
sub esp, 0x14
mov eax, esp
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
mov edx, dword [ebp - 0x94]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x90]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x8c]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x88]
mov dword [eax + 0x10], ecx
push str.new_entry
mov ecx, dword [ebx + 0x30]
call fcn.004784c0
mov ecx, dword [ebx + 0x30]
call fcn.00546a30
dec eax
push eax
mov ecx, dword [ebx + 0x30]
call fcn.00480530
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
push 0
call dword [edx + 0xa0]
mov ebx, dword [ebx + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, 0x2c8
jne 0x488a7e
mov ecx, dword [ebx + 0x30]
mov edx, dword [ecx]
call dword [edx + 0xa4]
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov ecx, dword [ebx + 0x4c]
call fcn.00464c30
mov edi, eax
mov dword [ebp - 0xc4], edi
cmp edi, 0xffffffff
jle 0x4889ce
lea ecx, [ebp - 0x124]
call fcn.004643c0
lea ecx, [ebp - 0x124]
push ecx
push edi
mov ecx, dword [ebx + 0x4c]
call fcn.004790e0
mov esi, eax
push edi
lea ecx, [ebx + 0x98]
call fcn.00481f90
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x4889a4
mov ecx, dword [ebx + 0x58]
mov edx, dword [ecx]
call dword [edx + 0xa4]
push edi
lea ecx, [ebx + 0x98]
mov byte [ebp - 0x1a], al
call fcn.00481f90
mov cl, byte [ebp - 0x1a]
mov byte [eax + 0x1e], cl
lea ecx, [ebp - 0x84]
call fcn.004643c0
push 0
push str.new_entry
lea ecx, [ebp - 0x326]
call fcn.00481190
mov esi, eax
mov ecx, dword [ebx + 0x4c]
call fcn.00546a30
push eax
lea ecx, [ebx + 0x98]
call fcn.00481f90
mov ecx, 7
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
sub esp, 0x14
mov eax, esp
mov ecx, dword [ebp - 0x84]
mov dword [eax], ecx
mov edx, dword [ebp - 0x80]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x78]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0x10], ecx
push str.new_entry
mov ecx, dword [ebx + 0x4c]
call fcn.004784c0
mov ecx, dword [ebx + 0x4c]
call fcn.00546a30
dec eax
push eax
mov ecx, dword [ebx + 0x4c]
call fcn.00480530
mov ecx, dword [ebx + 0x58]
mov edx, dword [ecx]
push 0
call dword [edx + 0xa0]
mov ebx, dword [ebx + 0x4c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, 0x2c6
jne 0x488c1b
mov ecx, dword [ebx + 0x30]
mov edx, dword [ecx]
call dword [edx + 0xa4]
mov ecx, dword [ebx + 0x30]
call fcn.00464c30
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, 0xffffffff
jle 0x488bfe
lea ecx, [ebp - 0x14c]
call fcn.004643c0
lea eax, [ebp - 0x14c]
push eax
push edi
mov ecx, dword [ebx + 0x30]
call fcn.004790e0
mov esi, eax
push edi
lea ecx, [ebx + 0x60]
call fcn.00481f90
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x488ad1
mov ecx, dword [ebx + 0x3c]
lea esi, [ebx + 0x60]
mov edx, dword [ecx]
call dword [edx + 0xa4]
push edi
mov ecx, esi
mov byte [ebp - 0x19], al
call fcn.00481f90
mov cl, byte [ebp - 0x19]
mov byte [eax + 0x1e], cl
mov ecx, dword [ebx + 0x30]
call fcn.00478f10
xor edi, edi
mov dword [ebp - 0x20], edi
lea esi, [ebx + 0x60]
mov eax, esi
mov dword [ebp - 0xcc], eax
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
cmp edi, ecx
jge 0x488b4b
cmp edi, dword [ebp - 0x28]
jl 0x488b48
lea edx, [edi + 1]
push edx
mov ecx, esi
call fcn.00481f90
mov dword [ebp - 0x38], eax
push edi
mov ecx, esi
call fcn.00481f90
mov ecx, 7
mov esi, dword [ebp - 0x38]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x20]
inc edi
jmp 0x488b04
push edi
mov ecx, esi
call fcn.00481f90
mov byte [eax], 0
xor esi, esi
mov dword [ebp - 0x20], esi
lea ecx, [ebx + 0x60]
mov eax, ecx
mov dword [ebp - 0xc0], eax
mov edx, dword [eax + 4]
sub edx, dword [eax]
cmp esi, edx
jge 0x488bfe
push esi
call fcn.00481f90
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x488b80
sub eax, edx
mov dword [ebp - 0xa8], eax
je 0x488bf8
lea ecx, [ebp - 0x70]
call fcn.004643c0
push esi
lea edi, [ebx + 0x60]
mov ecx, edi
call fcn.00481f90
mov cl, byte [eax + 0x1e]
test cl, cl
je 0x488bc5
mov eax, dword [0x64190c]
mov dword [ebp - 0x6c], eax
mov ecx, dword [0x641910]
mov dword [ebp - 0x68], ecx
mov edx, dword [0x641914]
mov dword [ebp - 0x64], edx
sub esp, 0x14
mov eax, esp
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
mov edx, dword [ebp - 0x6c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x64]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0x10], ecx
push esi
mov ecx, edi
call fcn.00481f90
push eax
mov ecx, dword [ebx + 0x30]
call fcn.004784c0
inc esi
jmp 0x488b58
push 0xffffffffffffffff
mov ecx, dword [ebx + 0x30]
call fcn.00480530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, 0x2c9
jne 0x488db0
mov ecx, dword [ebx + 0x4c]
mov edx, dword [ecx]
call dword [edx + 0xa4]
mov ecx, dword [ebx + 0x4c]
call fcn.00464c30
mov edi, eax
mov dword [ebp - 0x3c], edi
cmp edi, 0xffffffff
jle 0x488da6
lea ecx, [ebp - 0x174]
call fcn.004643c0
lea eax, [ebp - 0x174]
push eax
push edi
mov ecx, dword [ebx + 0x4c]
call fcn.004790e0
mov esi, eax
push edi
lea ecx, [ebx + 0x98]
call fcn.00481f90
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x488c71
mov ecx, dword [ebx + 0x58]
lea esi, [ebx + 0x98]
mov edx, dword [ecx]
call dword [edx + 0xa4]
push edi
mov ecx, esi
mov byte [ebp - 0x11], al
call fcn.00481f90
mov cl, byte [ebp - 0x11]
mov byte [eax + 0x1e], cl
mov ecx, dword [ebx + 0x4c]
call fcn.00478f10
xor edi, edi
mov dword [ebp - 0x24], edi
lea esi, [ebx + 0x98]
mov eax, esi
mov dword [ebp - 0xd0], eax
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
cmp edi, ecx
jge 0x488cf1
cmp edi, dword [ebp - 0x3c]
jl 0x488cee
lea edx, [edi + 1]
push edx
mov ecx, esi
call fcn.00481f90
mov dword [ebp - 0x48], eax
push edi
mov ecx, esi
call fcn.00481f90
mov ecx, 7
mov esi, dword [ebp - 0x48]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x24]
inc edi
jmp 0x488ca7
push edi
mov ecx, esi
call fcn.00481f90
mov byte [eax], 0
xor esi, esi
mov dword [ebp - 0x24], esi
lea ecx, [ebx + 0x98]
mov eax, ecx
mov dword [ebp - 0xb0], eax
mov edx, dword [eax + 4]
sub edx, dword [eax]
cmp esi, edx
jge 0x488da6
push esi
call fcn.00481f90
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x488d25
sub eax, edx
mov dword [ebp - 0xc8], eax
je 0x488da0
lea ecx, [ebp - 0x5c]
call fcn.004643c0
push esi
lea edi, [ebx + 0x98]
mov ecx, edi
call fcn.00481f90
mov cl, byte [eax + 0x1e]
test cl, cl
je 0x488d6d
mov eax, dword [0x64190c]
mov dword [ebp - 0x58], eax
mov ecx, dword [0x641910]
mov dword [ebp - 0x54], ecx
mov edx, dword [0x641914]
mov dword [ebp - 0x50], edx
sub esp, 0x14
mov eax, esp
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x58]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x54]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x50]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x10], ecx
push esi
mov ecx, edi
call fcn.00481f90
push eax
mov ecx, dword [ebx + 0x4c]
call fcn.004784c0
inc esi
jmp 0x488cfe
push 0xffffffffffffffff
mov ecx, dword [ebx + 0x4c]
jmp 0x488c03
cmp edi, 0xb
jne 0x488ec0
mov ecx, dword [ebx + 0x30]
call fcn.00464c30
mov esi, eax
mov dword [ebp - 0xb8], esi
cmp esi, 0xffffffff
je 0x488e2f
lea ecx, [ebp - 0xe8]
call fcn.004643c0
lea edi, [ebx + 0x60]
push esi
mov ecx, edi
call fcn.00481f90
mov cl, byte [eax + 0x1e]
test cl, cl
je 0x488e0e
mov edx, dword [0x64190c]
mov dword [ebp - 0xe4], edx
mov eax, dword [0x641910]
mov dword [ebp - 0xe0], eax
mov ecx, dword [0x641914]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebx + 0x3c]
mov eax, dword [edx]
push esi
mov ecx, edi
mov dword [ebp - 0x2c], eax
call fcn.00481f90
movzx eax, byte [eax + 0x1e]
push eax
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebp - 0x2c]
call dword [eax + 0xa0]
mov ecx, dword [ebx + 0x4c]
call fcn.00464c30
mov esi, eax
mov dword [ebp - 0x9c], esi
cmp esi, 0xffffffff
je 0x488c08
lea ecx, [ebp - 0xfc]
call fcn.004643c0
lea edi, [ebx + 0x98]
push esi
mov ecx, edi
call fcn.00481f90
mov cl, byte [eax + 0x1e]
test cl, cl
je 0x488e8b
mov ecx, dword [0x64190c]
mov dword [ebp - 0xf8], ecx
mov edx, dword [0x641910]
mov dword [ebp - 0xf4], edx
mov eax, dword [0x641914]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx]
push esi
mov ecx, edi
mov dword [ebp - 0x30], eax
call fcn.00481f90
xor edx, edx
mov dl, byte [eax + 0x1e]
push edx
mov ecx, dword [ebx + 0x58]
mov eax, dword [ebp - 0x30]
call dword [eax + 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call fcn.005182a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4