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

Disassembly:
push 0x78
mov eax, 0x56f30b
call fcn.00542d72
mov ebx, ecx
cmp dword [0x6208e8], 0
je 0x4346ce
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x4345b9
xor eax, eax
jmp 0x4346c8
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x4345b2
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4346ce
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x6208e8]
call fcn.0046aff6
mov dword [edi], esi
lea ecx, [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx]
push edi
push ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [eax + 0x164]
mov ecx, esi
call fcn.00542d35
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
and dword [ebp - 4], 0
push dword [eax - 0xc]
call fcn.0040903d
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.00542d35
mov ecx, ebx
call esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
push 1
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.00542d35
mov ecx, ebx
call esi
push 0xa
pop ecx
mov dword [ebp - 0x24], eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x20], 1
push eax
push 0
push 0x1132
push dword [ebx + 0x20]
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x80], 0xffff0002
mov dword [ebp - 0x84], 0xffff0000
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 2
push 0x1102
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call fcn.00542d35
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404310
xor eax, eax
inc eax
call fcn.00542d3b
ret
call fcn.00409709
int3

Function at 0x43491e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x618f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x434984
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x434967
lea eax, [ebp - 0x2ac]
push eax
jmp 0x43496c
push 0x584778
call fcn.004087dd
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054250a
mov esp, ebp
pop ebp
ret 8
call fcn.00409709
int3
Function at 0x46bb89
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x618f60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
jne 0x46bbac
xor eax, eax
jmp 0x46bc7d
cmp dword [ebp + 0xc], 0
je 0x46bba5
xor esi, esi
call fcn.0040b602
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46bba5
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x46bba5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x46bc93
push eax
call fcn.005507b0
pop ecx
lea edx, [eax + 1]
lea eax, [edx + edx]
mov dword [ebp - 0xc], edx
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
and eax, ecx
je 0x46bc3d
cmp eax, 0x400
ja 0x46bc22
call fcn.00543210
mov edi, esp
test edi, edi
je 0x46bc38
mov dword [edi], 0xcccc
jmp 0x46bc35
push eax
call fcn.005505a5
mov edi, eax
pop ecx
test edi, edi
je 0x46bc38
mov dword [edi], 0xdddd
add edi, 8
mov edx, dword [ebp - 0xc]
jmp 0x46bc3f
mov edi, esi
test edi, edi
je 0x46bc93
push edx
push dword [ebp - 8]
push edi
call fcn.00409e25
mov dword [ebp - 8], eax
test eax, eax
je 0x46bc6d
mov esi, dword [ebp - 0x10]
push eax
call fcn.0054c6a9
pop ecx
push eax
push dword [ebp - 8]
lea ecx, [esi + 4]
call fcn.0040913e
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.0046d5d8
pop ecx
mov eax, esi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054250a
mov esp, ebp
pop ebp
ret 8
call fcn.00409709
int3
Function at 0x4d07ff
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4d0836
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d081d
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4d082e
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4d0838
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4d0813
xor eax, eax
pop edi
pop esi
ret
Function at 0x4dd588
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ecx + 0x14]
cmp dword [edi - 0xc], 0
jne 0x4dd59b
xor eax, eax
jmp 0x4dd5ea
mov eax, dword [ecx + 8]
push ebx
push esi
mov esi, dword [ecx + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
call fcn.00411f6b
mov ebx, eax
test ebx, ebx
je 0x4dd5c9
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.00542d35
mov ecx, ebx
call esi
mov esi, dword [ebp - 4]
jmp 0x4dd5cb
xor eax, eax
test eax, eax
je 0x4dd5d2
mov eax, dword [eax + 0x20]
push 1
push esi
push dword [ebp - 8]
push edi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop esi
sbb eax, eax
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4dd7c7
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x575f1d
call fcn.00542da6
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409edf
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5fbc24
call fcn.004138f5
cmp eax, 0xffffffff
jne 0x4dd8a0
push 0
push 0x5867e8
lea ecx, [ebp - 0x4d0]
call fcn.004138f5
cmp eax, 0xffffffff
jne 0x4dd8a0
push 0
push 0x57f310
lea ecx, [ebp - 0x4d0]
call fcn.004138f5
cmp eax, 0xffffffff
jne 0x4dd8a0
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409edf
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4dd86f
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00542d35
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00404310
jmp 0x4dd8d8
lea eax, [ebp - 0x218]
push eax
call fcn.0054c6a9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0040913e
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00404310
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4dd8c6
mov edi, dword [ebp - 0x4cc]
jmp 0x4dd8d8
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00542d35
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00404310
mov eax, edi
call fcn.00542d50
ret
Function at 0x4ed9e6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x4edaa4
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x4eda99
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4eda99
neg eax
sbb eax, eax
and eax, ecx
cmp dword [ebx], eax
jne 0x4eda99
mov eax, dword [ebx + 4]
sub eax, 1
je 0x4eda6d
sub eax, 1
je 0x4eda39
sub eax, 1
jne 0x4eda99
mov edi, 0x428e
jmp 0x4eda72
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4eda72
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call fcn.00542d35
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x4eda72
add edi, 3
jmp 0x4eda72
mov edi, 0x3ea0
push edi
call fcn.00409997
test eax, eax
je 0x4edaa4
push edi
push eax
mov ecx, 0x621dd8
call fcn.00408f9c
test eax, eax
je 0x4edaa4
mov eax, dword [0x621dd8]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
jmp 0x4eda9b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00409709
int3

Function at 0x4f945e
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4f94ad
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0054c6a9
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x4f94a2
mov edx, ecx
movzx ecx, word [esi + edi*2]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4f9490
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00409709
int3
Function at 0x54a75e
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x5f08c4
push str.FlsAlloc
push 0
call fcn.0054a6d7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x54a790
push dword [ebp + 8]
mov ecx, esi
call fcn.00542d35
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x54a7d2
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x5f08e8
push str.FlsGetValue
push 2
call fcn.0054a6d7
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x54a803
mov ecx, esi
call fcn.00542d35
call esi
jmp 0x54a809
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x54a80c
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x5f08fc
push str.FlsSetValue
push 3
call fcn.0054a6d7
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x54a840
mov ecx, esi
call fcn.00542d35
call esi
jmp 0x54a846
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x561b52
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00561811

Function at 0x561b5d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00561994

Function at 0x565728
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00565040

Function at 0x565733
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056527f
Function at 0x4039c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x403a21
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x403a04
cmp edi, 2
jb 0x403a04
cmp byte [esi], cl
jne 0x403a04
cmp byte [esi + 1], cl
jne 0x403a04
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x42b580]
jmp 0x4039d5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x42b580]
test edi, edi
jne 0x4039d5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x403a50
cmp cl, 0x23
jne 0x403a37
cmp byte [esi], cl
jne 0x403a37
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x42b580]
test cl, cl
jne 0x403a28
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x403b74
mov dword [ebx], 0
mov edx, 0x42b35c
call fcn.00403a60
mov esi, eax
test esi, esi
je 0x403c62
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x403c58
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403c58
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x403c58
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403c58
mov eax, dword [0x432648]
test eax, eax
je 0x403bec
inc dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x403c58
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x403c3d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x432648]
add esp, 4
test eax, eax
je 0x403c2a
dec dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x403c4f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x432040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x42b580]
sub esi, 1
jne 0x405143
mov eax, dword [0x432648]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x405172
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x405181
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x40519a
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.00414110
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428d7b
mov esp, ebp
pop ebp
ret 4
Function at 0x409410
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40944d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x409433
cmp byte [esi], bl
jne 0x409433
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x42b580]
test bl, bl
jne 0x409424
pop edi
pop esi
not ecx
pop ebx
jmp fcn.004093b0
Function at 0x413200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2fa8], 0
lea esi, [edi + 0x2fac]
je 0x413282
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41323c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00414d40
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00403df0
mov edx, dword [esi]
mov ecx, 0x432644
push dword [edi + 0x2fa8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb4]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00403df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41d29a
mov eax, dword [0x432648]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41d28d
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41d2cb
mov eax, dword [0x432648]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41d2be
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41d2fc
mov eax, dword [0x432648]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41d2ef
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41d349
mov eax, dword [0x432648]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41d33c
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41d37a
mov eax, dword [0x432648]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41d36d
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41d3ab
mov eax, dword [0x432648]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41d39e
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0041faf0
Function at 0x429876
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4298b5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4298b5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4298b5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4298b5
cmp dword [ecx + 0x74], 0xe
jbe 0x4298b5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401005
Capabilities:
Find taskbar

Disassembly:
jmp 0x401ce0
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.Shell_TrayWnd
call esi
test eax, eax
je 0x401d05
push 0
push str.Progman
call esi
test eax, eax
je 0x401d05
xor eax, eax
pop esi
ret
push 0x30
push 0x40a8fc
push str.Can_not_start_the_program_because_of_missing_Windows_Tray
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
pop esi
ret

Function at 0x40101e
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x401c90
push esi
push edi
xor edi, edi
push 0x40a8fc
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401cb6
mov edi, 1
test esi, esi
je 0x401cc1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
pop edi
pop esi
ret
Function at 0x40103c
Capabilities:
Find taskbar

Disassembly:
jmp 0x401180
sub esp, 0x10
xor eax, eax
push esi
mov dword [esp + 8], eax
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
mov dword [esp + 0x10], eax
push eax
push str.Shell_TrayWnd
mov dword [esp + 0x1c], eax
call edi
mov esi, dword [esp + 0x1c]
cmp esi, eax
je 0x4011e6
push 0
push str.Progman
call edi
cmp esi, eax
je 0x4011e6
push 0x40e20c
push str.Worker
call edi
cmp esi, eax
je 0x4011e6
cmp esi, dword [0x40d854]
je 0x4011e6
push esi
call fcn.00401073
add esp, 4
test eax, eax
je 0x4011e6
mov eax, 1
pop edi
pop esi
add esp, 0x10
ret
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret

Function at 0x40104b
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x401320
mov edx, dword [esp + 4]
push edi
mov edi, edx
mov ecx, 0x100
shl edi, 0xa
add edi, 0x40d868
xor eax, eax
push edx
push 0x401055
rep stosd dword es:[edi], eax
mov dword [edx*4 + 0x40d860], 0
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
ret

Function at 0x40106e
Capabilities:
Hide graphical window

Disassembly:
jmp 0x4015a0
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
mov eax, dword [edi*4 + 0x40d860]
test eax, eax
jle 0x40168a
push esi
mov esi, edi
shl esi, 0xa
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
add esi, 0x40d868
mov eax, dword [esi]
test eax, eax
je 0x401675
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401675
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
push 0x3e8
push 2
push 0
push 0
push 0
push ecx
call ebp
test eax, eax
je 0x401675
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x401675
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x401646
mov eax, dword [esi]
push eax
call fcn.00401023
add esp, 4
test eax, eax
jne 0x401646
mov ecx, dword [esi]
push ecx
push edi
call fcn.00401069
add esp, 8
test eax, eax
je 0x401646
mov edx, dword [esi]
push edx
push edi
call fcn.0040100a
add esp, 8
mov dword [esi], 0
jmp 0x401675
mov eax, dword [0x40e068]
test eax, eax
je 0x40166a
mov ecx, dword [esi]
push 0x87
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_DeferWindowPos]
jmp 0x401675
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi*4 + 0x40d860]
inc ebx
add esi, 4
cmp ebx, eax
jl 0x4015ca
pop ebp
pop esi
pop edi
pop ebx
ret

Function at 0x401fb0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x40d850]
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
push 0
push 0
push 0x80800000
push 0x40e20c
push 0x40a8fc
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x40d854], eax
jne 0x401fed
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret