Function at 0x424870
Capabilities:
Contain obfuscated stackstrings
Get thread local storage value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f8d7
mov eax, dword fs:[0]
push eax
sub esp, 0x584
mov eax, dword [0x46d45c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x46f680], 0
je 0x424ae5
cmp dword [ebp + 0x14], 0xffffffff
jne 0x424ae5
push 0
lea ecx, [ebp - 0x478]
call fcn.00402190
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x47c]
call fcn.00402190
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x480]
call fcn.00402190
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x484]
call fcn.00402190
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x488]
call fcn.00402190
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x48c]
call fcn.00402190
mov byte [ebp - 4], 5
push 0x45d3a4
lea ecx, [ebp - 0x490]
call fcn.00402190
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x494]
call fcn.00402190
mov byte [ebp - 4], 7
push 0x45d3a8
lea ecx, [ebp - 0x49c]
call fcn.00402190
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x4a0]
call fcn.00402190
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x478]
push edx
push 1
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x480]
push ecx
lea edx, [ebp - 0x484]
push edx
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x48c]
push ecx
lea edx, [ebp - 0x490]
push edx
lea eax, [ebp - 0x494]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x498]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x528], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x528]
push ecx
lea edx, [ebp - 0x49c]
push edx
lea eax, [ebp - 0x4a0]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4a4]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x52c], eax
mov eax, dword [ebp - 0x52c]
mov dword [ebp - 0x530], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x530]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4a4]
call fcn.004021c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x498]
call fcn.004021c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4a0]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x49c]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x494]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x490]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48c]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x488]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x484]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x480]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.004021c0
lea ecx, [ebp - 0x14]
call fcn.00402160
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00437a63
add esp, 4
mov dword [ebp - 0x238], eax
push 0x5c
mov edx, dword [ebp - 0x238]
push edx
call fcn.00416770
add esp, 8
mov dword [ebp - 0x10], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx], ax
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x424b4b
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004021e0
jmp 0x424cfe
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x4a8]
call fcn.00402190
mov dword [ebp - 0x534], eax
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x538], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x538]
push ecx
push 0x45d3ac
push 0x45d3b0
lea ecx, [ebp - 0x4ac]
call fcn.00402190
mov dword [ebp - 0x53c], eax
mov edx, dword [ebp - 0x53c]
mov dword [ebp - 0x540], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x540]
push eax
push 0x45d3d4
mov ecx, dword [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x4b0]
call fcn.00402190
mov dword [ebp - 0x544], eax
mov edx, dword [ebp - 0x544]
mov dword [ebp - 0x548], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x548]
push eax
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.004255d0
add esp, 0xc
mov dword [ebp - 0x54c], eax
mov edx, dword [ebp - 0x54c]
mov dword [ebp - 0x550], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x550]
push eax
lea ecx, [ebp - 0x4b8]
push ecx
call fcn.00425540
add esp, 0xc
mov dword [ebp - 0x554], eax
mov edx, dword [ebp - 0x554]
mov dword [ebp - 0x558], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x558]
push eax
lea ecx, [ebp - 0x4bc]
push ecx
call fcn.004255d0
add esp, 0xc
mov dword [ebp - 0x55c], eax
mov edx, dword [ebp - 0x55c]
mov dword [ebp - 0x560], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x560]
push eax
lea ecx, [ebp - 0x4c0]
push ecx
call fcn.00425540
add esp, 0xc
mov dword [ebp - 0x564], eax
mov edx, dword [ebp - 0x564]
mov dword [ebp - 0x568], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x568]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402240
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x4c0]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x4bc]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x4b8]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4b4]
call fcn.004021c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4b0]
call fcn.004021c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4ac]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4a8]
call fcn.004021c0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [0x46f464]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.00402270
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004047c0
add esp, 0x14
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x424d6d
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00437abb
add esp, 4
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x4c4], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004021c0
mov eax, dword [ebp - 0x4c4]
jmp 0x4253a1
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42536a
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [0x46f464]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push 0x45d3d8
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x4cc]
call fcn.00402190
mov dword [ebp - 0x56c], eax
mov eax, dword [ebp - 0x56c]
mov dword [ebp - 0x570], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x570]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x4d0]
push edx
call fcn.00425660
add esp, 0xc
mov dword [ebp - 0x574], eax
mov eax, dword [ebp - 0x574]
mov dword [ebp - 0x578], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x578]
push ecx
lea edx, [ebp - 0x4d4]
push edx
call fcn.004255d0
add esp, 0xc
mov dword [ebp - 0x57c], eax
mov eax, dword [ebp - 0x57c]
mov dword [ebp - 0x580], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x580]
call fcn.00402270
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004047c0
add esp, 0x14
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x4c5], al
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x4d4]
call fcn.004021c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4d0]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4cc]
call fcn.004021c0
movzx edx, byte [ebp - 0x4c5]
test edx, edx
je 0x42536a
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x444]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42535d
push str.__1___
lea eax, [ebp - 0x444]
push eax
call fcn.00438feb
add esp, 8
test eax, eax
je 0x42535d
lea ecx, [ebp - 0x44c]
call fcn.00402160
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x474]
call fcn.00402160
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x454]
call fcn.00402160
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x470]
call fcn.00401a80
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x444]
push edx
call fcn.0040d610
add esp, 8
push 0
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x448]
push ecx
call fcn.00408fc0
add esp, 0xc
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x448]
call fcn.00402270
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00409fb0
add esp, 0x10
mov dword [ebp - 0x450], eax
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x4dc]
call fcn.00402190
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x44c]
push ecx
lea edx, [ebp - 0x448]
push edx
lea eax, [ebp - 0x4dc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b960
add esp, 0x14
mov byte [ebp - 0x4d5], al
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x4dc]
call fcn.004021c0
movzx edx, byte [ebp - 0x4d5]
test edx, edx
je 0x425312
cmp dword [ebp + 0x14], 0xffffffff
jne 0x4251c4
push 0
lea ecx, [ebp - 0x4e0]
call fcn.00402190
mov byte [ebp - 4], 0x1d
push 0
lea ecx, [ebp - 0x4e4]
call fcn.00402190
mov byte [ebp - 4], 0x1e
push 0x45d434
lea ecx, [ebp - 0x4e8]
call fcn.00402190
mov byte [ebp - 4], 0x1f
push 0x45d438
lea ecx, [ebp - 0x4ec]
call fcn.00402190
mov byte [ebp - 4], 0x20
push 0x45d43c
lea ecx, [ebp - 0x4f0]
call fcn.00402190
mov byte [ebp - 4], 0x21
push 0x45d440
lea ecx, [ebp - 0x4f4]
call fcn.00402190
mov byte [ebp - 4], 0x22
push 0x45d444
lea ecx, [ebp - 0x4f8]
call fcn.00402190
mov byte [ebp - 4], 0x23
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.00402190
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x504]
call fcn.00402190
mov byte [ebp - 4], 0x25
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x4e0]
push edx
push 1
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0x4e8]
push ecx
lea edx, [ebp - 0x4ec]
push edx
lea eax, [ebp - 0x4f0]
push eax
lea ecx, [ebp - 0x4f4]
push ecx
lea edx, [ebp - 0x4f8]
push edx
lea eax, [ebp - 0x4fc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x500]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x584], eax
mov eax, dword [ebp - 0x584]
mov dword [ebp - 0x588], eax
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x588]
push ecx
lea edx, [ebp - 0x504]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x500]
call fcn.004021c0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x504]
call fcn.004021c0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x4fc]
call fcn.004021c0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x4f8]
call fcn.004021c0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x4f4]
call fcn.004021c0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x4f0]
call fcn.004021c0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4ec]
call fcn.004021c0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x4e8]
call fcn.004021c0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x4e4]
call fcn.004021c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x4e0]
call fcn.004021c0
push 0
lea ecx, [ebp - 0x508]
call fcn.00402190
mov byte [ebp - 4], 0x27
lea edx, [ebp - 0x444]
push edx
lea ecx, [ebp - 0x50c]
call fcn.00402190
mov byte [ebp - 4], 0x28
push 0x45d448
lea ecx, [ebp - 0x510]
call fcn.00402190
mov byte [ebp - 4], 0x29
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x514]
call fcn.00402190
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x51c]
call fcn.00402190
mov byte [ebp - 4], 0x2b
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x508]
push edx
movzx eax, byte [ebp + 0x18]
push eax
lea ecx, [ebp - 0x50c]
push ecx
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x44c]
push ecx
lea edx, [ebp - 0x448]
push edx
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x514]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x518]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x58c], eax
mov ecx, dword [ebp - 0x58c]
mov dword [ebp - 0x590], ecx
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x590]
push edx
lea eax, [ebp - 0x51c]
push eax
push 3
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x450]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040c020
add esp, 0x40
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x518]
call fcn.004021c0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x51c]
call fcn.004021c0
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x514]
call fcn.004021c0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x510]
call fcn.004021c0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x50c]
call fcn.004021c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x508]
call fcn.004021c0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x448]
call fcn.004021c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x470]
call fcn.00401ae0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x454]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x474]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x44c]
call fcn.004021c0
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x238]
push eax
call fcn.00437abb
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x520], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004021c0
mov eax, dword [ebp - 0x520]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004376f1
mov esp, ebp
pop ebp
ret