Function at 0x464b40
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x523198
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x95c], eax
push ebp
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x970]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], vtable.t_reg.0
call fcn.0046a650
xor ebp, ebp
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x28]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x80000001
call fcn.0046a7f0
push str.SoftWareMicrosoftCTFAssemblies
lea ecx, [esp + 0x5f0]
mov dword [esp + 0x97c], ebp
call fcn.0046a770
lea eax, [esp + 0x5ec]
push eax
lea edi, [esp + 0x150]
call fcn.0046a6f0
lea ecx, [esp + 0x714]
call fcn.0046a650
lea ecx, [esp + 0x39c]
call fcn.0046a650
lea ecx, [esp + 0x274]
call fcn.0046a650
lea ecx, [esp + 0x4c4]
call fcn.0046a650
mov byte [esp + 0x978], 6
movzx ecx, word [esi + 0xc]
push ecx
push str.0x_08x
lea edi, [esp + 0x4cc]
call fcn.0046ae10
add esp, 8
cmp byte [esp + 0x5e0], 0
lea edi, [esp + 0x4d0]
jne 0x464c42
mov edi, dword [esp + 0x4cc]
push 0x54ea84
lea edx, [esp + 0x150]
push 0x551604
push edx
call fcn.0046adf0
add esp, 0xc
add edi, 4
push edi
lea eax, [esp + 0x150]
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
push 0x54ea84
lea ecx, [esp + 0x150]
push 0x551604
push ecx
call fcn.0046adf0
add esp, 0xc
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
lea edx, [esp + 0x150]
push 0x551604
push edx
call fcn.0046adf0
add esp, 0xc
cmp byte [esp + 0x268], 0
lea eax, [esp + 0x158]
jne 0x464cc1
mov eax, dword [esp + 0x154]
push 1
push 1
add eax, 4
push eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.00473f60
test al, al
jne 0x464e47
mov ecx, ebx
call fcn.00470820
push 0x561f64
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
cmp byte [esp + 0x5e0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x4c4], esi
jne 0x464d26
mov eax, dword [esp + 0x4cc]
lea ecx, [esp + 0x4d0]
cmp eax, ecx
je 0x464d26
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x390], 0
mov dword [esp + 0x274], esi
jne 0x464d52
mov eax, dword [esp + 0x27c]
lea edx, [esp + 0x280]
cmp eax, edx
je 0x464d52
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x4b8], 0
mov dword [esp + 0x39c], esi
jne 0x464d7e
mov eax, dword [esp + 0x3a4]
lea ecx, [esp + 0x3a8]
cmp eax, ecx
je 0x464d7e
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x830], 0
mov dword [esp + 0x714], esi
jne 0x464daa
mov eax, dword [esp + 0x71c]
lea edx, [esp + 0x720]
cmp eax, edx
je 0x464daa
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x268], 0
mov dword [esp + 0x14c], esi
jne 0x464dd6
mov eax, dword [esp + 0x154]
lea ecx, [esp + 0x158]
cmp eax, ecx
je 0x464dd6
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x708], 0
mov dword [esp + 0x5ec], esi
jne 0x464e02
mov eax, dword [esp + 0x5f4]
lea edx, [esp + 0x5f8]
cmp eax, edx
je 0x464e02
push eax
call fcn.004fdda1
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [esp + 0x1c], vtable.t_reg.0
je 0x464e19
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x144], 0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], esi
jne 0x464e40
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x464e40
push eax
call fcn.004fdda1
add esp, 4
xor al, al
jmp 0x465219
movzx edx, byte [esi + 0x1f]
movzx eax, byte [esi + 0x1e]
movzx ecx, byte [esi + 0x1d]
lea ebp, [esi + 0x10]
push edx
movzx edx, byte [ebp + 0xc]
push eax
movzx eax, byte [ebp + 0xb]
push ecx
movzx ecx, byte [ebp + 0xa]
push edx
movzx edx, byte [ebp + 9]
push eax
movzx eax, byte [ebp + 8]
push ecx
movzx ecx, word [ebp + 6]
push edx
movzx edx, word [ebp + 4]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
lea edi, [esp + 0x3cc]
call fcn.0046ae10
movzx ecx, byte [esi + 0x2f]
movzx edx, byte [esi + 0x2e]
movzx eax, byte [esi + 0x2d]
add esi, 0x20
push ecx
movzx ecx, byte [esi + 0xc]
push edx
movzx edx, byte [esi + 0xb]
push eax
movzx eax, byte [esi + 0xa]
push ecx
movzx ecx, byte [esi + 9]
push edx
movzx edx, byte [esi + 8]
push eax
movzx eax, word [esi + 6]
push ecx
movzx ecx, word [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
lea edi, [esp + 0x2d4]
call fcn.0046ae10
add esp, 0x60
cmp byte [esp + 0x4b8], 0
lea eax, [esp + 0x3a8]
jne 0x464ef5
mov eax, dword [esp + 0x3a4]
lea ecx, [eax + 4]
mov eax, ecx
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x464f00
push str.Default
sub eax, edi
push ebx
lea edx, [esp + 0x24]
sar eax, 1
push edx
add eax, eax
mov edx, 1
call fcn.00474320
test al, al
je 0x46507c
cmp byte [esp + 0x390], 0
lea eax, [esp + 0x280]
jne 0x464f46
mov eax, dword [esp + 0x27c]
lea ecx, [eax + 4]
mov eax, ecx
lea edi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x464f50
push str.Profile
sub eax, edi
push ebx
lea edx, [esp + 0x24]
sar eax, 1
push edx
add eax, eax
mov edx, 1
call fcn.00474320
test al, al
je 0x46507c
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
mov eax, 0x54b8d0
mov ecx, ebp
mov dword [esp + 0x14], edi
call fcn.0045f850
test eax, eax
je 0x464fa8
mov eax, 0x54b8d0
mov ecx, esi
call fcn.0045f850
test eax, eax
jne 0x464fbb
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + 0xc]
mov edi, eax
shl edi, 0x10
or edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jne 0x464fd0
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x14]
call fcn.0045f9e0
mov edi, dword [esp + 0x14]
push str.KeyboardLayout
push ebx
lea edx, [esp + 0x24]
push edx
mov edx, 4
mov eax, edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
call fcn.00474320
test al, al
je 0x46507c
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push eax
call esi
lea ecx, [esp + 0x848]
mov dword [esp + 0x83c], 0x56417c
call fcn.0046a650
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x848]
mov dword [esp + 0x840], 0
mov dword [esp + 0x844], 0x80000001
call fcn.0046a7f0
push 1
push 1
push str.SoftWareMicrosoftCTFAssemblies
push ebx
lea ecx, [esp + 0x84c]
mov byte [esp + 0x988], 7
call fcn.00473f60
test al, al
jne 0x4651b0
lea ecx, [esp + 0x83c]
mov byte [esp + 0x978], 6
call fcn.00473f10
mov ecx, ebx
call fcn.00470820
push 0x562128
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
cmp byte [esp + 0x5e0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x4c4], esi
jne 0x4650c7
mov eax, dword [esp + 0x4cc]
lea ecx, [esp + 0x4d0]
cmp eax, ecx
je 0x4650c7
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x390], 0
mov dword [esp + 0x274], esi
jne 0x4650f3
mov eax, dword [esp + 0x27c]
lea edx, [esp + 0x280]
cmp eax, edx
je 0x4650f3
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x4b8], 0
mov dword [esp + 0x39c], esi
jne 0x46511f
mov eax, dword [esp + 0x3a4]
lea ecx, [esp + 0x3a8]
cmp eax, ecx
je 0x46511f
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x830], 0
mov dword [esp + 0x714], esi
jne 0x46514b
mov eax, dword [esp + 0x71c]
lea edx, [esp + 0x720]
cmp eax, edx
je 0x46514b
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x268], 0
mov dword [esp + 0x14c], esi
jne 0x465177
mov eax, dword [esp + 0x154]
lea ecx, [esp + 0x158]
cmp eax, ecx
je 0x465177
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x708], 0
mov dword [esp + 0x5ec], esi
jne 0x4651a3
mov eax, dword [esp + 0x5f4]
lea edx, [esp + 0x5f8]
cmp eax, edx
je 0x4651a3
push eax
call fcn.004fdda1
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.00473f10
xor al, al
jmp 0x465219
mov eax, dword [esp + 0x840]
push eax
call esi
lea ecx, [esp + 0x83c]
call fcn.00473f10
lea ecx, [esp + 0x4c4]
call fcn.0046dfd0
lea ecx, [esp + 0x274]
call fcn.0046dfd0
lea ecx, [esp + 0x39c]
call fcn.0046dfd0
lea ecx, [esp + 0x714]
call fcn.0046dfd0
lea ecx, [esp + 0x14c]
call fcn.0046dfd0
lea ecx, [esp + 0x5ec]
call fcn.0046dfd0
lea ecx, [esp + 0x1c]
call fcn.00473f10
mov al, 1
mov ecx, dword [esp + 0x970]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x95c]
xor ecx, esp
call fcn.004fe05a
add esp, 0x96c
ret