joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428b6a
Capabilities:
Persist via run registry key

Disassembly:
push 0x44
mov eax, 0x464e9f
call fcn.0043f4b0
mov edi, ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call fcn.004275a7
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnceEx
push ebx
mov ecx, edi
mov esi, eax
call fcn.004275a7
push str.SYSTEMCurrentControlSetControlSession_ManagerFileRenameOperations
push ebx
mov ecx, edi
mov dword [ebp - 0x50], eax
call fcn.004275a7
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push ebx
mov ecx, edi
mov dword [ebp - 0x4c], eax
call fcn.004274e1
push str.rename
push str._WindowsFolder_Wininit.ini
mov ecx, edi
mov dword [ebp - 0x48], eax
call fcn.004272a1
mov ebx, eax
push 0
lea eax, [ebp - 0x41]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004033a0
and dword [ebp - 4], 0
cmp esi, dword [edi + 0x440]
jle 0x428c01
push str.RunOnce
jmp 0x428c44
mov eax, dword [ebp - 0x50]
cmp eax, dword [edi + 0x444]
jle 0x428c13
push str.RunOnceEx
jmp 0x428c44
mov eax, dword [ebp - 0x48]
cmp eax, dword [edi + 0x448]
jle 0x428c25
push str.PendingFileRenameOperations
jmp 0x428c44
mov eax, dword [ebp - 0x4c]
cmp eax, dword [edi + 0x44c]
jle 0x428c37
push str.FileRenameOperations
jmp 0x428c44
cmp ebx, dword [edi + 0x450]
jle 0x428c55
push str.Wininit.ini_rename
lea eax, [ebp - 0x40]
push str.Reboot_required____s_key_added
push eax
call fcn.00403190
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x428c6e
xor ebx, ebx
push 0
inc ebx
push ebx
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.00424bf7
jmp 0x428c70
xor bl, bl
lea ecx, [ebp - 0x40]
call fcn.00401500
mov al, bl
call fcn.0043f45f
ret

Function at 0x42d7d6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 8], 0
je 0x42d7f4
mov ecx, esi
call fcn.0042d624
pop esi
pop ebp
ret 4
Function at 0x42e12e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x483dc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
lea edi, [eax + 4]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x12], 0
je 0x42e2b7
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x42e2b6
cmp dword [0x485650], esi
je 0x42e2b6
mov eax, dword [0x485658]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x485650], esi
test al, 1
jne 0x42e19c
or eax, 1
mov dword [0x485658], eax
call ebx
mov dword [0x485654], eax
call ebx
mov ecx, eax
sub ecx, dword [0x485654]
cmp byte [0x483553], 0
mov dword [0x485654], eax
jne 0x42e1bd
cmp ecx, 0x64
jb 0x42e2b5
push 0xa
pop eax
push 0x14
pop ecx
cmp esi, 0x100000
cmovg eax, ecx
imul esi, esi, 0xa
movzx eax, ax
mov cl, al
mov dword [ebp - 0xa0], eax
push 0
lea eax, [ebp - 0x95]
sar esi, cl
push eax
lea ecx, [ebp - 0x34]
mov byte [0x483553], 0
mov dword [ebp - 0x34], 0x46be90
mov dword [ebp - 0xc], 0x46c540
call fcn.004033a0
lea eax, [ebp - 0x64]
push 0x758
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040a0a3
lea ebx, [eax + 4]
cmp dword [ebx + 0x14], 8
jb 0x42e224
mov ebx, dword [ebx]
push 0x14
xor eax, eax
pop ecx
cmp word [ebp - 0xa0], cx
mov ecx, edi
setne al
add eax, 0x652
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [edi]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040a0a3
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x42e259
mov ecx, dword [ecx]
push 0xa
mov eax, esi
pop esi
xor edx, edx
div esi
push ebx
push ecx
push edx
push eax
lea eax, [ebp - 0x34]
push str._01d._01d__s_s
push eax
call fcn.0040aaa7
add esp, 0x18
lea ecx, [ebp - 0x94]
call fcn.00401500
lea ecx, [ebp - 0x64]
call fcn.00401500
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x9c]
push 0x134
push dword [eax + 0x26c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [ebp - 0x34]
call fcn.00401500
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0043df43
leave
ret 8

Function at 0x42eb10
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42eb2b
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4307ad
Capabilities:
Write file on windows

Disassembly:
push 0x88
mov eax, 0x465962
call fcn.0043f4b0
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor ebx, ebx
push 0
inc ebx
cmp eax, 0xffffffff
lea ecx, [ebp - 0x94]
push ecx
cmove eax, ebx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x430825
push eax
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004064d5
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.0041264d
push 0x47b328
lea eax, [ebp - 0x90]
push eax
call fcn.0043df52
mov eax, dword [ebp - 0x94]
call fcn.0043f45f
ret 8

Function at 0x430833
Capabilities:
Write file on windows

Disassembly:
push 0x88
mov eax, 0x465962
call fcn.0043f4b0
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 4
pop ecx
cmp eax, 0xffffffff
push 0
cmove eax, ecx
lea ecx, [ebp - 0x94]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4308ac
push eax
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004064d5
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.0041264d
push 0x47b328
lea eax, [ebp - 0x90]
push eax
call fcn.0043df52
mov eax, dword [ebp - 0x94]
call fcn.0043f45f
ret 8

Function at 0x4313e6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x4313f1
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret
Function at 0x4315c5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x148
mov eax, 0x465be3
call fcn.0043f4b0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov dword [ebp - 0x154], ebx
mov byte [ebp - 0x114], bl
call fcn.0043dfb0
add esp, 0xc
mov dword [ebp - 0x14c], ebx
lea eax, [ebp - 0x14c]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4316b4
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
mov ecx, str.ProgramFilesDir
push ebx
mov eax, str.CommonFilesDir
cmp edi, 1
cmovne eax, ecx
push eax
push dword [ebp - 0x14c]
mov dword [ebp - 0x150], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
lea eax, [ebp - 0x145]
push eax
lea eax, [ebp - 0x114]
mov edi, 0x46be90
mov ebx, 0x46c540
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x11c], ebx
call fcn.004308ba
push 0x46a790
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 1
call fcn.00408863
lea ecx, [ebp - 0x144]
call fcn.0043196b
lea eax, [ebp - 0x144]
jmp 0x4316f9
push 0
lea eax, [ebp - 0x145]
push eax
lea eax, [ebp - 0x114]
mov edi, 0x46be90
mov ebx, 0x46c540
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x11c], ebx
call fcn.004308ba
push 0x46a790
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.00408863
push 0
push eax
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 0x28], ebx
call fcn.004064d5
lea ecx, [ebp - 0x144]
call fcn.00401500
lea ecx, [ebp - 0x14c]
call fcn.0042aa7a
mov eax, esi
call fcn.0043f45f
ret
Function at 0x432140
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x465cf4
call fcn.0043f4b0
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x71]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x70], 0x46be90
mov dword [ebp - 0x48], 0x46c540
call fcn.004033a0
mov edi, 0x104
lea eax, [ebp - 0x80]
push edi
lea ecx, [ebp - 0x70]
push eax
mov dword [ebp - 4], ebx
call fcn.0040756b
cmp dword [ebp + 0xc], 1
jne 0x4321f8
mov ecx, dword [eax]
mov byte [ebp - 4], 1
mov byte [eax + 4], 1
call fcn.00407510
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x80]
sbb bl, bl
mov byte [ebp - 4], 0
call fcn.00406b4c
inc bl
je 0x4321d1
lea ecx, [ebp - 0x2c]
call fcn.00408746
push 0x478bb4
lea eax, [ebp - 0x2c]
push eax
call fcn.0043df52
push 0
lea eax, [ebp - 0x71]
push eax
push str.sysnative
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004065c0
mov byte [ebp - 4], 2
jmp 0x432251
cmp dword [ebp + 0xc], 2
jne 0x43226b
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.00407510
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x80]
sbb bl, bl
mov byte [ebp - 4], 0
call fcn.00406b4c
inc bl
jne 0x4321bb
push 0
lea eax, [ebp - 0x71]
push eax
push str.syswow64
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004065c0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.004324b1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00401500
jmp 0x43229d
mov ecx, dword [eax]
mov byte [ebp - 4], 5
mov byte [eax + 4], 1
call fcn.00407510
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x80]
sbb bl, bl
mov byte [ebp - 4], 0
call fcn.00406b4c
inc bl
jne 0x4321bb
push 0x46a790
lea ecx, [ebp - 0x70]
call fcn.0042492f
push 0
push eax
mov ecx, esi
mov dword [esi], 0x46be90
mov dword [esi + 0x28], 0x46c540
call fcn.004064d5
lea ecx, [ebp - 0x70]
call fcn.00401500
mov eax, esi
call fcn.0043f45f
ret
Function at 0x43251a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x43259f
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x432598
mov ecx, dword [edi]
test ecx, ecx
je 0x432593
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x432589
cmp edx, 2
jbe 0x43257b
cmp edx, 7
jne 0x432589
test cl, 1
jne 0x432589
shr ecx, 1
cmp ecx, 1
jb 0x432589
cmp word [esi + ecx*2 - 2], bx
jne 0x432589
cmp ecx, 1
jbe 0x432598
cmp word [esi + ecx*2 - 4], bx
jmp 0x432587
test cl, 1
jne 0x432589
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x432598
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x432598
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push 0x80004005
call fcn.004064bd
int3
Function at 0x432e24
Capabilities:
Check if file exists

Disassembly:
push 0xc8
mov eax, 0x465e35
call fcn.0043f4b0
xor ebx, ebx
test byte [ebp + 0x38], 0x10
mov dword [ebp - 4], ebx
je 0x432e82
lea ecx, [ebp + 8]
call fcn.0041f2aa
test al, al
je 0x432e82
push dword [ebp + 0x38]
lea eax, [ebp + 8]
sub esp, 0x30
mov ecx, esp
push ebx
push eax
mov dword [ecx], 0x46be90
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
call fcn.00433007
add esp, 0x34
mov bl, al
lea ecx, [ebp + 8]
call fcn.00401500
mov al, bl
jmp 0x433001
sub esp, 0x30
mov ecx, esp
push ebx
lea eax, [ebp + 8]
push eax
mov dword [ecx], 0x46be90
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
call fcn.00433968
add esp, 0x30
cmp eax, 0xffffffff
je 0x432ec3
test byte [ebp + 0x38], 4
je 0x432eb5
test al, 0x10
je 0x432ebf
test byte [ebp + 0x38], 8
je 0x432e73
test al, 0x10
je 0x432e73
mov bl, 1
jmp 0x432e73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x432ff7
cmp esi, 3
je 0x432ff7
cmp esi, 5
jne 0x432fab
lea ecx, [ebp - 0xcc]
call fcn.00432383
or dword [ebp - 0xd0], 0xffffffff
lea eax, [ebp - 0xcc]
push eax
sub esp, 0x30
mov ecx, esp
push ebx
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
mov dword [ecx], 0x46be90
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
call fcn.004338b4
mov esi, eax
add esp, 0x34
cmp esi, 0xffffffff
je 0x432f82
lea ecx, [ebp - 0xd0]
call fcn.0041e391
test byte [ebp + 0x38], 4
mov dword [ebp - 0xd0], esi
je 0x432f4e
test byte [ebp - 0xcc], 0x10
je 0x432f5d
test byte [ebp + 0x38], 8
je 0x432f5f
test byte [ebp - 0xcc], 0x10
je 0x432f5f
mov bl, 1
lea ecx, [ebp - 0xd0]
call fcn.0041e391
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0xa0]
call fcn.00401500
jmp 0x432e73
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xd0]
mov esi, eax
call fcn.0041e391
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00401500
lea ecx, [ebp - 0xa0]
call fcn.00401500
test byte [ebp + 0x38], 0x20
je 0x432e73
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004064d5
push 1
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.004126b1
push 0x47b328
lea eax, [ebp - 0x90]
push eax
call fcn.0043df52
lea ecx, [ebp + 8]
call fcn.00401500
xor al, al
call fcn.0043f45f
ret
Function at 0x433fb8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x483dc8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x46e490
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x433fee
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433fee
call eax
jmp 0x4340a3
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x14]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str..DefaultControl_PaneldesktopResourceLocale
push SysFreeString
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 0xa
call esi
test eax, eax
jne 0x434038
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x476040
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x434084
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push ebx
push str..DEFAULTControl_PanelInternational
push SysFreeString
mov dword [ebp - 0x18], ebx
call esi
mov esi, eax
test esi, esi
jne 0x434071
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push str.Locale
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.0042aa7a
test esi, esi
je 0x434084
mov esi, 0x409
jmp 0x434096
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0044182c
add esp, 0xc
movzx esi, ax
lea ecx, [ebp - 0x14]
call fcn.0042aa7a
mov ax, si
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043df43
leave
ret
Function at 0x43449f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x483dc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ecx, ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [eax], ecx
lea eax, [ebp - 0x118]
push eax
mov dword [esi], ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x108], ebx
jne 0x43452e
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x434521
cmp eax, 0xa
je 0x434500
cmp eax, 0x5a
je 0x4344f8
xor ebx, ebx
mov dword [esi], 0x80
jmp 0x434527
call fcn.00434a5e
test al, al
mov al, bl
je 0x434516
mov dword [esi], 0x80
jmp 0x4345b4
mov dword [esi], 0x40
jmp 0x4345b4
mov dword [esi], 0x10
mov al, bl
jmp 0x4345b4
cmp dword [ebp - 0x108], 2
jne 0x4345b2
mov ecx, dword [ebp - 0x114]
sub ecx, 4
je 0x4345a7
mov eax, dword [ebp - 0x110]
dec ecx
je 0x43455a
dec ecx
jne 0x43459d
test eax, eax
jne 0x43457f
mov dword [esi], 0x1000000
jmp 0x434527
test eax, eax
jne 0x434566
mov dword [esi], 0x100000
jmp 0x434527
cmp eax, ebx
jne 0x434572
mov dword [esi], 0x400000
jmp 0x434527
cmp eax, 2
jne 0x43454e
mov dword [esi], 0x800000
jmp 0x434527
cmp eax, ebx
jne 0x43458b
mov dword [esi], 0x2000000
jmp 0x434527
cmp eax, 2
jne 0x434598
mov dword [esi], 0x4000000
jmp 0x434527
cmp eax, 3
je 0x43459f
xor ebx, ebx
mov dword [esi], 0x8000000
jmp 0x434527
mov dword [esi], 0x10000
jmp 0x434527
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043df43
leave
ret
Function at 0x434f38
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x38
mov eax, 0x4645ca
call fcn.0043f4b0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push dword [eax]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push ecx
and esi, 0xf
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x434f64
mov al, 1
jmp 0x434f80
xor ecx, ecx
movzx edx, word [eax]
add eax, 2
test dx, dx
je 0x434f78
cmp ecx, esi
je 0x434f86
lea eax, [eax + edx*2]
inc ecx
cmp ecx, 0x10
jl 0x434f66
xor al, al
call fcn.0043f45f
ret
push 1
lea ecx, [ebp - 0x41]
push ecx
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.004067e6
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00406bba
lea ecx, [ebp - 0x40]
call fcn.00401500
jmp 0x434f60

Function at 0x43554c
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x483dc8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00434a50
test al, al
je 0x4355bb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x18]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4355bb
push esi
lea eax, [ebp - 0x20]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x20]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push esi
push esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0043df43
leave
ret

Function at 0x43562a
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x54
mov eax, 0x4663e5
call fcn.0043f4b0
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x3c]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0x20019
push eax
push ecx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004013d0
mov esi, eax
test esi, esi
jne 0x4356fa
push 0
lea eax, [ebp - 0x41]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004033a0
push 0x105
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040756b
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.00407510
push 0x105
push dword [eax]
push edi
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
call fcn.00406b4c
cmp dword [ebp - 0x48], 0
jne 0x4356e3
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0041f515
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
inc edi
cmp dword [ebp - 0x48], 0
je 0x435672
lea ecx, [ebp - 0x54]
mov dword [0x485714], esi
call fcn.004013a0
lea ecx, [ebp + 0xc]
call fcn.00401500
xor eax, eax
test esi, esi
sete al
call fcn.0043f45f
ret
Function at 0x438f97
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x43a4e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x483dc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x840], eax
call fcn.0041eb00
cmp eax, 1
jne 0x43a5d8
and dword [ebp - 0x82c], 0
lea eax, [ebp - 0x82c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43a5cd
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x834]
push eax
push 0
push 0
push str.ProxyEnable
push dword [ebp - 0x82c]
mov dword [ebp - 0x830], 4
call esi
mov ecx, dword [ebp - 0x834]
xor edx, edx
test eax, eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x828]
push eax
push edx
push edx
push str.AutoConfigURL
push dword [ebp - 0x82c]
cmovne ecx, edx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], 0x824
call esi
movzx ecx, byte [ebp - 0x828]
mov esi, dword [ebp - 0x838]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [ebp - 0x828], cl
lea ecx, [ebp - 0x82c]
call fcn.0042aa7a
push dword [ebp - 0x840]
push dword [ebp - 0x83c]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00439c72
add esp, 0x14
xor ecx, ecx
test eax, eax
mov dword [edi + 4], eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043df43
leave
ret 0x14