Function at 0x45a6f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52297b
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x597f54]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], edi
call fcn.004397e0
lea ecx, [esp + 0x50]
call fcn.004397e0
lea eax, [edi + 0x54]
push eax
lea ecx, [edi + 0x50]
push ecx
lea ecx, [esp + 0x54]
call fcn.004397b0
lea ecx, [esp + 0x4c]
call fcn.00439770
mov edx, dword [eax]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], edx
call fcn.00439780
mov eax, dword [eax]
xor esi, esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], esi
call fcn.00448d30
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
push esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x204], esi
call edx
cmp dword [ebp + 8], esi
je 0x45a9d8
push 0x400
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], 0x400
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x5c]
push edx
call eax
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x45a801
mov ecx, edi
sub ebx, edi
mov esi, eax
mov dl, byte [ebx + ecx]
mov byte [ecx], dl
add ecx, 1
sub eax, 1
jne 0x45a7f4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov byte [edi + esi], 0x2c
mov byte [edi + esi + 1], 0x20
add esi, 1
add esi, 1
mov byte [edi + esi], 0x28
add esi, 1
mov byte [edi + esi], 0x50
add esi, 1
mov byte [edi + esi], 0x61
add esi, 1
mov byte [edi + esi], 0x67
add esi, 1
shr ecx, 0x10
mov byte [edi + esi], 0x65
shr eax, 0x10
add esi, 1
cmp ax, cx
mov dword [esp + 0x1c], ecx
je 0x45a851
mov byte [edi + esi], 0x73
add esi, 1
mov ecx, dword [esp + 0x14]
mov byte [edi + esi], 0x20
mov ecx, dword [ecx + 0xc]
movzx eax, ax
push 0xa
lea edx, [esp + 0x1e4]
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
add esi, 1
call eax
push eax
call fcn.00518a27
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
lea ecx, [esp + 0x1e0]
push ecx
call ebx
xor ecx, ecx
test eax, eax
jle 0x45a8a7
mov dl, byte [esp + ecx + 0x1e0]
mov byte [edi + esi], dl
add ecx, 1
add esi, 1
cmp ecx, eax
jl 0x45a893
mov ecx, dword [esp + 0x20]
shr ecx, 8
push 0xa
lea eax, [esp + 0x1e4]
movzx edx, cl
push eax
mov byte [edi + esi], 0x3a
push edx
add esi, 1
call fcn.00518a27
add esp, 0xc
lea eax, [esp + 0x1e0]
push eax
call ebx
xor ecx, ecx
test eax, eax
jle 0x45a8f4
jmp 0x45a8e0
mov dl, byte [esp + ecx + 0x1e0]
mov byte [edi + esi], dl
add ecx, 1
add esi, 1
cmp ecx, eax
jl 0x45a8e0
movzx eax, word [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov byte [edi + esi], 0x20
mov byte [edi + esi + 1], 0x74
add esi, 1
mov byte [edi + esi + 1], 0x6f
add esi, 1
add esi, 1
mov byte [edi + esi], 0x20
mov ecx, dword [ecx + 0xc]
push 0xa
lea edx, [esp + 0x1e4]
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
add esi, 1
call eax
push eax
call fcn.00518a27
add esp, 0xc
lea ecx, [esp + 0x1e0]
push ecx
call ebx
xor ecx, ecx
test eax, eax
jle 0x45a964
lea esp, [esp]
mov dl, byte [esp + ecx + 0x1e0]
mov byte [edi + esi], dl
add ecx, 1
add esi, 1
cmp ecx, eax
jl 0x45a950
mov ecx, dword [esp + 0x18]
shr ecx, 8
push 0xa
lea eax, [esp + 0x1e4]
movzx edx, cl
push eax
mov byte [edi + esi], 0x3a
push edx
add esi, 1
call fcn.00518a27
add esp, 0xc
lea eax, [esp + 0x1e0]
push eax
call ebx
xor ecx, ecx
test eax, eax
jle 0x45a9b4
jmp 0x45a9a0
mov dl, byte [esp + ecx + 0x1e0]
mov byte [edi + esi], dl
add ecx, 1
add esi, 1
cmp ecx, eax
jl 0x45a9a0
mov eax, dword [esp + 0x10]
mov byte [edi + esi], 0x29
add esi, 1
mov byte [edi + esi], 0xd
add esi, 1
mov byte [edi + esi], 0xa
push eax
add esi, 1
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
shr eax, 0x10
movzx ebx, ax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
shr eax, 0x10
cmp bx, ax
mov dword [esp + 0x48], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], eax
ja 0x45ad59
jmp 0x45aa14
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push ebx
call eax
test eax, eax
mov dword [esp + 0x28], eax
je 0x45ad59
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x38], 1
call eax
mov edi, eax
test edi, edi
mov dword [esp + 0x2c], edi
je 0x45ad34
lea ebx, [ebx]
cmp bx, word [esp + 0x44]
mov dword [esp + 0x34], 0
jne 0x45aa76
mov ecx, dword [esp + 0x20]
mov al, byte [edi + 4]
mov edx, ecx
shr edx, 8
cmp al, dl
jne 0x45aa76
movzx eax, cl
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45aa80
sub eax, edx
cmp bx, word [esp + 0x1c]
jne 0x45aaa5
mov edx, dword [esp + 0x18]
mov cl, byte [edi + 4]
shr edx, 8
cmp cl, dl
jne 0x45aaa5
movzx eax, byte [esp + 0x18]
cmp bx, word [esp + 0x44]
ja 0x45aabe
mov edx, dword [esp + 0x20]
mov cl, byte [edi + 4]
shr edx, 8
cmp cl, dl
jb 0x45ad1d
cmp bx, word [esp + 0x1c]
jb 0x45aaed
mov edx, dword [esp + 0x18]
mov cl, byte [edi + 4]
shr edx, 8
cmp cl, dl
ja 0x45ad1d
cmp bx, word [esp + 0x1c]
jne 0x45aaed
mov edx, dword [esp + 0x18]
shr edx, 8
cmp cl, dl
jne 0x45aaed
xor ecx, ecx
jmp 0x45aaf2
mov ecx, 1
mov ebx, eax
sub ebx, dword [esp + 0x34]
test ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], ebx
lea eax, [esi + ebx*2 + 1]
je 0x45ab0b
add eax, 2
cmp dword [ebp + 0xc], 0
je 0x45ab1e
cmp dword [esp + 0x38], 0
je 0x45ab1b
add eax, 0x52
add eax, 0x28
cmp eax, dword [esp + 0x30]
jle 0x45ab4e
mov ecx, dword [esp + 0x10]
add eax, 0x400
test ecx, ecx
mov dword [esp + 0x30], eax
je 0x45ab41
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
jmp 0x45ab4a
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [ebp + 0xc], 0
mov edi, eax
je 0x45aca5
xor eax, eax
cmp dword [esp + 0x38], eax
je 0x45ac14
cmp dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
jne 0x45ab8b
mov byte [edi + esi], 0xd
add esi, 1
mov byte [edi + esi], 0xa
add esi, 1
jmp 0x45ab8f
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x28]
test byte [ecx + 0x14], 1
jne 0x45ac04
mov edx, ecx
mov eax, dword [edx + 0x10]
push 0xa
lea ecx, [esp + 0x1e4]
push ecx
push eax
call fcn.00518a27
add esp, 0xc
lea edx, [esp + 0x1e0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, 0x46
sub ebx, eax
test ebx, ebx
mov dword [esp + 0x24], eax
jle 0x45abdf
push ebx
lea eax, [edi + esi]
push 0x20
push eax
call fcn.004e3e60
add esp, 0xc
add esi, ebx
mov ecx, dword [esp + 0x24]
xor eax, eax
test ecx, ecx
jle 0x45ac04
lea esp, [esp]
mov dl, byte [esp + eax + 0x1e0]
mov byte [edi + esi], dl
add eax, 1
add esi, 1
cmp eax, ecx
jl 0x45abf0
mov byte [edi + esi], 0xd
add esi, 1
mov byte [edi + esi], 0xa
add esi, 1
xor eax, eax
mov ecx, dword [esp + 0x28]
test byte [ecx + 0x14], 2
jne 0x45ac49
mov edx, dword [esp + 0x2c]
mov al, byte [edx + 4]
push 0xa
lea ecx, [esp + 0x1e4]
movzx edx, al
push ecx
push edx
call fcn.005189ff
add esp, 0xc
lea eax, [esp + 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, 2
sub ebx, eax
test ebx, ebx
mov dword [esp + 0x24], eax
jle 0x45ac6d
push ebx
lea eax, [edi + esi]
push 0x20
push eax
call fcn.004e3e60
mov eax, dword [esp + 0x30]
add esp, 0xc
add esi, ebx
cmp eax, 1
jl 0x45ac7f
mov cl, byte [esp + 0x1e0]
mov byte [edi + esi], cl
add esi, 1
cmp eax, 2
jl 0x45ac91
mov dl, byte [esp + 0x1e1]
mov byte [edi + esi], dl
add esi, 1
mov ebx, dword [esp + 0x54]
mov eax, 0x20202020
mov word [edi + esi], ax
mov byte [edi + esi + 2], al
add esi, 3
xor ecx, ecx
test ebx, ebx
jle 0x45acf5
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x34]
add eax, edx
mov al, byte [eax + ecx]
cmp al, 0xa
jne 0x45ace8
mov byte [edi + esi], 0xd
add esi, 1
mov byte [edi + esi], al
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x60]
add esi, 1
cmp dword [edx + 0x148], 0
je 0x45acee
mov dword [edi + esi], 0x20202020
add esi, 4
jmp 0x45acee
mov byte [edi + esi], al
add esi, 1
add ecx, 1
cmp ecx, ebx
jl 0x45acab
cmp dword [esp + 0x3c], 0
je 0x45ad0a
mov byte [edi + esi], 0xd
add esi, 1
mov byte [edi + esi], 0xa
add esi, 1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x2c]
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov edi, eax
test edi, edi
mov dword [esp + 0x2c], eax
jne 0x45aa50
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x10]
push eax
call edx
add ebx, 1
cmp bx, word [esp + 0x1c]
mov dword [esp + 0x40], ebx
jbe 0x45aa10
mov edi, dword [esp + 0x10]
test edi, edi
je 0x45ad82
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov byte [eax + esi], 0
push edi
add esi, 1
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov edi, eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1f8], 0xffffffff
call fcn.00449140
mov eax, edi
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.004e2867
mov esp, ebp
pop ebp
ret 8