Function at 0x489000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597003
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 0x4891d7
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx]
call dword [eax + 0xa4]
call fcn.00546c60
mov dword [ebp - 0x18], esi
mov ecx, dword [ebx + 0x30]
call fcn.004653d0
cmp esi, eax
jge 0x4890ca
lea ecx, [ebp - 0x138]
call fcn.00464b80
lea ecx, [ebp - 0x138]
push ecx
push esi
mov ecx, dword [ebx + 0x30]
call fcn.004798e0
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 0x489080
sub ecx, esi
mov dword [ebp - 0xd4], ecx
je 0x4890c1
mov edi, str.new_entry
mov esi, eax
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4890c1
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebx + 0x60]
call fcn.00482940
xor ecx, ecx
mov cl, byte [eax + 0x1e]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.005471d0
add esp, 8
mov esi, dword [ebp - 0x18]
inc esi
mov edi, dword [ebp + 8]
jmp 0x48904a
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
call fcn.00542410
add esp, 4
mov ecx, dword [ebx + 0x40]
mov edx, dword [ecx]
call dword [edx + 0xa4]
push 3
test al, al
je 0x4890f6
call fcn.00547030
jmp 0x4890fb
call fcn.00547720
add esp, 4
mov ecx, dword [ebx + 0x44]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push 6
test al, al
je 0x489116
call fcn.00547030
jmp 0x48911b
call fcn.00547720
add esp, 4
mov ecx, dword [ebx + 0x4c]
mov edx, dword [ecx]
call dword [edx + 0xa4]
call fcn.00545ce0
xor esi, esi
mov dword [ebp - 0x18], esi
mov ecx, dword [ebx + 0x4c]
call fcn.004653d0
cmp esi, eax
jge 0x4891af
lea ecx, [ebp - 0x110]
call fcn.00464b80
lea eax, [ebp - 0x110]
push eax
push esi
mov ecx, dword [ebx + 0x4c]
call fcn.004798e0
mov dword [ebp - 0x34], eax
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x489162
sub ecx, esi
mov dword [ebp - 0xb4], ecx
je 0x4891a6
mov edi, str.new_entry
mov esi, eax
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4891a6
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebx + 0x98]
call fcn.00482940
xor ecx, ecx
mov cl, byte [eax + 0x1e]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00545ec0
add esp, 8
mov esi, dword [ebp - 0x18]
inc esi
mov edi, dword [ebp + 8]
jmp 0x489130
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
call fcn.005423d0
add esp, 4
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ecx]
call dword [edx + 0xa4]
push eax
call fcn.005423f0
add esp, 4
cmp edi, 0x2c5
jne 0x489314
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.004653e0
mov edi, eax
mov dword [ebp - 0xbc], edi
cmp edi, 0xffffffff
jle 0x48925b
lea ecx, [ebp - 0x160]
call fcn.00464b80
lea eax, [ebp - 0x160]
push eax
push edi
mov ecx, dword [ebx + 0x30]
call fcn.004798e0
mov esi, eax
push edi
lea ecx, [ebx + 0x60]
call fcn.00482940
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x489234
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.00482940
mov cl, byte [ebp - 0x12]
mov byte [eax + 0x1e], cl
lea ecx, [ebp - 0x98]
call fcn.00464b80
push 0
push str.new_entry
lea ecx, [ebp - 0x307]
call fcn.004819e0
mov esi, eax
mov ecx, dword [ebx + 0x30]
call fcn.004653d0
push eax
lea ecx, [ebx + 0x60]
call fcn.00482940
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.00478cc0
mov ecx, dword [ebx + 0x30]
call fcn.004653d0
dec eax
push eax
mov ecx, dword [ebx + 0x30]
call fcn.00480d80
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 0x48944e
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.004653e0
mov edi, eax
mov dword [ebp - 0xc4], edi
cmp edi, 0xffffffff
jle 0x48939e
lea ecx, [ebp - 0x124]
call fcn.00464b80
lea ecx, [ebp - 0x124]
push ecx
push edi
mov ecx, dword [ebx + 0x4c]
call fcn.004798e0
mov esi, eax
push edi
lea ecx, [ebx + 0x98]
call fcn.00482940
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x489374
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.00482940
mov cl, byte [ebp - 0x1a]
mov byte [eax + 0x1e], cl
lea ecx, [ebp - 0x84]
call fcn.00464b80
push 0
push str.new_entry
lea ecx, [ebp - 0x326]
call fcn.004819e0
mov esi, eax
mov ecx, dword [ebx + 0x4c]
call fcn.004653d0
push eax
lea ecx, [ebx + 0x98]
call fcn.00482940
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.00478cc0
mov ecx, dword [ebx + 0x4c]
call fcn.004653d0
dec eax
push eax
mov ecx, dword [ebx + 0x4c]
call fcn.00480d80
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 0x4895eb
mov ecx, dword [ebx + 0x30]
mov edx, dword [ecx]
call dword [edx + 0xa4]
mov ecx, dword [ebx + 0x30]
call fcn.004653e0
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, 0xffffffff
jle 0x4895ce
lea ecx, [ebp - 0x14c]
call fcn.00464b80
lea eax, [ebp - 0x14c]
push eax
push edi
mov ecx, dword [ebx + 0x30]
call fcn.004798e0
mov esi, eax
push edi
lea ecx, [ebx + 0x60]
call fcn.00482940
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x4894a1
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.00482940
mov cl, byte [ebp - 0x19]
mov byte [eax + 0x1e], cl
mov ecx, dword [ebx + 0x30]
call fcn.00479710
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 0x48951b
cmp edi, dword [ebp - 0x28]
jl 0x489518
lea edx, [edi + 1]
push edx
mov ecx, esi
call fcn.00482940
mov dword [ebp - 0x38], eax
push edi
mov ecx, esi
call fcn.00482940
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 0x4894d4
push edi
mov ecx, esi
call fcn.00482940
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 0x4895ce
push esi
call fcn.00482940
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x489550
sub eax, edx
mov dword [ebp - 0xa8], eax
je 0x4895c8
lea ecx, [ebp - 0x70]
call fcn.00464b80
push esi
lea edi, [ebx + 0x60]
mov ecx, edi
call fcn.00482940
mov cl, byte [eax + 0x1e]
test cl, cl
je 0x489595
mov eax, dword [0x64b894]
mov dword [ebp - 0x6c], eax
mov ecx, dword [0x64b898]
mov dword [ebp - 0x68], ecx
mov edx, dword [0x64b89c]
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.00482940
push eax
mov ecx, dword [ebx + 0x30]
call fcn.00478cc0
inc esi
jmp 0x489528
push 0xffffffffffffffff
mov ecx, dword [ebx + 0x30]
call fcn.00480d80
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 0x489780
mov ecx, dword [ebx + 0x4c]
mov edx, dword [ecx]
call dword [edx + 0xa4]
mov ecx, dword [ebx + 0x4c]
call fcn.004653e0
mov edi, eax
mov dword [ebp - 0x3c], edi
cmp edi, 0xffffffff
jle 0x489776
lea ecx, [ebp - 0x174]
call fcn.00464b80
lea eax, [ebp - 0x174]
push eax
push edi
mov ecx, dword [ebx + 0x4c]
call fcn.004798e0
mov esi, eax
push edi
lea ecx, [ebx + 0x98]
call fcn.00482940
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x489641
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.00482940
mov cl, byte [ebp - 0x11]
mov byte [eax + 0x1e], cl
mov ecx, dword [ebx + 0x4c]
call fcn.00479710
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 0x4896c1
cmp edi, dword [ebp - 0x3c]
jl 0x4896be
lea edx, [edi + 1]
push edx
mov ecx, esi
call fcn.00482940
mov dword [ebp - 0x48], eax
push edi
mov ecx, esi
call fcn.00482940
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 0x489677
push edi
mov ecx, esi
call fcn.00482940
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 0x489776
push esi
call fcn.00482940
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4896f5
sub eax, edx
mov dword [ebp - 0xc8], eax
je 0x489770
lea ecx, [ebp - 0x5c]
call fcn.00464b80
push esi
lea edi, [ebx + 0x98]
mov ecx, edi
call fcn.00482940
mov cl, byte [eax + 0x1e]
test cl, cl
je 0x48973d
mov eax, dword [0x64b894]
mov dword [ebp - 0x58], eax
mov ecx, dword [0x64b898]
mov dword [ebp - 0x54], ecx
mov edx, dword [0x64b89c]
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.00482940
push eax
mov ecx, dword [ebx + 0x4c]
call fcn.00478cc0
inc esi
jmp 0x4896ce
push 0xffffffffffffffff
mov ecx, dword [ebx + 0x4c]
jmp 0x4895d3
cmp edi, 0xb
jne 0x489890
mov ecx, dword [ebx + 0x30]
call fcn.004653e0
mov esi, eax
mov dword [ebp - 0xb8], esi
cmp esi, 0xffffffff
je 0x4897ff
lea ecx, [ebp - 0xe8]
call fcn.00464b80
lea edi, [ebx + 0x60]
push esi
mov ecx, edi
call fcn.00482940
mov cl, byte [eax + 0x1e]
test cl, cl
je 0x4897de
mov edx, dword [0x64b894]
mov dword [ebp - 0xe4], edx
mov eax, dword [0x64b898]
mov dword [ebp - 0xe0], eax
mov ecx, dword [0x64b89c]
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.00482940
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.004653e0
mov esi, eax
mov dword [ebp - 0x9c], esi
cmp esi, 0xffffffff
je 0x4895d8
lea ecx, [ebp - 0xfc]
call fcn.00464b80
lea edi, [ebx + 0x98]
push esi
mov ecx, edi
call fcn.00482940
mov cl, byte [eax + 0x1e]
test cl, cl
je 0x48985b
mov ecx, dword [0x64b894]
mov dword [ebp - 0xf8], ecx
mov edx, dword [0x64b898]
mov dword [ebp - 0xf4], edx
mov eax, dword [0x64b89c]
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.00482940
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.0051d1f0
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