joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405fed
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406022
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x40601e
lea ecx, [ecx]
cmp esi, eax
jae 0x406022
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406010
cmp esi, eax
jb 0x406029
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x406370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4063a8
push 1
call fcn.00421f62
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40640d
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
mov eax, edi
jmp 0x4063d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4063f6
test dx, dx
je 0x4063f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4063f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4063d0
xor eax, eax
jmp 0x4063fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406446
lea ecx, [ebp - 0x230]
push ecx
push esi
call ebx
test eax, eax
jne 0x4063c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406433
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406462
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x406480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4064dd
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [ebp - 0x228], ebx
je 0x4064f7
lea ecx, [ebp - 0x230]
push ecx
push esi
call edi
test eax, eax
jne 0x4064c7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret

Function at 0x4065e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4397fb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x445824]
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 ebx, dword [ebp + 8]
xor edi, edi
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x21c], edi
call fcn.00422ed0
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push str.SYSTEMCurrentControlSetControlVersionForcorResourcesTimeZone
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x224], 0x104
mov dword [ebp - 0x228], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea edx, [ebp - 0x224]
push edx
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
push ecx
push edi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 4], edi
push 0x43ea88
lea edi, [ebp - 0x220]
call fcn.0040ec10
mov esi, dword [ebp - 0x220]
push esi
push 0x43ea88
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esi - 0x10]
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4066f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x406890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40004
call fcn.0042d850
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
test edx, edx
jle 0x4068b9
xor byte [eax + ecx], 0xef
inc ecx
cmp ecx, edx
jl 0x4068b0
push esi
mov ecx, eax
push edi
mov esi, ecx
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4068c0
sub ecx, esi
lea edi, [ebp - 0x40004]
mov edx, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4068d2
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x40004]
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4068f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret

Function at 0x406910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40004
call fcn.0042d850
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
test edx, edx
jle 0x406939
xor byte [eax + ecx], 0x19
inc ecx
cmp ecx, edx
jl 0x406930
push esi
mov ecx, eax
push edi
mov esi, ecx
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x406940
sub ecx, esi
lea edi, [ebp - 0x40004]
mov edx, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406952
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x40004]
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406970
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret

Function at 0x406990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40004
call fcn.0042d850
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
test edx, edx
jle 0x4069b9
xor byte [eax + ecx], 0x1a
inc ecx
cmp ecx, edx
jl 0x4069b0
push esi
mov ecx, eax
push edi
mov esi, ecx
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4069c0
sub ecx, esi
lea edi, [ebp - 0x40004]
mov edx, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4069d2
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x40004]
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4069f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x40a110
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
mov dword [ebp - 0x230], 0
call fcn.00422ed0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a166
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x230]
push ecx
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40a1d5
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea esp, [esp]
mov ecx, edi
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a1be
test dx, dx
je 0x40a1ba
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a1be
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a198
xor eax, eax
jmp 0x40a1c3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40a1ee
lea edx, [ebp - 0x230]
push edx
push esi
call ebx
test eax, eax
jne 0x40a190
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
pop ebx
xor ecx, ebp
pop esi
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x40a210
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x1fe
push ebx
push 0x453e68
mov dword [ebp - 0x238], ebx
call fcn.00422ed0
mov eax, dword [str.ZhuDongFangYu.exe]
push 0x43f36c
push eax
call fcn.00421285
add esp, 0x14
test eax, eax
jne 0x40a385
push esi
push edi
mov esi, 0x44c5c0
mov dword [ebp - 0x234], ebx
jmp 0x40a270
mov esi, dword [esi]
push 0x228
lea ecx, [ebp - 0x22c]
push ebx
push ecx
mov dword [ebp - 0x230], ebx
call fcn.00422ed0
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x40a347
lea edx, [ebp - 0x230]
push edx
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40a309
lea ecx, [ecx]
mov ecx, esi
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a2ee
cmp dx, bx
je 0x40a2ea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a2ee
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40a2c8
xor eax, eax
jmp 0x40a2f3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40a312
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40a2c0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a347
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x228], ebx
je 0x40a347
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x44c5c4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edx
push 0x453e68
call esi
push 0x43f370
push 0x453e68
call esi
mov eax, dword [ebp - 0x238]
inc eax
lea esi, [eax*8]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x44c5c0]
lea esi, [esi + 0x44c5c0]
push 0x43f36c
push eax
call fcn.00421285
add esp, 8
test eax, eax
je 0x40a270
pop edi
pop esi
push 0x453e68
call dword [sym.imp.KERNEL32.dll_lstrlenW]
pop ebx
test eax, eax
jne 0x40a3a5
push str.gb0R
push 0x453e68
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x453e68
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x40ab10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x161c
call fcn.0042d850
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x7fe
push eax
lea ecx, [ebp - 0xe0a]
push ecx
mov dword [ebp - 0x1614], esi
mov word [ebp - 0xe0c], ax
call fcn.00422ed0
lea edx, [ebp - 0xe0c]
push edx
mov ecx, str.opencolor
call fcn.004065e0
add esp, 0x10
lea eax, [ebp - 0xe0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40ab93
push 0x43f1b0
push 0x43ea88
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
push 0x208
lea ecx, [ebp - 0x60c]
push 0
push ecx
mov dword [ebp - 0x1610], 0
call fcn.00422ed0
add esp, 0xc
lea edx, [ebp - 0x1610]
push edx
push str.SYSTEMCurrentControlSetControlVersionForcorResourcesTimeZone
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x161c], 0x104
mov dword [ebp - 0x1618], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x161c]
push eax
mov eax, dword [ebp - 0x1610]
lea ecx, [ebp - 0x60c]
push ecx
lea edx, [ebp - 0x1618]
push edx
push 0
push str.opencolor
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40ac24
push 0x43f41c
push 0x43ea88
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x40ad2d
push 0x3ff
lea ecx, [ebp - 0x403]
push 0
push ecx
mov byte [ebp - 0x404], 0
call fcn.00422ed0
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x60c]
push edx
push 0
push 0
call esi
push 0
push 0
push eax
lea eax, [ebp - 0x404]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x60c]
push ecx
push 0
push 0
call esi
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ac82
sub eax, edx
lea edx, [ebp - 0x404]
push edx
mov edx, eax
call fcn.00406910
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x160a]
push ecx
mov word [ebp - 0x160c], ax
call fcn.00422ed0
lea eax, [ebp - 0x404]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40acc0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push 0
sub eax, edx
push 0
inc eax
push eax
lea edx, [ebp - 0x404]
push edx
push 0
push 0
call esi
lea ecx, [ebp - 0x404]
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40acf0
push eax
sub ecx, edi
lea eax, [ebp - 0x160c]
push eax
inc ecx
push ecx
lea ecx, [ebp - 0x404]
push ecx
push 0
push 0
call esi
mov eax, dword [ebp - 0x1614]
lea edx, [ebp - 0x160c]
push edx
push 0x43ea88
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
pop edi
mov ecx, dword [ebp - 0x1610]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x40ad50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa18
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0xa0a]
push ecx
mov word [ebp - 0xa0c], ax
call fcn.00422ed0
lea edx, [ebp - 0xa0c]
push edx
mov ecx, str.Orther
call fcn.004065e0
add esp, 0x10
lea eax, [ebp - 0xa0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40adc5
push 0x43f24c
push 0x43ea88
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
push 0x208
lea ecx, [ebp - 0x20c]
push 0
push ecx
mov dword [ebp - 0xa10], 0
call fcn.00422ed0
add esp, 0xc
lea edx, [ebp - 0xa10]
push edx
push str.SYSTEMCurrentControlSetControlVersionForcorResourcesTimeZone
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa18], 0x104
mov dword [ebp - 0xa14], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0xa18]
push eax
mov eax, dword [ebp - 0xa10]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0xa14]
push edx
push 0
push str.Orther
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40ae44
push 0x43f41c
jmp 0x40ae4b
lea ecx, [ebp - 0x20c]
push ecx
push 0x43ea88
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0xa10]
add esp, 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x40b2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x161c
call fcn.0042d850
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x7fe
push eax
lea ecx, [ebp - 0xe0a]
push ecx
mov dword [ebp - 0x1614], esi
mov word [ebp - 0xe0c], ax
call fcn.00422ed0
lea edx, [ebp - 0xe0c]
push edx
mov ecx, str.opencalls
call fcn.004065e0
add esp, 0x10
lea eax, [ebp - 0xe0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40b323
push 0x43f48c
push 0x43ea88
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
push 0x208
lea ecx, [ebp - 0x60c]
push 0
push ecx
mov dword [ebp - 0x1610], 0
call fcn.00422ed0
add esp, 0xc
lea edx, [ebp - 0x1610]
push edx
push str.SYSTEMCurrentControlSetControlVersionForcorResourcesTimeZone
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x161c], 0x104
mov dword [ebp - 0x1618], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x161c]
push eax
mov eax, dword [ebp - 0x1610]
lea ecx, [ebp - 0x60c]
push ecx
lea edx, [ebp - 0x1618]
push edx
push 0
push str.opencalls
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40b3b4
push 0x43f41c
push 0x43ea88
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x40b4bd
push 0x3ff
lea ecx, [ebp - 0x403]
push 0
push ecx
mov byte [ebp - 0x404], 0
call fcn.00422ed0
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x60c]
push edx
push 0
push 0
call esi
push 0
push 0
push eax
lea eax, [ebp - 0x404]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x60c]
push ecx
push 0
push 0
call esi
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b412
sub eax, edx
lea edx, [ebp - 0x404]
push edx
mov edx, eax
call fcn.00406910
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x160a]
push ecx
mov word [ebp - 0x160c], ax
call fcn.00422ed0
lea eax, [ebp - 0x404]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b450
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push 0
sub eax, edx
push 0
inc eax
push eax
lea edx, [ebp - 0x404]
push edx
push 0
push 0
call esi
lea ecx, [ebp - 0x404]
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40b480
push eax
sub ecx, edi
lea eax, [ebp - 0x160c]
push eax
inc ecx
push ecx
lea ecx, [ebp - 0x404]
push ecx
push 0
push 0
call esi
mov eax, dword [ebp - 0x1614]
lea edx, [ebp - 0x160c]
push edx
push 0x43ea88
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
pop edi
mov ecx, dword [ebp - 0x1610]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x40b4e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa18
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0xa0a]
push ecx
mov word [ebp - 0xa0c], ax
call fcn.00422ed0
lea edx, [ebp - 0xa0c]
push edx
mov ecx, str.SlDeep
call fcn.004065e0
add esp, 0x10
lea eax, [ebp - 0xa0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40b557
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x43e9f4
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
push 0x208
lea ecx, [ebp - 0x20c]
push 0
push ecx
mov dword [ebp - 0xa10], 0
call fcn.00422ed0
add esp, 0xc
lea edx, [ebp - 0xa10]
push edx
push str.SYSTEMCurrentControlSetControlVersionForcorResourcesTimeZone
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa18], 0x104
mov dword [ebp - 0xa14], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0xa18]
push eax
mov eax, dword [ebp - 0xa10]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0xa14]
push edx
push 0
push str.SlDeep
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40b5dd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x43e9f4
jmp 0x40b5e9
lea ecx, [ebp - 0x20c]
push ecx
push 0x43ea88
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0xa10]
add esp, 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x40b610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x161c
call fcn.0042d850
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x7fe
push eax
lea ecx, [ebp - 0xe0a]
push ecx
mov dword [ebp - 0x1614], esi
mov word [ebp - 0xe0c], ax
call fcn.00422ed0
lea edx, [ebp - 0xe0c]
push edx
mov ecx, str.WEBFeMLeUVb
call fcn.004065e0
add esp, 0x10
lea eax, [ebp - 0xe0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40b693
push 0x43f4bc
push 0x43ea88
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
push 0x208
lea ecx, [ebp - 0x60c]
push 0
push ecx
mov dword [ebp - 0x1610], 0
call fcn.00422ed0
add esp, 0xc
lea edx, [ebp - 0x1610]
push edx
push str.SYSTEMCurrentControlSetControlVersionForcorResourcesTimeZone
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x161c], 0x104
mov dword [ebp - 0x1618], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x161c]
push eax
mov eax, dword [ebp - 0x1610]
lea ecx, [ebp - 0x60c]
push ecx
lea edx, [ebp - 0x1618]
push edx
push 0
push str.WEBFeMLeUVb
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40b724
push 0x43f41c
push 0x43ea88
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x40b82d
push 0x3ff
lea ecx, [ebp - 0x403]
push 0
push ecx
mov byte [ebp - 0x404], 0
call fcn.00422ed0
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x60c]
push edx
push 0
push 0
call esi
push 0
push 0
push eax
lea eax, [ebp - 0x404]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x60c]
push ecx
push 0
push 0
call esi
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b782
sub eax, edx
lea edx, [ebp - 0x404]
push edx
mov edx, eax
call fcn.00406910
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x160a]
push ecx
mov word [ebp - 0x160c], ax
call fcn.00422ed0
lea eax, [ebp - 0x404]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b7c0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push 0
sub eax, edx
push 0
inc eax
push eax
lea edx, [ebp - 0x404]
push edx
push 0
push 0
call esi
lea ecx, [ebp - 0x404]
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40b7f0
push eax
sub ecx, edi
lea eax, [ebp - 0x160c]
push eax
inc ecx
push ecx
lea ecx, [ebp - 0x404]
push ecx
push 0
push 0
call esi
mov eax, dword [ebp - 0x1614]
lea edx, [ebp - 0x160c]
push edx
push 0x43ea88
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
pop edi
mov ecx, dword [ebp - 0x1610]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret