Function at 0x4133ba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x3a0
lea ebp, [esp - 4]
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
push 0x48
mov eax, 0x4f820c
call fcn.004de80b
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x3b0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x3b4]
mov esi, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x545cc4]
mov ecx, 0x545cc4
mov dword [ebp - 0x1c], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
push 0x208
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push edi
push eax
call fcn.004dbcc0
push pe_nt_image_headers32
lea eax, [ebp + 4]
push edi
push eax
mov dword [ebp], 0x114
call fcn.004dbcc0
add esp, 0x18
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ebx, 0x105
test eax, eax
je 0x4134a2
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
lea edi, [ebp + 0x194]
push dword [ebp + 4]
push 0x511564
call fcn.0040299a
mov eax, edi
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x413484
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
xor eax, eax
push 0x7e
push eax
mov word [ebp + 0x114], ax
lea eax, [ebp + 0x116]
push eax
call fcn.004dbcc0
lea eax, [ebp + 0x114]
push 0x3f
push eax
call fcn.0043f86b
lea eax, [ebp + 0x114]
push eax
push str.iev_s_r_n
mov ecx, ebx
lea edi, [ebp + 0x194]
call fcn.0040299a
mov eax, edi
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4134e9
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x507b1c
push str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
push 0x80000000
mov dword [ebp - 0x28], 0x208
mov dword [ebp - 0x2c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x413590
push 0x3f
pop ebx
lea esi, [ebp + 0x114]
lea edi, [ebp + 0x194]
call fcn.00436f88
mov eax, esi
push eax
push str.fv_s_r_n
mov ecx, 0x105
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x41356a
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
mov esi, dword [ebp - 0x1c]
mov ebx, 0x105
push 8
push str.appcdln
lea eax, [ebp - 0x10]
call fcn.00407be4
lea edi, [esi + 0x149e]
mov eax, edi
call fcn.0040670c
push eax
push edi
lea eax, [ebp - 0x10]
call fcn.00407be4
push 2
push 0x51163c
lea eax, [ebp - 0x10]
call fcn.00407be4
call fcn.0041799c
push eax
push str.appv_s_r_n
mov ecx, ebx
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4135e4
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
and dword [ebp - 0x54], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
push 0x1c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push dword [esi + 0xc]
push dword [esi + 0x31c]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 0x50]
cmp dword [ebp - 0x50], 0
mov dword [ebp - 0x30], eax
je 0x4136ff
mov eax, dword [0x547360]
test eax, eax
je 0x4136ff
push 0x104
lea ecx, [ebp + 0x194]
push ecx
push dword [ebp - 0x50]
push dword [esi + 0x31c]
call eax
test eax, eax
je 0x4136ff
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 9
mov esi, eax
push str.excptmod
lea eax, [ebp - 0x10]
call fcn.00407be4
test esi, esi
jne 0x41368c
lea esi, [ebp + 0x194]
mov eax, esi
call fcn.0040670c
push eax
push esi
lea eax, [ebp - 0x10]
call fcn.00407be4
push 2
push 0x51163c
lea eax, [ebp - 0x10]
call fcn.00407be4
push 0x3f
pop ebx
lea esi, [ebp + 0x114]
lea edi, [ebp + 0x194]
call fcn.00436f88
mov eax, esi
push eax
push str.excptmodv_s_r_n
mov ecx, 0x105
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4136d9
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
mov esi, dword [ebp - 0x1c]
mov ebx, 0x105
push dword [esi]
mov ecx, ebx
push str.excptcode_08x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x41371a
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push dword [ebp - 0x30]
mov ecx, ebx
push str.excptaddr_08x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x413754
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push dword [esi + 0x324]
mov ecx, ebx
push str.excptpid_08x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x413791
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push dword [esi + 0x328]
mov ecx, ebx
push str.excpttid_08x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4137ce
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push dword [esi + 0x32c]
mov ecx, ebx
push str.os64_x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x41380b
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push dword [esi + 0x330]
mov ecx, ebx
push str.procType_x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x413848
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push dword [esi + 0x334]
mov ecx, ebx
push str.browserMode_x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x413885
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push dword [esi + 0x33c]
mov ecx, ebx
push str.excptCnt_x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4138c2
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push dword [esi + 0x340]
mov ecx, ebx
push str.threadStatus_x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4138ff
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push dword [esi + 0x338]
mov ecx, ebx
push str.bExit_x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x41393c
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push dword [esi + 0x350]
mov ecx, ebx
push str.tckExcpt_x_r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x413979
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
lea eax, [esi + 0x354]
push eax
push str.threadErr_s_r_n
mov ecx, ebx
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
mov eax, edi
pop ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4139b7
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
lea eax, [esi + 0x454]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407c9b
push 0x5117fc
push 0x511804
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00407a7f
push 0x511808
push 0x511810
lea eax, [ebp - 0x14]
push eax
call fcn.00407a7f
push 9
push 0x511814
lea eax, [ebp - 0x10]
call fcn.00407be4
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push 2
mov edi, 0x51163c
push edi
lea eax, [ebp - 0x10]
call fcn.00407be4
push 9
push str.excptMD5
lea eax, [ebp - 0x10]
call fcn.00407be4
mov eax, dword [ebp - 0x20]
call fcn.0040670c
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
call fcn.00407be4
push 2
push edi
lea eax, [ebp - 0x10]
call fcn.00407be4
push 0xa
push str.excptwalk
lea eax, [ebp - 0x10]
call fcn.00407be4
mov eax, dword [ebp - 0x18]
call fcn.0040670c
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.00407be4
push 2
push edi
lea eax, [ebp - 0x10]
call fcn.00407be4
mov eax, dword [esi + 0x348]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x34c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004d75b5
pop ecx
test eax, eax
je 0x413b0a
push dword [eax]
mov ecx, dword [eax + 0x10]
push dword [eax + 4]
inc ecx
push dword [eax + 8]
lea edi, [ebp + 0x194]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str.excptTm_d__d__d__d:_d:_d_r_n
mov ecx, ebx
call fcn.0040299a
mov eax, edi
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x413aec
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x10]
call fcn.00407be4
push 0
lea eax, [ebp - 0x10]
call fcn.004147d4
call fcn.00412dde
test eax, eax
je 0x413bc6
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push dword [ebp - 0x24]
mov ecx, 0x104
push str.__s__r_n
lea edi, [ebp + 0x194]
call fcn.0040299a
pop ecx
pop ecx
mov eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
xor eax, eax
call fcn.00411b01
mov edi, dword [ebp - 0x10]
mov esi, dword [edi - 0xc]
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d4f20
mov ebx, eax
lea eax, [esi + esi]
push eax
push 0
push ebx
call fcn.004dbcc0
add esp, 0x10
push edi
mov ecx, esi
mov edx, ebx
call fcn.00402b1f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00406ace
lea eax, [edi - 0x10]
call fcn.00406ace
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
call fcn.004d5a7d
add ebp, 0x3a4
leave
ret
mov edi, dword [ebp - 0x10]
xor ebx, ebx
jmp 0x413b8e