joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42059b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
push eax
mov dword [esp + 0x230], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push str.SoundMAX
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xc]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x11c]
push edx
push 0x101
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0x24]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41ca59
lea ecx, [esp + 0x10]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Path
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x11c]
lea ecx, [esp + 8]
push eax
call fcn.0041d8a2
push str._res.skn
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
mov ecx, esi
call fcn.0041c5d0
mov eax, dword [esp + 8]
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0xc]
push 0
push eax
call dword [edx + 0x48]
push 0x42bd90
mov ecx, esi
mov dword [esi + 4], eax
call fcn.0041c620
mov edi, eax
test edi, edi
jne 0x41caad
mov ecx, esi
call fcn.0041cae0
mov edi, eax
lea ecx, [esp + 8]
mov dword [esp + 0x228], 0xffffffff
call fcn.0041d8b4
mov ecx, dword [esp + 0x220]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x224
ret

Function at 0x41cc20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
push esi
mov esi, ecx
push edi
push 0
lea edi, [esi + 8]
mov dword [esi], 0x423544
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x41cc89
push str.DSound.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xc], eax
je 0x41cc89
push str.DirectSoundCreate
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x10], eax
je 0x41cc89
push 0
push edi
push 0
call eax
test eax, eax
jge 0x41cc89
mov dword [edi], 0
lea eax, [esp + 8]
mov dword [esi + 4], 0
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41ccf7
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push 0
mov edi, 0xfc
push str.SysCaps
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41ccec
cmp dword [esp + 0xc], edi
jne 0x41ccec
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41ccec
mov dword [esi + 4], 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x108
ret
Function at 0x41cd60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
mov esi, ecx
push 0x80000002
mov dword [esp + 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41cdbb
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push str.Speaker_Configuration
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
mov ecx, esi
push eax
call fcn.0041cdd0
pop esi
add esp, 0x10
ret

Function at 0x41cf80
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push edi
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
mov esi, ecx
push 0x80000002
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x41cfce
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push str.Speaker_Configuration
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x41cfc3
mov edi, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 8]
test eax, eax
je 0x41cfe9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41cfe9
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0041d010
test edi, edi
pop edi
pop esi
je 0x41d005
mov edx, dword [0x42c1e8]
push 0
push 0
push edx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
pop ecx
ret 8
Function at 0x43fa03
Capabilities:
Hash data with crc32

Disassembly:
je 0x43fbf7
jne 0x43fbf7
cmp dword [0x69a7642c], esi
lea edi, [eax + 0xcd0ea8]
cmp dword [0xd0c3a8], ecx
or dword [eax + 0x20], 0x80
mov byte [eax + esi - 1], 0
cmp dword [0xdeb3d8], edi
mov dword [0x112765ac], eax
mov dword [esi], 0xace0bc
movsx eax, word [ebp - reloc.shlwapi.dll_PathAppendW]
push 0xaab9a8
int1
rcr byte [esi], 1
loop 0x43f2e7
sub eax, 0x22a93090
aaa
out 0x83, al
leave
jmp [eax + reloc.imm32.dll_ImmGetCompositionStringW]
movsd dword es:[edi], dword [esi]
add byte [eax + 0x4561b4], bh
mov eax, 0x10d7a2b8
mov edx, 0xb1ced4
push 0xa76714
mov dword [esi], 0x9fb764
push 0x4f0dcc
mov dword [edx + esi + 0x13c], 0x10261f8c
push 0x697a2e6c
mov byte [ebp - 0x132], 0
mov ecx, 0x15
sti
and bh, byte [edi + 0x4232049f]
cmp byte [eax], bl
mov al, byte [0x6b249244]
dec edi
arpl word [eax], bx
cwde
jmp 0x43fa03
not ecx
xor ebx, ebx
je 0x43fafa
jne 0x43fafa
cmp dword [ebp + 0xc], eax
jmp dword [ecx*4 + 0x86d66c]
shr ecx, 8
je 0x43f8c9
jne 0x43f8c9
mov dword [0x112b2da8], eax
neg dword [ebp + 0x12]
push 0xa233fc
push 0x1016adc0
mov dword [0x1124da0c], eax
mov dword [0x111d2de4], eax
cmp dword [ebp + 0x1c], 0x80000000
mov dword [esi], 0xa0e618
pmaddwd xmm6, xmmword [0x69809430]
mov eax, 0x10dab0f8
push 0x100d8c6c
mov ecx, dword [0x42be3c]
movzx eax, word [reloc.shlwapi.dll_PathAppendW]
add ebp, 0x518
mov dword [esi + 0x5c], 0x42edc0
push 0xaf4520
cmp byte [0xdef019], 0
mov dword [esp + 0xec], 0x1028d9a4
hlt
mov dword [ebp - 0x128], ebx
mov dword [ebp - 4], 0xfffffffe
push 0x43fb85
ret
push eax
push 0x43fe3a
ret
je 0x43f33b
movzx eax, byte [esi]
xor eax, ecx
je 0x43fd59
jne 0x43fd59
mov ecx, dword [0x1152b260]
lock cmpxchg dword [ebx], edx
mov dword [esi + 0x694], 1
mov dword [esi + 4], 0x63eba0
jmp dword [0x49140c]
xor ecx, dword [eax*4 + 0x401240]
push 0x43f5f1
ret
mov eax, edx
dec edx
mov dword [ebp - 0x130], edx
test eax, eax
jmp 0x43f814
mov dword [ebp - 0x124], esi
jmp 0x43f925
cmp ecx, 0x39b5d60d
sete bl
jmp 0x43f464
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b19b0
push 0x4a41c0
mov eax, dword fs:[0]
jmp 0x43f67a
and eax, 0xff
jmp 0x43f37a
Function at 0x4011b3
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
lea eax, [ebp - 0x68]
push 0x64
push eax
mov edi, 0x404164
push 0x406114
push edi
call fcn.0040338c
add esp, 0x10
test eax, eax
je 0x4012bf
xor ebx, ebx
cmp byte [ebp - 0x68], bl
je 0x401206
lea eax, [ebp - 0x25c]
push 0x63
push eax
lea eax, [ebp - 0x68]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x4012bf
mov esi, 0x12c
push ebx
lea eax, [ebp - 0x194]
push esi
push eax
push ebx
push 0x406108
push 0x4043cc
push edi
call fcn.00403719
add esp, 0x1c
test eax, eax
je 0x4012bf
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0xa
cmp eax, esi
jae 0x4012bf
lea eax, [ebp - 0x194]
push str.s_pid.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push 0x80
push 2
push ebx
push ebx
lea eax, [ebp - 0x194]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4012bf
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [ebp - 4]
push ebx
push eax
shl esi, 1
lea eax, [ebp - 0x25c]
push esi
push eax
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], esi
jne 0x4012b2
push 1
pop eax
jmp 0x4012c1
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4012c6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
push edi
push str.Rstrtmgr.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
mov dword [ebp - 8], eax
cmp eax, edi
je 0x401479
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RmStartSession
push eax
call esi
push str.RmRegisterResources
mov ebx, eax
push dword [ebp - 8]
call esi
push str.RmRestart
mov dword [ebp - 0x18], eax
push dword [ebp - 8]
call esi
push str.RmShutdown
mov dword [ebp - 0x1c], eax
push dword [ebp - 8]
call esi
push str.RmEndSession
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call esi
cmp ebx, edi
mov dword [ebp - 0x20], eax
je 0x40146e
cmp dword [ebp - 0x18], edi
je 0x40146e
cmp dword [ebp - 0x1c], edi
je 0x40146e
cmp dword [ebp - 0xc], edi
je 0x40146e
cmp eax, edi
je 0x40146e
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 4]
push edi
push eax
call ebx
test eax, eax
jne 0x40146e
lea eax, [ebp - 0x124]
push 0x104
push eax
push 0x4068e4
push 0x406124
push SysReAllocStringLen
call fcn.004034f9
add esp, 0x14
test eax, eax
je 0x401468
lea eax, [ebp - 0x124]
push 0x5c
push eax
call fcn.00402fcc
pop ecx
cmp eax, edi
pop ecx
mov dword [ebp - 0x10], eax
jne 0x4013d0
lea eax, [ebp - 0x124]
push 0x2f
push eax
call fcn.00402fcc
pop ecx
cmp eax, edi
pop ecx
mov dword [ebp - 0x10], eax
je 0x401468
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
push 0xc
pop ebx
sub ebx, eax
lea eax, [ebp - 0x124]
push eax
call esi
add ebx, eax
cmp ebx, 0x104
jae 0x401468
mov eax, dword [ebp - 0x10]
push 0x406118
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x124]
push eax
call esi
mov esi, eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x370]
push eax
lea eax, [ebp - 0x124]
push esi
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp esi, eax
jne 0x401468
lea eax, [ebp - 0x370]
push edi
mov dword [ebp - 0x14], eax
push edi
push edi
lea eax, [ebp - 0x14]
push edi
push eax
push 1
mov word [ebp + esi*2 - 0x370], di
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
call dword [ebp - 0x18]
test eax, eax
jne 0x401468
push edi
push 0x10
push dword [ebp - 4]
call dword [ebp - 0xc]
test eax, eax
jne 0x401468
push edi
push edi
push dword [ebp - 4]
call dword [ebp - 0x1c]
push dword [ebp - 4]
call dword [ebp - 0x20]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x40328f
Capabilities:
Create directory

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4032b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4032b7
xor eax, eax
ret
push 1
pop eax
ret

Function at 0x4034f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push ebx
push eax
xor ebx, ebx
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40351e
xor eax, eax
jmp 0x40357b
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 4]
push ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
or edi, 0xffffffff
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x403569
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x18]
jge 0x403569
lea eax, [ebp + 0xc]
inc dword [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push dword [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, ebx
je 0x403569
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, ebx
pop edi
pop esi
sete al
pop ebx
leave
ret

Function at 0x403660
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
jne 0x4036b3
lea eax, [ebp + 0xc]
push eax
push 0x2001f
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
je 0x403695
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
jmp 0x403715
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, edi
je 0x4036ae
cmp eax, 2
je 0x4036ae
xor esi, esi
jmp 0x4036fc
push 1
pop esi
jmp 0x4036fc
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
push 0x2001f
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4036d8
xor eax, eax
jmp 0x403715
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [ebp + 0x18], edi
je 0x40370a
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
ret
Function at 0x403948
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
movsx eax, byte [esi]
push eax
call fcn.00402eab
test eax, eax
pop ecx
je 0x4039a4
cmp byte [esi + 1], 0x3a
jne 0x4039a4
cmp byte [esi + 2], 0x5c
jne 0x4039a4
push 4
lea eax, [ebp - 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x40398c
cmp eax, 4
jne 0x4039a4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4039a4
and eax, 0x10
cmp al, 0x10
je 0x4039a4
push 1
pop eax
jmp 0x4039a6
xor eax, eax
pop esi
leave
ret

Function at 0x4111d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
or ebp, 0xffffffff
jmp 0x4111f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4111f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4111e8
mov eax, 1
add ebx, ebx
jne 0x41120b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411200
jne 0x41121c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411200
xor ecx, ecx
sub eax, 3
jb 0x411230
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4112a2
mov ebp, eax
add ebx, ebx
jne 0x41123b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411248
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41126c
inc ecx
add ebx, ebx
jne 0x411258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41124d
jne 0x411269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41124d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41128c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41127d
jmp 0x4111ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41128c
add edi, ecx
jmp 0x4111ee
pop esi
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x4112f4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4112a9
mov ecx, edi
jns 0x4112d8
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11068]
or eax, eax
je 0x4112ee
mov dword [ebx], eax
add ebx, 4
jmp 0x4112c6
call dword [esi + 0x11078]
mov ebp, dword [esi + 0x1106c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x411328
sub esp, 0xffffff80
jmp 0x40edac
Function at 0x40b458
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43c770
call fcn.0041aa98
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], ecx
je 0x40b493
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x40b483
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.0040a07e
mov eax, dword [esi + 0x28]
cmp dword [ebp - 0x10], eax
jne 0x40b472
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.0040a34e
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
jmp 0x40b4c2
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x40b4b4
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00409742
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
jne 0x40b4a7
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.0040a328
and dword [0x45319c], 0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0040b329
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0040b2fe
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040b1f8
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0
call fcn.0040b0f2
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040afe0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40ba79
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43c7c2
call fcn.0041aa98
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0040a40d
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.0040a40d
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040a40d
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.0040a3e8
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0040a40d
fldz
fstp dword [esi + 0x40]
mov ecx, esi
fldz
mov byte [ebp - 4], 4
fstp dword [esi + 0x44]
fld1
fstp dword [esi + 0x48]
call fcn.0040b826
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40c4c4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [0x43e004]
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x40c508
mov eax, dword [esi - 0xc]
shl eax, 1
push eax
push esi
push 1
push 0
push 0x440a94
push dword [ebp - 4]
call dword [section..rdata]
jmp 0x40c516
push 0x440a94
push dword [ebp - 4]
call dword [0x43e008]
push dword [ebp - 4]
call dword [0x43e028]
lea ecx, [esi - 0x10]
call fcn.004010aa
pop esi
leave
ret
Function at 0x419d6f
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x445d58
call fcn.0041bd08
mov edi, 0x94
mov eax, edi
call fcn.0041b590
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x43e28c]
mov ecx, dword [esi + 0x10]
mov dword [0x455568], ecx
mov eax, dword [esi + 4]
mov dword [0x455574], eax
mov edx, dword [esi + 8]
mov dword [0x455578], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x45556c], esi
cmp ecx, 2
je 0x419dcf
or esi, 0x8000
mov dword [0x45556c], esi
shl eax, 8
add eax, edx
mov dword [0x455570], eax
xor esi, esi
push esi
mov edi, dword [0x43e2b8]
call edi
cmp word [eax], 0x5a4d
jne 0x419e0a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x419e0a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x419e22
cmp eax, 0x20b
je 0x419e0f
mov dword [ebp - 0x1c], esi
jmp 0x419e36
cmp dword [ecx + 0x84], 0xe
jbe 0x419e0a
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x419e30
cmp dword [ecx + 0x74], 0xe
jbe 0x419e0a
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0041e0b9
pop ecx
test eax, eax
jne 0x419e4a
push 0x1c
call fcn.00419d4b
pop ecx
call fcn.0041dfb0
test eax, eax
jne 0x419e5b
push 0x10
call fcn.00419d4b
pop ecx
call fcn.0041dd4a
mov dword [ebp - 4], esi
call fcn.0041db4c
test eax, eax
jge 0x419e74
push 0x1b
call fcn.00419d26
pop ecx
call fcn.0041daad
mov dword [0x456fb0], eax
call fcn.0041d943
mov dword [0x455550], eax
call fcn.0041d8ad
test eax, eax
jge 0x419e99
push 8
call fcn.00419d26
pop ecx
call fcn.0041d67a
test eax, eax
jge 0x419eaa
push 9
call fcn.00419d26
pop ecx
push 1
call fcn.0041bf01
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x419ec0
push eax
call fcn.00419d26
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x43e13c]
call fcn.0041d634
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x419ee1
movzx eax, word [ebp - 0x40]
jmp 0x419ee4
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0042f456
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x419f02
push edi
call fcn.0041c02e
call fcn.0041c050
jmp 0x419f34
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0041bd43
ret