joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4185f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov esi, edx
push 0x208
push eax
mov word [ebp - 0x290], ax
mov edi, ecx
lea eax, [ebp - 0x28e]
push eax
call fcn.0053ca90
add esp, 0xc
mov dword [ebp - 0x294], 1
lea eax, [ebp - 0x298]
mov dword [ebp - 0x298], 0x104
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x294]
push eax
push 0x5966e0
push str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41870b
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41870b
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.0053ca90
push 0x3f
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x290]
call fcn.00411900
add esp, 0x10
test eax, eax
je 0x41870b
lea eax, [ebp - 0x84]
push 0x2e
push eax
call fcn.00544fc4
add esp, 8
test eax, eax
je 0x41870b
add eax, 2
push 0x2e
push eax
call fcn.00544fc4
add esp, 8
test eax, eax
je 0x41870b
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x84]
push eax
push 0x594340
push esi
push edi
call fcn.00544ed3
add esp, 0x10
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
Function at 0x418a10
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.0053ca90
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x418a73
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x418b98
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x418b98
dec eax
je 0x418b89
dec eax
jne 0x418b98
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x418ab8
cmp dword [ebp - 0x118], 0
jne 0x418b98
mov al, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x418b0a
mov eax, dword [ebp - 0x118]
cmp eax, 2
je 0x418afa
cmp eax, 3
je 0x418afa
cmp eax, 1
jne 0x418ae2
mov al, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x418b98
mov al, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
mov al, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x418b98
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x418b74
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0x24
lea eax, [ebp - 0x144]
push eax
movdqu xmmword [ebp - 0x140], xmm0
movdqu xmmword [ebp - 0x130], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x418b98
cmp byte [ebp - 6], 1
jne 0x418b98
cmp word [ebp - 0x144], 9
jne 0x418b98
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x418b64
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 4
jne 0x418b98
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
Function at 0x4190b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x418], ecx
xor esi, esi
test edi, edi
je 0x4191c5
cmp word [edi], si
je 0x4191c5
test ebx, ebx
je 0x4191c5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0053ca90
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
push 0x596190
lea eax, [ebp - 0x414]
push 0x103
push eax
call fcn.00544ed3
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0053ca90
add esp, 0x2c
mov dword [ebp - 0x41c], 1
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0x206
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x41c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4191b2
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4191b2
lea eax, [ebp - 0x20c]
push eax
push 0x594340
push 0x102
push ebx
call fcn.00544ed3
add esp, 0x10
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
Function at 0x419bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b0
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov dword [ebp - 0x6b0], 0
push 0x206
push eax
mov word [ebp - 0x28c], ax
mov esi, ecx
lea eax, [ebp - 0x28a]
push eax
call fcn.0053ca90
add esp, 0xc
call fcn.00418a10
cmp al, 2
jb 0x419c86
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.0053ca90
add esp, 0xc
mov dword [ebp - 0x6a4], 1
lea eax, [ebp - 0x6ac]
mov dword [ebp - 0x6ac], 0x7e
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x6a4]
push eax
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x419c9f
lea eax, [ebp - 0x84]
push eax
push str._s_shellopencommand
lea eax, [ebp - 0x28c]
push 0x103
push eax
call fcn.00544ed3
add esp, 0x10
jmp 0x419c9f
push str.http_shellopencommand
lea eax, [ebp - 0x28c]
push 0x103
push eax
call fcn.00544ed3
add esp, 0xc
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x69c], ax
lea eax, [ebp - 0x69a]
push eax
call fcn.0053ca90
add esp, 0xc
mov dword [ebp - 0x6a0], 1
lea eax, [ebp - 0x6a8]
mov dword [ebp - 0x6a8], 0x40e
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
push 0
lea eax, [ebp - 0x28c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x419d27
push ecx
lea edx, [ebp - 0x28c]
mov word [ebp - 0x28c], ax
lea ecx, [ebp - 0x69c]
call fcn.004137f0
add esp, 4
test eax, eax
je 0x419d27
lea eax, [ebp - 0x28c]
push eax
jmp 0x419d2c
push 0x5966e0
mov ecx, esi
call fcn.00420550
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
Function at 0x41a040
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1054
call fcn.0053e720
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x1048
push eax
mov word [ebp - 0x1050], ax
lea eax, [ebp - 0x104e]
push eax
call fcn.0053ca90
lea eax, [ebp - 0x1050]
mov edx, str.__url
push 0x824
push eax
mov ecx, esi
call fcn.004139d0
lea ecx, [ebp - 0x1050]
add esp, 0x14
lea edx, [ecx + 2]
jmp 0x41a0a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a0a0
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x1050]
push eax
push 1
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMAIN
push SysReAllocString
call edi
lea ecx, [ebp - 0x1050]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a0e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x1050]
push eax
push 1
push str.First_Home_Page
push str.SoftwareMicrosoftInternet_ExplorerMAIN
push SysReAllocString
call edi
push str.BackupHomePage
push str.SoftwareMicrosoftInternet_ExplorerEUPP
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.IsWow64Process
push 0x5946b0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x1054], 0
test esi, esi
je 0x41a230
lea eax, [ebp - 0x1054]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x41a230
cmp dword [ebp - 0x1054], 0
je 0x41a230
lea eax, [ebp - 0x1054]
mov dword [ebp - 0x1054], 0
push eax
push 0xf013f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMAIN
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a230
lea ecx, [ebp - 0x1050]
lea edx, [ecx + 2]
jmp 0x41a1b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a1b0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x1050]
push eax
push 1
push str.Start_Page
push 0
push dword [ebp - 0x1054]
call edi
lea ecx, [ebp - 0x1050]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a1e4
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x1050]
push eax
push 1
push str.First_Home_Page
push 0
push dword [ebp - 0x1054]
call edi
push str.BackupHomePage
push str.SoftwareMicrosoftInternet_ExplorerEUPP
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push dword [ebp - 0x1054]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
Function at 0x41a470
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571e22
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2a4], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov dword [ebp - 0x2a8], edi
mov word [edi], ax
mov dword [ebp - 4], eax
push 0x208
push eax
mov word [ebp - 0x2a0], ax
lea eax, [ebp - 0x29e]
push eax
mov dword [ebp - 0x2a4], 1
call fcn.0053ca90
add esp, 0xc
lea eax, [ebp - 0x2a0]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2a0]
push 0x2e
push eax
call fcn.0053d309
mov esi, eax
add esp, 8
test esi, esi
je 0x41a5df
push str..exe
push esi
call fcn.0053d642
add esp, 8
test eax, eax
jne 0x41a5df
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov word [esi], ax
lea eax, [ebp - 0x2a0]
push 0x5965f0
push eax
call ebx
mov esi, eax
test esi, esi
je 0x41a5df
push 0x5965f0
lea eax, [esi + 4]
push eax
call ebx
test eax, eax
je 0x41a565
mov esi, eax
jmp 0x41a552
test esi, esi
je 0x41a5df
add esi, 4
push 0x5965f8
push esi
call fcn.005451d6
add esp, 8
test eax, eax
je 0x41a583
xor ecx, ecx
mov word [eax], cx
push 0x20
push esi
call fcn.00544fc4
add esp, 8
test eax, eax
jne 0x41a5df
push 9
push esi
call fcn.00544fc4
add esp, 8
test eax, eax
jne 0x41a5df
push 0x80
push eax
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x92]
push eax
call fcn.0053ca90
push esi
push 0x594340
lea eax, [ebp - 0x94]
push 0x40
push eax
call fcn.00544ed3
add esp, 0x1c
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.0041b870
cmp dword [edi + 0x10], 0
jne 0x41a65e
xor eax, eax
push 0x80
push eax
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x92]
push eax
call fcn.0053ca90
add esp, 0xc
lea eax, [ebp - 0x94]
push 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, str.__cid
mov ecx, eax
call fcn.004139d0
add esp, 8
cmp word [ebp - 0x94], 0
jne 0x41a62f
xor ecx, ecx
jmp 0x41a64f
lea ecx, [ebp - 0x94]
lea edx, [ecx + 2]
jmp 0x41a640
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a640
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.004203d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
Function at 0x41b020
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x571f68
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5bb250]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x5bb250]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
push 0
push 0x20
push 3
push 0
push 1
push SysReAllocString
push eax
mov dword [esp + 0x64], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41b113
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x41b108
lea eax, [ebx + 2]
push eax
call fcn.00520986
mov esi, eax
add esp, 4
test esi, esi
je 0x41b108
lea eax, [ebx + 2]
push eax
push 0
push esi
call fcn.0053ca90
add esp, 0xc
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b0ff
cmp ebx, dword [esp + 0x14]
jne 0x41b0ff
push esi
lea ecx, [esp + 0x24]
call fcn.0040e690
push esi
call fcn.0053c06b
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x18]
mov edi, dword [ebp + 0x10]
xor ecx, ecx
test edi, edi
sete cl
xor eax, eax
cmp dword [ebp + 0x14], eax
sete al
test eax, ecx
jne 0x41b1da
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41b1da
cmp dword [esp + 0x34], 0x10
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
cmovae ecx, dword [esp + 0x20]
call fcn.00411650
cmp dword [esp + 0x34], 0x10
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0x30], 0
cmovae ecx, dword [esp + 0x20]
mov byte [ecx], 0
test esi, esi
je 0x41b1da
mov edx, dword [esp + 0x14]
test edi, edi
je 0x41b186
push edi
mov ecx, esi
call fcn.00431880
add esp, 4
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x41b1c7
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0
push ecx
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, esi
call fcn.00431560
mov edi, dword [esp + 0x20]
add esp, 0xc
test edi, edi
je 0x41b1d1
push edi
lea ecx, [esp + 0x24]
call fcn.0040e690
push edi
call fcn.0053c06b
add esp, 4
jmp 0x41b1d1
push esi
lea ecx, [esp + 0x24]
call fcn.0040e690
push esi
call fcn.0053c06b
add esp, 4
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.00406640
cmp dword [esp + 0x34], 0x10
jb 0x41b1f9
push dword [esp + 0x20]
call fcn.0053ba8c
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
Function at 0x41b570
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x41b5b4
cmp edi, 0xffffffff
je 0x41b5b4
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, 1
pop edi
pop ebp
ret
Function at 0x422750
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.0053ca90
add esp, 8
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x5966e0
call fcn.00422c80
test eax, eax
je 0x4227a6
cmp word [ebp - 0x84], 0
jne 0x42284a
cmp dword [esi + 0x98], 0
jne 0x4227c3
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x98], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0
push eax
push 0
push esi
push 0x4226c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x493e0
push dword [esi + 0x98]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42282a
push 0x80
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0053ca90
add esp, 8
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x5966e0
call fcn.00422c80
push dword [esi + 0x98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x84], 0
mov dword [esi + 0x98], 0
je 0x42287b
lea eax, [ebp - 0x84]
push eax
push 0x594340
push 0x40
push 0x5c13c0
call fcn.00544ed3
add esp, 0x10
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x422b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0xa0], 0
jne 0x422bda
cmp dword [esi + 0x4c], 8
lea eax, [esi + 0x38]
mov dword [ebp - 0x214], 4
mov dword [ebp - 0x218], 4
jb 0x422ba6
mov eax, dword [eax]
lea ecx, [ebp - 0x218]
push ecx
push ebx
lea ecx, [ebp - 0x214]
push ecx
push edi
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0053ca90
lea eax, [esi + 0xa4]
mov dword [ebp - 0x214], 0x104
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x422c10
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push edi
push eax
call dword [sym.imp.WININET.dll_InternetGetCookieExW]
test eax, eax
je 0x422c69
lea eax, [ebp - 0x210]
push 0x3d
push eax
call fcn.00544fc4
add esp, 8
test eax, eax
je 0x422c69
add eax, 2
push eax
call fcn.0053c015
add esp, 4
mov dword [ebx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 8
Function at 0x422c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
xor esi, esi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x218], ecx
test ebx, ebx
je 0x422da1
cmp dword [edi + 0xa0], esi
jne 0x422d0d
cmp dword [edi + 0x4c], 8
lea eax, [edi + 0x38]
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x218], 0x7e
jb 0x422cd5
mov eax, dword [eax]
lea edx, [ebp - 0x218]
push edx
push ebx
lea edx, [ebp - 0x214]
push edx
push ecx
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, eax
neg esi
pop edi
sbb esi, esi
inc esi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0053ca90
lea eax, [edi + 0xa4]
mov dword [ebp - 0x214], 0x104
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x422d43
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push dword [ebp - 0x218]
push eax
call dword [sym.imp.WININET.dll_InternetGetCookieExW]
test eax, eax
je 0x422d8c
lea eax, [ebp - 0x210]
push 0x3d
push eax
call fcn.00544fc4
add esp, 8
test eax, eax
je 0x422d8c
add eax, 2
push eax
push 0x40
push ebx
call fcn.0041f890
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x422dc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0xa0], 0
jne 0x422e1a
cmp dword [esi + 0x4c], 8
lea eax, [esi + 0x38]
jb 0x422dee
mov eax, dword [eax]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push edi
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0053ca90
add esp, 8
lea eax, [ebp - 0x230]
push eax
call fcn.00422a60
cmp dword [eax + 0x14], 8
jb 0x422e4c
mov eax, dword [eax]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push str._d_path___s
push 0x104
push eax
call fcn.0041f270
add esp, 0x14
cmp dword [ebp - 0x21c], 8
jb 0x422e80
push dword [ebp - 0x230]
call fcn.0053ba8c
add esp, 4
cmp dword [esi + 0xb8], 8
lea eax, [esi + 0xa4]
jb 0x422e91
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push edi
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieExW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 8
Function at 0x422ec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x422ef7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0xa0], 0
jne 0x422f4b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422f05
sub ecx, edx
lea edx, [edi + 0x38]
sar ecx, 1
cmp dword [edx + 0x14], 8
jb 0x422f1f
mov edx, dword [edx]
lea eax, [ecx + ecx]
push eax
push esi
push 1
push ebx
push edx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0053ca90
add esp, 8
lea eax, [ebp - 0x230]
push eax
call fcn.00422a60
cmp dword [eax + 0x14], 8
jb 0x422f7d
mov eax, dword [eax]
push eax
push esi
push str._s_path___s
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0041f270
add esp, 0x14
cmp dword [ebp - 0x21c], 8
jb 0x422faf
push dword [ebp - 0x230]
call fcn.0053ba8c
add esp, 4
cmp dword [edi + 0xb8], 8
lea eax, [edi + 0xa4]
jb 0x422fc0
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 8
Function at 0x4237b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xc4], 0
je 0x4237cd
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4237e1
push eax
call fcn.00424a90
test eax, eax
je 0x4237c3
push 0
mov dword [esi + 0xc4], 1
call fcn.005458d1
add esp, 4
mov ecx, esi
push eax
push str.lastchktime
call fcn.00422dc0
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xbc], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc0], eax
je 0x423849
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x4205c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.00423860
pop esi
mov esp, ebp
pop ebp
ret 0xc