joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41035f
Capabilities:
Get common file path

Disassembly:
push ebx
push dword [esp - 0x73]
push dword [esp - 0x9c]
push dword [esp + 0x45]
push 0x404bb0
call 0x410390
mov eax, dword [esp + 8]
cmp eax, ebx
mov byte [esp + 0x1c], 1
je 0x410325
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
lea esp, [esp + 0x14]
mov ebx, dword [esp + 8]
push dword [esp - 0x33]
push 0x405720
push dword [esp - 0x31]
call 0x4103c0
je 0x414280
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push 1
lea esp, [esp + 0x10]
add dword [esp + 4], ebx
push dword [esp + 0x16]
call 0x4103e7
mov eax, dword [ecx + 0x14]
sub esp, 8
test eax, eax
jne 0x410389
mov edx, dword [eax]
push esi
push edi
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
lea esp, [esp + 8]
pop ebx
ret 0xc
add esp, 8
push 0xd
push esp
push 0xffffffffffffffc2
push esp
push sym.imp.KERNEL32.dll_GetTempFileNameW
call fcn.004052d4
push 0x305
push 3
call fcn.00404bcb
int3

Function at 0x410ace
Capabilities:
Terminate process

Disassembly:
mov eax, 0x451dda
lea ecx, [ebp - 0x14]
ret
and dword [eax], 0
mov eax, dword [0x451015]
push esi
push dword [esp - 0x17]
push dword [esp + 0x3e]
push dword [esp + 0xe]
call 0x410aeb
je 0x410a91
push esi
lea esp, [esp + 0x10]
mov esi, dword [esp + 8]
push 0x4058e8
push ebp
call 0x410b08
cmp eax, 4
ja 0x410b03
push 0x45173d
lea esp, [esp + 0xc]
add dword [esp + 4], esi
push 0x405b80
call 0x410b31
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test eax, eax
je 0x410b59
mov eax, dword [0x451983]
lea esp, [esp + 8]
pop esi
ret 8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x410aeb
Capabilities:
Terminate process

Disassembly:
mov eax, 0x451dda
lea ecx, [ebp - 0x14]
ret
and dword [eax], 0
mov eax, dword [0x451015]
push esi
push dword [esp - 0x17]
push dword [esp + 0x3e]
push dword [esp + 0xe]
call 0x410aeb
je 0x410a91
push esi
lea esp, [esp + 0x10]
mov esi, dword [esp + 8]
push 0x4058e8
push ebp
call 0x410b08
cmp eax, 4
ja 0x410b03
push 0x45173d
lea esp, [esp + 0xc]
add dword [esp + 4], esi
push 0x405b80
call 0x410b31
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test eax, eax
je 0x410b59
mov eax, dword [0x451983]
lea esp, [esp + 8]
pop esi
ret 8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x410b08
Capabilities:
Terminate process

Disassembly:
mov eax, 0x451dda
lea ecx, [ebp - 0x14]
ret
and dword [eax], 0
mov eax, dword [0x451015]
push esi
push dword [esp - 0x17]
push dword [esp + 0x3e]
push dword [esp + 0xe]
call 0x410aeb
je 0x410a91
push esi
lea esp, [esp + 0x10]
mov esi, dword [esp + 8]
push 0x4058e8
push ebp
call 0x410b08
cmp eax, 4
ja 0x410b03
push 0x45173d
lea esp, [esp + 0xc]
add dword [esp + 4], esi
push 0x405b80
call 0x410b31
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test eax, eax
je 0x410b59
mov eax, dword [0x451983]
lea esp, [esp + 8]
pop esi
ret 8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x410e80
Capabilities:
Packed with generic packer

Disassembly:
pop esi
sub esp, 0x10
push ebx
push 0x400522
push dword [esp + 0xc]
push dword [esp + 8]
push 0x402e42
call fcn.00403147
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [0x45211f]
mov dword [str.PS_CLH_MOD], ecx
mov dword [eax + 4], 0x10006030
add byte [eax], dl
invalid

Function at 0x410ed0
Capabilities:
Packed with generic packer

Disassembly:
push ecx
push dword [esp + 0xe]
push esp
push 0xffffffffffffffe9
call fcn.00410ee4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]

Function at 0x410ee4
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x10]
mov ecx, dword [esp + 8]
jmp loc.00484804

Function at 0x411cb3
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
je 0x411c84
mov ecx, dword [esp]
lea eax, [esp + 4]
push esi
push edx
push 0x405820
push 0x4044f0
push 0x405138
push dword [esp + 0xf]
call 0x411cb3
mov bl, al
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x411c87
xor eax, eax
lea esp, [esp + 0x18]
mov esi, dword [esp + 8]
push 0x404608
push 0x4014a0
call 0x411ced
cmp eax, edi
je 0x404ff7
mov dword [esp + 0x10], edi
lea edx, [esp + 0x10]
push edx
push 0x451136
push 0x452046
mov byte [esp + 0x240], 1
lea esp, [esp + 0xc]
add dword [esp + 4], esi
push dword [esp - 0xfc]
push 0x6d
jmp 0x484151

Function at 0x411ced
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
je 0x411c84
mov ecx, dword [esp]
lea eax, [esp + 4]
push esi
push edx
push 0x405820
push 0x4044f0
push 0x405138
push dword [esp + 0xf]
call 0x411cb3
mov bl, al
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x411c87
xor eax, eax
lea esp, [esp + 0x18]
mov esi, dword [esp + 8]
push 0x404608
push 0x4014a0
call 0x411ced
cmp eax, edi
je 0x404ff7
mov dword [esp + 0x10], edi
lea edx, [esp + 0x10]
push edx
push 0x451136
push 0x452046
mov byte [esp + 0x240], 1
lea esp, [esp + 0xc]
add dword [esp + 4], esi
push dword [esp - 0xfc]
push 0x6d
jmp 0x484151

Function at 0x412fae
Capabilities:
Log keystrokes via polling

Disassembly:
push sym.imp.KERNEL32.dll_SetFilePointerEx
push 0x49
push 0x4e
push sym.imp.USER32.dll_InvalidateRect
push 0x1eab
push 0x6f
push 0x7c
call fcn.00406e27
push dword [esp + 0xc]
push 0x400c8b
push dword [esp + 4]
push 0x3fbceb
call fcn.00402dfa
cmpsd dword [esi], dword es:[edi]
mov word [eax], es
adc byte [ecx - 0x74], dh
add byte [eax], dl
xchg ebp, eax
mov word [eax], es
adc byte [ebx + 0x418b08ec], al
xor byte [ebp + 0x2404c7c0], al
call fcn.0040c0df
push ebx
push 0x68
jmp loc.00484637
Function at 0x409681
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a344]
jne 0x40968b
repz ret
jmp fcn.0040e06c

Function at 0x41229c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b70f
and dword [ebp - 0x14], 0
cmp dword [0x46b52c], 0
mov dword [ebp - 0x18], eax
jne 0x41234f
push 0x403764
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4123f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403758
push ebx
call edi
test eax, eax
je 0x4123f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403748
push ebx
mov dword [0x46b52c], eax
call edi
push eax
call esi
push 0x403734
push ebx
mov dword [0x46b530], eax
call edi
push eax
call esi
push 0x403718
push ebx
mov dword [0x46b534], eax
call edi
push eax
call esi
mov dword [0x46b53c], eax
test eax, eax
je 0x41234f
push 0x403700
push ebx
call edi
push eax
call esi
mov dword [0x46b538], eax
mov eax, dword [0x46b538]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4123a8
cmp dword [0x46b53c], ecx
je 0x4123a8
push eax
call esi
push dword [0x46b53c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4123a8
test ebx, ebx
je 0x4123a8
call edi
test eax, eax
je 0x41239f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41239f
test byte [ebp - 8], 1
jne 0x4123a8
or dword [ebp + 0x10], 0x200000
jmp 0x4123db
mov eax, dword [0x46b530]
cmp eax, dword [ebp - 0x18]
je 0x4123db
push eax
call esi
test eax, eax
je 0x4123db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4123db
mov eax, dword [0x46b534]
cmp eax, dword [ebp - 0x18]
je 0x4123db
push eax
call esi
test eax, eax
je 0x4123db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46b52c]
call esi
test eax, eax
je 0x4123f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4123f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409681
leave
ret
Function at 0x414210
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413870
cmp dword [0x80b684], 0x37
jne 0x4142a1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x403f58
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403fb4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x80c268]
mov edx, dword [0x8086e4]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x4027f8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004038b0
test esi, esi
jne 0x40282e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004039a0
jmp 0x40284c
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040269c
mov edi, eax
test esi, esi
je 0x40284c
cmp dword [ebx], 0
je 0x40284c
dec esi
jmp 0x402835
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403730
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403791
cmp word [0x40a218], 0xd7b2
jne 0x403759
cmp dword [0x40a220], 0
jbe 0x403759
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40905c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4037b8
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x409020], 0
jne 0x4037ad
push 0
push 0x409054
push 0x40905c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x404688
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004042de
push eax
push esi
push dword [ebp + 8]
call fcn.00404293
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
Function at 0x4046f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x404769
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004042de
push eax
push esi
push dword [ebp + 8]
call fcn.00404293
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004042ce
mov bl, 0x1f
sub al, 0x68
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004042ce
push ecx
cmpsd dword [esi], dword es:[edi]
sti
and eax, 0xff7c858d
invalid

Function at 0x404710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x404769
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004042de
push eax
push esi
push dword [ebp + 8]
call fcn.00404293
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004042ce
mov bl, 0x1f
sub al, 0x68
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004042ce
push ecx
cmpsd dword [esi], dword es:[edi]
sti
and eax, 0xff7c858d
invalid
Function at 0x404978
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x404982
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40497d
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x404967
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40496f
cmp edx, ebx
jne 0x404abd
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40493e
add eax, dword [eax + 4]
jmp 0x40492b
mov dword [ebp + 0xc], ebx
jmp 0x40498d
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4049a5
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4049c3
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x404a21
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x404a08
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x404a11
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x404a1b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4049fd
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
push es
jbe 0x404987
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x404a6e
dec eax
je 0x404a65
sub eax, 3
je 0x404a5c
mov dword [ebp - 4], 0x40
jmp 0x404a8b
mov dword [ebp - 4], 4
jmp 0x404a71
mov dword [ebp - 4], 0x20
jmp 0x404a71
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]

Function at 0x404b10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x3a]
test dword [edx + 0x51fffffc], esi
invalid
push ecx
Function at 0x401000
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 1
jne 0x401014
mov eax, dword [0x4360cc]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
jmp 0x401026
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [0x4360d0]
shr edx, 1
cmp dword [ebp - 4], edx
jae 0x4010ab
mov eax, dword [ebp - 4]
mov ecx, dword [0x4360b4]
movzx edx, word [ecx + eax*2]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 0xc
cmp eax, 3
jne 0x4010a6
mov ecx, dword [ebp - 0xc]
and ecx, 0xfff
add ecx, 0x1474
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
sub edx, 0x1474
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0
jne 0x401087
push 0x20e
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401087
xor eax, eax
jmp 0x4010ab
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx], eax
jmp 0x40101d
mov esp, ebp
pop ebp
ret
Function at 0x401710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str.55222
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x40178a
cmp dword [ebp - 0x118], 0
je 0x40178a
jmp 0x4017ec
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x4017ec
mov dword [ebp - 0x120], 0x3c41
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4360b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4360d0], edx
mov dword [ebp - 0x120], 0x3c41
mov dword [ebp - 0x120], 0x3c41
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [0x4360cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401a60
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x40178a
mov esp, ebp
pop ebp
ret

Function at 0x401aa0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4360c0], 0x24e1
mov eax, dword [0x4360c0]
sub eax, 0x24e1
mov dword [0x4360c0], eax
mov ecx, 1
test ecx, ecx
je 0x401b4b
mov edx, dword [0x4360c0]
cmp edx, dword [ebp + 0xc]
jb 0x401ad7
jmp 0x401b4b
cmp dword [0x4360c0], 0
jne 0x401af5
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401af5
xor eax, eax
jmp 0x401b4b
mov eax, dword [ebp + 8]
add eax, dword [0x4360c0]
mov ecx, dword [eax]
add ecx, dword [0x4360c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4360c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x1a79
mov eax, dword [0x4360c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4360c0]
push eax
call fcn.004011d0
add esp, 8
mov ecx, dword [0x4360c0]
add ecx, 4
mov dword [0x4360c0], ecx
jmp 0x401abd
mov esp, ebp
pop ebp
ret
Function at 0xf007080
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
sub esp, 0x218
mov ecx, dword [esp + 0x220]
push ebx
push ebp
mov ebx, 0xf0071e0
push esi
mov esi, dword [esp + 0x230]
xor eax, eax
sub ebx, 0xf0071c0
cmp esi, eax
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ebp, [ebx + 0x20f]
je 0xf0070d4
mov ecx, dword [esp + 0x238]
lea edi, [esp + 0x20]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x22c]
push 0x40
push 0x101000
push ebp
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0xf0071a8
mov eax, dword [esp + 0x234]
test eax, eax
jne 0xf00710d
mov eax, 0xf0071d0
sub eax, 0xf0071c0
lea esi, [esi + eax*4]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
test eax, eax
je 0xf0071a8
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
lea edx, [esp + 0x10]
push edx
push ebx
push 0xf0071c0
push esi
push edi
call ebp
test eax, eax
je 0xf0071a8
add ebx, 4
lea eax, [esp + 0x10]
and ebx, 0xfffffffc
push eax
lea ecx, [esp + 0x20]
push 0x20c
lea ebx, [esi + ebx*4]
push ecx
push ebx
push edi
call ebp
test eax, eax
je 0xf0071a8
lea edx, [esp + 0x14]
push edx
push 0
push ebx
push esi
push 0x10000
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0xf0071a8
mov eax, dword [esp + 0x234]
test eax, eax
je 0xf00718f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x218
ret

Function at 0xf007330
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0xf007250
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
ret
Function at 0xf0074f0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
push 0xf001628
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
mov dword [esi + 0x10], eax
jne 0xf00752a
call fcn.0f00851d
mov eax, dword [eax]
push eax
call fcn.0f00845a
add esp, 4
push eax
push 0xf001608
push esi
call fcn.0f007410
add esp, 0xc
xor al, al
pop edi
pop esi
ret
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0xf0015ec
push eax
call edi
test eax, eax
mov dword [esi + 0x14], eax
jne 0xf007552
push 0xf001588
push esi
call fcn.0f007410
add esp, 8
xor al, al
pop edi
pop esi
ret
mov ecx, dword [esi + 0x10]
push 0xf001578
push ecx
call edi
test eax, eax
mov dword [esi + 0x18], eax
jne 0xf007577
push 0xf001550
push esi
call fcn.0f007410
add esp, 8
xor al, al
pop edi
pop esi
ret
mov edx, dword [esi + 0x10]
push 0xf001540
push edx
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0xf0075c0
mov eax, dword [esi + 0x10]
push 0xf001530
push eax
call edi
test eax, eax
mov dword [esi + 0x20], eax
jne 0xf0075ae
push 0xf00150c
push esi
call fcn.0f007410
add esp, 8
xor al, al
pop edi
pop esi
ret
mov ecx, dword [esi + 0x10]
push 0xf0014fc
push ecx
call edi
test eax, eax
mov dword [esi + 0x24], eax
jne 0xf0075d3
push 0xf0014d8
push esi
call fcn.0f007410
add esp, 8
xor al, al
pop edi
pop esi
ret
mov edx, dword [esi + 0x10]
push 0xf0014c8
push edx
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x10]
push 0xf0014b0
push eax
call edi
mov dword [esi + 0x28], eax
pop edi
mov al, 1
pop esi
ret

Function at 0xf007916
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0xf017498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [esp + 8], esi
call fcn.0f015929
mov dword [esp + 0x10], 0
mov dword [esi], 0xf0049b8
call fcn.0f007330
push 0xf001678
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0xf00796c
push 0
push 0
push 0xf001658
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
punpckhdq mm0, qword [eax]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, 0xf018660
jmp 0xf007900