Function at 0x4b6670
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x589dae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x900
mov edx, dword [0x63e518]
push ebp
mov ebp, ecx
lea eax, [esp + 0x90]
push edi
lea ecx, [esp + 0x138]
push eax
xor edi, edi
push ecx
push edi
push edi
push str.Extensions
push edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0xac], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4b66e1
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x900]
mov dword fs:[0], ecx
add esp, 0x90c
ret
push ebx
push esi
mov ecx, ebp
call fcn.004b79f0
lea ecx, [esp + 0x88]
call fcn.00564ffa
mov dword [esp + 0x918], edi
lea ebx, [esp + 0x140]
push 0x20
push ebx
mov esi, ebx
call fcn.0054e030
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x4b671c
sub eax, esi
inc ebx
jmp 0x4b672a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
cmp eax, 0x1f
jle 0x4b6736
mov eax, 0x1f
jmp 0x4b673a
test eax, eax
jle 0x4b679c
mov ecx, eax
lea edi, [esp + 0xa0]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0xa0], 0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x30]
call fcn.0056a16e
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x920], 1
call fcn.005651d6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x918], 0
call fcn.0056a100
xor edi, edi
cmp ebx, edi
jne 0x4b6704
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x90]
test eax, eax
jle 0x4b6c93
mov eax, dword [esp + 0x34]
xor bl, bl
xor ebp, ebp
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x4b6891
mov ecx, dword [esp + 0x34]
lea esi, [ebp*8]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esi + edx]
mov ecx, dword [ecx + edi*4]
push eax
push ecx
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x4b687b
mov eax, dword [0x639ad4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x34]
mov edx, esi
mov byte [esp + 0x918], 3
mov ecx, dword [ebx + 8]
add edx, ecx
lea ecx, [esp + 0x60]
push edx
call fcn.0056a239
mov eax, dword [ebx + 8]
lea ecx, [esi + eax + 4]
push ecx
lea ecx, [esp + 0x68]
call fcn.0056a239
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.004b8020
mov bl, 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x918], 4
call fcn.0056a100
lea ecx, [esp + 0x60]
mov byte [esp + 0x918], 2
call fcn.0056a100
mov ecx, dword [esp + 0x34]
inc ebp
cmp ebp, dword [ecx + 0xc]
jl 0x4b67e0
test bl, bl
jne 0x4b6c7f
mov edx, dword [esp + 0x8c]
push 0x62afbc
mov eax, dword [edx + edi*4]
push eax
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x4b6915
mov eax, dword [0x639ad4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push str.R00__R01__R02__R03__R04__R05__R06__R07__R08__R09
lea ecx, [esp + 0x5c]
mov byte [esp + 0x91c], 5
call fcn.0056a289
push str.application_x_rar_compressed
lea ecx, [esp + 0x60]
call fcn.0056a289
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004b8020
mov bl, 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x918], 6
call fcn.0056a100
lea ecx, [esp + 0x58]
mov byte [esp + 0x918], 2
call fcn.0056a100
mov edx, dword [esp + 0x8c]
push 0x62af84
mov eax, dword [edx + edi*4]
push eax
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x4b69ae
mov eax, dword [0x639ad4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
push str.R10__R11__R12__R13__R14__R15__R16__R17__R18__R19
lea ecx, [esp + 0x84]
mov byte [esp + 0x91c], 7
call fcn.0056a289
push str.application_x_rar_compressed
lea ecx, [esp + 0x88]
call fcn.0056a289
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x80]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004b8020
mov bl, 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x918], 8
call fcn.0056a100
lea ecx, [esp + 0x80]
mov byte [esp + 0x918], 2
call fcn.0056a100
mov edx, dword [esp + 0x8c]
push 0x62af4c
mov eax, dword [edx + edi*4]
push eax
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x4b6a35
mov eax, dword [0x639ad4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
push str.A00__A01__A02__A03__A04__A05__A06__A07__A08__A09
lea ecx, [esp + 0x7c]
mov byte [esp + 0x91c], 9
call fcn.0056a289
push str.application_x_compressed
lea ecx, [esp + 0x80]
call fcn.0056a289
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004b8020
mov bl, 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x918], 0xa
call fcn.0056a100
lea ecx, [esp + 0x78]
mov byte [esp + 0x918], 2
call fcn.0056a100
mov edx, dword [esp + 0x8c]
push 0x62af14
mov eax, dword [edx + edi*4]
push eax
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x4b6ab7
mov eax, dword [0x639ad4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
push str.A10__A11__A12__A13__A14__A15__A16__A17__A18__A19
lea ecx, [esp + 0x74]
mov byte [esp + 0x91c], 0xb
call fcn.0056a289
push str.application_x_compressed
lea ecx, [esp + 0x78]
call fcn.0056a289
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004b8020
lea ecx, [esp + 0x74]
mov byte [esp + 0x918], 0xc
call fcn.0056a100
mov byte [esp + 0x918], 2
lea ecx, [esp + 0x70]
jmp 0x4b6c7a
test bl, bl
jne 0x4b6c7f
mov edx, dword [0x639ad4]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x2c]
mov byte [esp + 0x918], 0xd
mov ecx, dword [eax + edi*4]
push ecx
push 0x62aedc
push edx
call fcn.00562ecb
mov ecx, dword [esp + 0x38]
add esp, 0xc
lea eax, [esp + 0x30]
push eax
push 0x20019
push 0
push ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b6bbb
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x38]
lea eax, [esp + 0xc0]
push edx
push eax
push 0
push 0
push str.Content_Type
push ecx
mov dword [esp + 0x50], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b6bb0
mov eax, dword [0x639ad4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x68]
mov byte [esp + 0x918], 0xe
lea eax, [edx + edi*4]
push eax
call fcn.0056a239
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x70]
call fcn.0056a289
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x68]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.004b8020
mov bl, 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x918], 0xf
call fcn.0056a100
lea ecx, [esp + 0x68]
mov byte [esp + 0x918], 0xd
call fcn.0056a100
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x918], 2
call fcn.0056a100
test bl, bl
jne 0x4b6c7f
mov eax, dword [0x639ad4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x918], 0x10
lea eax, [edx + edi*4]
push eax
call fcn.0056a239
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x40]
mov edx, dword [ecx + edi*4]
push edx
push str.application__s
push eax
call fcn.00562ecb
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004b8020
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x40]
mov ecx, dword [eax + edi*4]
push ecx
push str.application_x__s
push edx
call fcn.00562ecb
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004b8020
lea ecx, [esp + 0x40]
mov byte [esp + 0x918], 0x11
call fcn.0056a100
mov byte [esp + 0x918], 2
lea ecx, [esp + 0x3c]
call fcn.0056a100
mov eax, dword [esp + 0x90]
inc edi
cmp edi, eax
jl 0x4b67cd
mov ebp, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x44], 0x5ad72c
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x20]
xor edi, edi
cmp ecx, eax
mov byte [esp + 0x918], 0x12
jle 0x4b6d78
xor bl, bl
xor esi, esi
test eax, eax
jle 0x4b6d44
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + esi*8 + 4]
mov ecx, dword [ecx + edi*8 + 4]
push eax
push ecx
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x4b6d37
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x30]
lea eax, [edx + esi*8]
push eax
call fcn.00569e75
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x918], 0x13
mov edx, dword [ecx + edi*8]
mov ecx, dword [esp + 0x48]
push edx
push eax
lea edx, [ecx + esi*8]
push str._s___s
push edx
call fcn.00562ecb
add esp, 0x10
lea ecx, [esp + 0x30]
mov bl, 1
mov byte [esp + 0x918], 0x12
call fcn.0056a100
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
jl 0x4b6ccb
test bl, bl
jne 0x4b6d6b
mov ecx, dword [esp + 0x1c]
mov ebx, eax
inc eax
push 0xffffffffffffffff
lea esi, [ecx + edi*8]
push eax
lea ecx, [esp + 0x4c]
call fcn.004b7ea0
mov edx, dword [esp + 0x48]
push esi
lea ecx, [edx + ebx*8]
call fcn.004b81e0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
inc edi
cmp edi, ecx
jl 0x4b6cc3
mov ecx, dword [0x639ad4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
xor esi, esi
mov byte [esp + 0x918], 0x15
test eax, eax
jle 0x4b6e75
mov edx, dword [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + esi*8]
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x14]
not ecx
dec ecx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebx + ecx + 1]
cmp eax, 0xbe
ja 0x4b6de9
mov edi, dword [edx + esi*8 + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x10]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 4]
cmp eax, 0xf0
jbe 0x4b6e2f
mov ecx, dword [ebp + 0x18]
push 0x62aeac
inc ecx
mov dword [ebp + 0x18], ecx
lea ecx, [esp + 0x14]
call fcn.0056a476
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x18]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.004b7180
push 0x63e040
lea ecx, [esp + 0x18]
call fcn.0056a289
push 0x63e040
lea ecx, [esp + 0x14]
call fcn.0056a289
mov ecx, dword [esp + 0x48]
lea edx, [ecx + esi*8]
lea ecx, [esp + 0x14]
push edx
call fcn.0056a4b2
mov eax, dword [esp + 0x48]
lea ecx, [eax + esi*8 + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.0056a4b2
push 0x7c
lea ecx, [esp + 0x18]
call fcn.0056a49d
push 0x7c
lea ecx, [esp + 0x14]
call fcn.0056a49d
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
jl 0x4b6d98
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4b6e93
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b6ebd
mov ebx, dword [ebp + 0x18]
push 0x62aeac
inc ebx
lea ecx, [esp + 0x14]
mov dword [ebp + 0x18], ebx
call fcn.0056a476
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x18]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.004b7180
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x4c]
call fcn.004b7ea0
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x4b6ef0
mov edx, dword [esp + 0x20]
push edx
push eax
call fcn.004b81b0
mov eax, dword [esp + 0x1c]
push eax
call fcn.005664c5
add esp, 4
mov dword [esp + 0x1c], esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x90]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
call fcn.0056508d
lea ecx, [esp + 0x10]
mov byte [esp + 0x918], 0x14
call fcn.0056a100
lea ecx, [esp + 0x14]
mov byte [esp + 0x918], 0x12
call fcn.0056a100
mov ebp, 0x5ad72c
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x48]
mov byte [esp + 0x918], 0x16
test esi, esi
je 0x4b6f87
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], esi
test eax, eax
je 0x4b6f7e
lea edi, [eax]
mov bl, 0x17
lea ecx, [esi + 4]
mov byte [esp + 0x918], bl
call fcn.0056a100
mov ecx, esi
mov byte [esp + 0x918], 0x16
call fcn.0056a100
add esi, 8
dec edi
mov dword [esp + 0x38], esi
jne 0x4b6f52
mov esi, dword [esp + 0x48]
push esi
call fcn.005664c5
add esp, 4
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x918], 0x18
test esi, esi
je 0x4b6fe0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], esi
test eax, eax
je 0x4b6fd7
lea edi, [eax]
mov bl, 0x19
lea ecx, [esi + 4]
mov byte [esp + 0x918], bl
call fcn.0056a100
mov ecx, esi
mov byte [esp + 0x918], 0x18
call fcn.0056a100
add esi, 8
dec edi
mov dword [esp + 0x38], esi
jne 0x4b6fab
mov esi, dword [esp + 0x1c]
push esi
call fcn.005664c5
add esp, 4
lea ecx, [esp + 0x88]
mov dword [esp + 0x918], 0xffffffff
call fcn.0056502d
mov ecx, dword [esp + 0x910]
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x90c
ret