Function at 0x10037ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1007cded
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_DefWindowProcA]
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0x1c], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi], 0x10083c2c
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov dword [esp + 0x28], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
lea eax, [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x6c]
mov byte [esp + 0x28], 2
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], 7
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
call fcn.1000d2e0
lea ecx, [esi + 0xb0]
mov byte [esp + 0x28], 3
call fcn.1000cee0
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], edi
mov dword [esi + 0x128], edi
push 0x10081bf2
lea ecx, [esi + 0x12c]
mov byte [esp + 0x2c], 5
call fcn.10005e50
mov dword [esi + 0x134], edi
mov dword [esi + 0x144], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x150], ebx
mov dword [esi + 0x130], 0x100839a4
mov dword [esi + 0x154], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0x15c], edi
mov dword [esi + 0x160], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], edi
lea ecx, [esi + 0x178]
mov byte [esp + 0x28], 0xa
call fcn.10018000
lea ecx, [esi + 0x19c]
mov byte [esp + 0x28], 0xb
call fcn.1000f450
mov dword [esi + 0x1a0], edi
mov dword [esi + 0x1a4], edi
lea ecx, [esi + 0x1ac]
mov byte [esp + 0x28], 0xe
call fcn.1003e670
lea ecx, [esi + 0x1d4]
mov byte [esp + 0x28], 0xf
call fcn.1000f450
lea ecx, [esi + 0x1dc]
mov byte [esp + 0x28], 0x10
call fcn.10040ac0
mov dword [esi + 0x268], edi
mov dword [esi + 0x26c], edi
mov ebx, 1
mov dword [esi + 0x270], ebx
mov dword [esi + 0x274], edi
mov dword [esi + 0x27c], edi
mov dword [esi + 0x280], edi
mov dword [esi + 0x284], edi
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x28], 0x14
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x288], eax
lea ecx, [esi + 0x2bc]
mov dword [esi + 0x28c], edi
mov dword [esi + 0x290], edi
mov dword [esi + 0x294], edi
mov dword [esi + 0x298], edi
mov dword [esi + 0x29c], edi
mov dword [esi + 0x2a0], edi
mov dword [esi + 0x2a4], edi
mov dword [esi + 0x2a8], edi
mov dword [esi + 0x2ac], edi
mov dword [esi + 0x2b0], edi
mov dword [esi + 0x2b4], edi
mov dword [esi + 0x2b8], edi
call fcn.10001d60
lea ecx, [esi + 0x300]
mov byte [esp + 0x28], 0x16
mov dword [esi + 0x2ec], edi
mov dword [esi + 0x2f8], edi
mov dword [esi + 0x2fc], edi
call fcn.10051d20
lea ebp, [esi + 0x350]
mov ecx, ebp
mov byte [esp + 0x28], 0x17
call fcn.10029ba0
mov dword [ebp + 4], eax
mov byte [eax + 0x9d], bl
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ecx, [esi + 0x35c]
mov byte [esp + 0x28], 0x18
call fcn.1003b4f0
mov dword [esi + 0x384], edi
mov dword [esi + 0x388], edi
mov dword [esi + 0x38c], edi
mov dword [esi + 0x390], edi
mov dword [esi + 0x394], ebx
cmp dword [0x1009780c], edi
mov byte [esp + 0x28], 0x19
jne 0x10038003
lea eax, [esp + 0x10]
push eax
push 0x20019
push edi
push str.SOFTWARESohu_RDDownload
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [0x10096d68], 0x10096d90
mov dword [esp + 0x28], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10037faf
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push edi
push str.P2PsvrPort
push eax
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xa
push 0x100840f4
lea ecx, [esi + 0x1e4]
call fcn.100048d0
push edi
push 0x4e85
call fcn.10001450
add esp, 8
cmp eax, edi
je 0x10037fe4
push 0x4e85
push eax
lea ecx, [esi + 0x1e0]
call fcn.10004800
mov edx, dword [esp + 0x14]
push edx
lea eax, [esi + 0x1f8]
push str.http:__127.0.0.1:_d_0_download.html
push eax
mov dword [esi + 0x234], edi
call fcn.10004e20
add esp, 0xc
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret