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

Disassembly:
push 0xffffffffffffffff
push 0x55590e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x900
mov edx, dword [0x5ba8bc]
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 0x498a51
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.00499d60
lea ecx, [esp + 0x88]
call fcn.00532a49
mov dword [esp + 0x918], edi
lea ebx, [esp + 0x140]
push 0x20
push ebx
mov esi, ebx
call fcn.0051c7f0
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x498a8c
sub eax, esi
inc ebx
jmp 0x498a9a
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 0x498aa6
mov eax, 0x1f
jmp 0x498aaa
test eax, eax
jle 0x498b0c
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.00537b72
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x920], 1
call fcn.00532c25
lea ecx, [esp + 0x2c]
mov byte [esp + 0x918], 0
call fcn.00537b04
xor edi, edi
cmp ebx, edi
jne 0x498a74
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 0x499003
mov eax, dword [esp + 0x34]
xor bl, bl
xor ebp, ebp
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x498c01
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.00524fd0
add esp, 8
test eax, eax
jne 0x498beb
mov eax, dword [0x5b5ecc]
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.00537c3d
mov eax, dword [ebx + 8]
lea ecx, [esi + eax + 4]
push ecx
lea ecx, [esp + 0x68]
call fcn.00537c3d
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0049a390
mov bl, 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x918], 4
call fcn.00537b04
lea ecx, [esp + 0x60]
mov byte [esp + 0x918], 2
call fcn.00537b04
mov ecx, dword [esp + 0x34]
inc ebp
cmp ebp, dword [ecx + 0xc]
jl 0x498b50
test bl, bl
jne 0x498fef
mov edx, dword [esp + 0x8c]
push 0x5ab9a0
mov eax, dword [edx + edi*4]
push eax
call fcn.00524fd0
add esp, 8
test eax, eax
jne 0x498c85
mov eax, dword [0x5b5ecc]
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.00537c8d
push str.application_x_rar_compressed
lea ecx, [esp + 0x60]
call fcn.00537c8d
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0049a390
mov bl, 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x918], 6
call fcn.00537b04
lea ecx, [esp + 0x58]
mov byte [esp + 0x918], 2
call fcn.00537b04
mov edx, dword [esp + 0x8c]
push 0x5ab968
mov eax, dword [edx + edi*4]
push eax
call fcn.00524fd0
add esp, 8
test eax, eax
jne 0x498d1e
mov eax, dword [0x5b5ecc]
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.00537c8d
push str.application_x_rar_compressed
lea ecx, [esp + 0x88]
call fcn.00537c8d
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x80]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0049a390
mov bl, 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x918], 8
call fcn.00537b04
lea ecx, [esp + 0x80]
mov byte [esp + 0x918], 2
call fcn.00537b04
mov edx, dword [esp + 0x8c]
push 0x5ab930
mov eax, dword [edx + edi*4]
push eax
call fcn.00524fd0
add esp, 8
test eax, eax
jne 0x498da5
mov eax, dword [0x5b5ecc]
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.00537c8d
push str.application_x_compressed
lea ecx, [esp + 0x80]
call fcn.00537c8d
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0049a390
mov bl, 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x918], 0xa
call fcn.00537b04
lea ecx, [esp + 0x78]
mov byte [esp + 0x918], 2
call fcn.00537b04
mov edx, dword [esp + 0x8c]
push 0x5ab8f8
mov eax, dword [edx + edi*4]
push eax
call fcn.00524fd0
add esp, 8
test eax, eax
jne 0x498e27
mov eax, dword [0x5b5ecc]
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.00537c8d
push str.application_x_compressed
lea ecx, [esp + 0x78]
call fcn.00537c8d
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0049a390
lea ecx, [esp + 0x74]
mov byte [esp + 0x918], 0xc
call fcn.00537b04
mov byte [esp + 0x918], 2
lea ecx, [esp + 0x70]
jmp 0x498fea
test bl, bl
jne 0x498fef
mov edx, dword [0x5b5ecc]
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 0x5ab8c0
push edx
call fcn.0053091a
mov ecx, dword [esp + 0x38]
add esp, 0xc
lea eax, [esp + 0x30]
push eax
push 0x20019
push 0
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x498f2b
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 0x498f20
mov eax, dword [0x5b5ecc]
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.00537c3d
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x70]
call fcn.00537c8d
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x68]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0049a390
mov bl, 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x918], 0xf
call fcn.00537b04
lea ecx, [esp + 0x68]
mov byte [esp + 0x918], 0xd
call fcn.00537b04
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.00537b04
test bl, bl
jne 0x498fef
mov eax, dword [0x5b5ecc]
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.00537c3d
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.0053091a
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.0049a390
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.0053091a
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0049a390
lea ecx, [esp + 0x40]
mov byte [esp + 0x918], 0x11
call fcn.00537b04
mov byte [esp + 0x918], 2
lea ecx, [esp + 0x3c]
call fcn.00537b04
mov eax, dword [esp + 0x90]
inc edi
cmp edi, eax
jl 0x498b3d
mov ebp, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x44], 0x563bb4
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 0x4990e8
xor bl, bl
xor esi, esi
test eax, eax
jle 0x4990b4
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.00524fd0
add esp, 8
test eax, eax
jne 0x4990a7
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x30]
lea eax, [edx + esi*8]
push eax
call fcn.00537879
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.0053091a
add esp, 0x10
lea ecx, [esp + 0x30]
mov bl, 1
mov byte [esp + 0x918], 0x12
call fcn.00537b04
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
jl 0x49903b
test bl, bl
jne 0x4990db
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.0049a210
mov edx, dword [esp + 0x48]
push esi
lea ecx, [edx + ebx*8]
call fcn.0049a550
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
inc edi
cmp edi, ecx
jl 0x499033
mov ecx, dword [0x5b5ecc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
xor esi, esi
mov byte [esp + 0x918], 0x15
test eax, eax
jle 0x4991e5
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 0x499159
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 0x49919f
mov ecx, dword [ebp + 0x18]
push 0x5ab890
inc ecx
mov dword [ebp + 0x18], ecx
lea ecx, [esp + 0x14]
call fcn.00537ee0
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.004994f0
push 0x5ba440
lea ecx, [esp + 0x18]
call fcn.00537c8d
push 0x5ba440
lea ecx, [esp + 0x14]
call fcn.00537c8d
mov ecx, dword [esp + 0x48]
lea edx, [ecx + esi*8]
lea ecx, [esp + 0x14]
push edx
call fcn.00537f1c
mov eax, dword [esp + 0x48]
lea ecx, [eax + esi*8 + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00537f1c
push 0x7c
lea ecx, [esp + 0x18]
call fcn.00537f07
push 0x7c
lea ecx, [esp + 0x14]
call fcn.00537f07
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
jl 0x499108
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x499203
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49922d
mov ebx, dword [ebp + 0x18]
push 0x5ab890
inc ebx
lea ecx, [esp + 0x14]
mov dword [ebp + 0x18], ebx
call fcn.00537ee0
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.004994f0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x4c]
call fcn.0049a210
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x499260
mov edx, dword [esp + 0x20]
push edx
push eax
call fcn.0049a520
mov eax, dword [esp + 0x1c]
push eax
call fcn.005380ca
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.00532adc
lea ecx, [esp + 0x10]
mov byte [esp + 0x918], 0x14
call fcn.00537b04
lea ecx, [esp + 0x14]
mov byte [esp + 0x918], 0x12
call fcn.00537b04
mov ebp, 0x563bb4
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x48]
mov byte [esp + 0x918], 0x16
test esi, esi
je 0x4992f7
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], esi
test eax, eax
je 0x4992ee
lea edi, [eax]
mov bl, 0x17
lea ecx, [esi + 4]
mov byte [esp + 0x918], bl
call fcn.00537b04
mov ecx, esi
mov byte [esp + 0x918], 0x16
call fcn.00537b04
add esi, 8
dec edi
mov dword [esp + 0x38], esi
jne 0x4992c2
mov esi, dword [esp + 0x48]
push esi
call fcn.005380ca
add esp, 4
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x918], 0x18
test esi, esi
je 0x499350
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], esi
test eax, eax
je 0x499347
lea edi, [eax]
mov bl, 0x19
lea ecx, [esi + 4]
mov byte [esp + 0x918], bl
call fcn.00537b04
mov ecx, esi
mov byte [esp + 0x918], 0x18
call fcn.00537b04
add esi, 8
dec edi
mov dword [esp + 0x38], esi
jne 0x49931b
mov esi, dword [esp + 0x1c]
push esi
call fcn.005380ca
add esp, 4
lea ecx, [esp + 0x88]
mov dword [esp + 0x918], 0xffffffff
call fcn.00532a7c
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