joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dac4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
push esi
push edi
push 1
mov dword [ebp - 4], ecx
call fcn.0040cff3
xor eax, eax
push 0x40e
mov word [ebp - 0x450], ax
xor edi, edi
lea eax, [ebp - 0x44e]
push edi
push eax
call fcn.0042878d
add esp, 0xc
push 0x208
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.M123ain123Proce123ssWn123d123
lea ecx, [ebp - 0x28]
call fcn.00404cca
mov esi, 0x429e98
jmp 0x40db2d
push 0x429900
push 3
push eax
call fcn.00408847
push 3
push edi
push esi
lea ecx, [ebp - 0x28]
call fcn.004062dc
lea ecx, [ebp - 0x28]
cmp eax, 0xffffffff
jne 0x40db20
push ebx
lea eax, [ebp - 0x450]
push eax
call fcn.0040567c
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040502d
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040504b
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040502d
push fcn.0042898e
push dword [esi + 4]
push dword [esi]
push dword [ebx + 4]
push dword [ebx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x40]
push eax
call fcn.0040d0bd
mov eax, dword [ebp - 0x24]
add esp, 0x20
cmp dword [ebp - 0x10], 8
pop ebx
jae 0x40dba3
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 4]
push eax
call fcn.0040d803
cmp eax, edi
je 0x40dbf9
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x40dbf9
cmp dword [ebp - 8], edi
je 0x40dbf9
push dword [ebp - 8]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x40dbf9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x40dbeb
push edi
jmp 0x40dbed
push 2
call fcn.0040cff3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.004049d8
pop edi
pop esi
leave
ret
Function at 0x40e475
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
xor edx, edx
cmp dword [esp + 8], edx
not eax
jle 0x40e4a6
push esi
push edi
mov esi, dword [esp + 0xc]
movzx esi, byte [edx + esi]
mov edi, eax
and edi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [ecx + esi*4]
inc edx
cmp edx, dword [esp + 0x10]
jl 0x40e485
pop edi
pop esi
not eax
ret 0xc

Function at 0x40e561
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [ecx + 0x3c], bl
je 0x40e5de
push edi
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x40e5dd
cmp word [edi], bx
je 0x40e5dd
cmp dword [ecx + 0x38], 8
jb 0x40e584
mov ecx, dword [ecx + 0x24]
jmp 0x40e587
add ecx, 0x24
push esi
push ebx
push 0x80
push 4
push ebx
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40e5dc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x40e5d5
push ebx
lea eax, [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x40ece7
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp esi, edi
je 0x40edb5
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40edb5
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40edb5
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
je 0x40edb5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.004287c0
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x40edac
push edi
lea eax, [ebp - 4]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40eda5
cmp dword [ebp - 4], esi
jne 0x40eda5
push edi
push esi
push ebx
call fcn.0040e535
mov ecx, eax
call fcn.0040e475
push eax
lea eax, [ebp - 0xcc]
push 0x42aae4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
call fcn.0040567c
mov al, 1
jmp 0x40edb7
push ebx
call fcn.004286a0
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4182bd
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or dword [ebp - 8], 0xffffffff
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x13
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
cmp eax, edi
jne 0x4182f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41834d
mov eax, dword [ebp - 4]
push ebx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004287c0
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x41834c
mov eax, dword [ebp - 4]
add eax, eax
push eax
push edi
push ebx
call fcn.0042878d
add esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x13
push dword [ebp + 8]
call esi
test eax, eax
je 0x418345
lea eax, [ebp - 8]
push eax
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_StrToIntExW]
test eax, eax
jne 0x418345
or dword [ebp - 8], 0xffffffff
push ebx
call fcn.004286a0
pop ecx
pop ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 4

Function at 0x418552
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x9c]
push edi
push dword [ebp + 8]
call fcn.00418356
cmp dword [edi], 0
mov ebx, eax
jne 0x41857a
mov eax, dword [esi + 0x98]
mov dword [edi], eax
test ebx, ebx
jl 0x41858a
mov ecx, dword [esi + 0x1ac]
push ebx
call fcn.00418010
mov dword [esi + 0x88], ebx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x418642
push dword [edi]
mov ecx, esi
push dword [esi + 0x88]
call fcn.00418064
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.004287c0
mov ebx, eax
pop ecx
test ebx, ebx
je 0x418620
mov eax, dword [ebp - 4]
inc eax
push eax
push 0
push ebx
call fcn.0042878d
and dword [ebp - 8], 0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x41866e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp - 8]
push ebx
call fcn.0041844b
test al, al
je 0x41865c
mov ecx, dword [esi + 0x1ac]
cmp dword [ecx + 0x20], 0
je 0x41865c
push dword [ebp - 8]
push ebx
call fcn.00417cc8
push ebx
call fcn.004286a0
pop ecx
cmp dword [ebp - 4], 0
ja 0x418590
push dword [edi]
mov ecx, esi
push dword [esi + 0x88]
call fcn.00418064
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x120], 0x26
mov dword [esi + 0x118], eax
xor al, al
jmp 0x41863b
mov dword [esi + 0x120], 0x2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x418652
mov dword [esi + 0x120], 0x28
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x118], eax
call fcn.004286a0
pop ecx
jmp 0x418658
Function at 0x4188c4
Capabilities:
Initialize winhttp library

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 4], edi
jne 0x41890f
lea eax, [esi + 0x128]
cmp dword [eax + 0x18], 8
jb 0x4188e0
mov eax, dword [eax + 4]
jmp 0x4188e3
add eax, 4
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 4], eax
cmp eax, edi
jne 0x41890f
mov dword [esi + 0x120], 0x2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x118], eax
xor al, al
jmp 0x418911
mov al, 1
pop edi
pop esi
ret

Function at 0x418914
Capabilities:
Set http header

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x41895f
cmp dword [eax + 0x18], 8
jb 0x41892d
mov eax, dword [eax + 4]
jmp 0x418930
add eax, 4
push 0x1000000
push ecx
push eax
push dword [esp + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x41895f
mov dword [esi + 0x120], 0x2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x118], eax
xor al, al
jmp 0x418961
mov al, 1
pop esi
ret 8

Function at 0x418c5b
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x16
push dword [ebp + 8]
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
call esi
cmp eax, ebx
jne 0x418c8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x418ce3
mov eax, dword [ebp - 8]
push edi
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004287c0
mov edi, eax
pop ecx
cmp edi, ebx
je 0x418ce2
mov eax, dword [ebp - 8]
add eax, eax
push eax
push ebx
push edi
call fcn.0042878d
add esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x16
push dword [ebp + 8]
call esi
test eax, eax
je 0x418cdb
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00404ca6
mov byte [ebp - 1], 1
push edi
call fcn.004286a0
pop ecx
pop edi
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 8
Function at 0x419125
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov byte [ebp - 1], bl
call fcn.004186a4
mov ecx, dword [esi + 0x1ac]
push 4
call fcn.00417cdf
test al, al
jne 0x419166
mov dword [esi + 0x120], 0x2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x118], eax
jmp 0x419342
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x5c]
call fcn.0040648e
cmp dword [esi + 0x28], ebx
jne 0x41918c
mov dword [esi + 0x120], 0x2f
mov dword [esi + 0x118], ebx
jmp 0x419337
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00418c03
test al, al
jne 0x4191b3
mov dword [esi + 0x120], 0x30
mov eax, dword [edi + 0x14]
mov dword [esi + 0x118], eax
jmp 0x419337
mov ecx, esi
call fcn.004188c4
test al, al
je 0x419337
push dword [esi + 0x1a8]
push dword [esi + 0x1a4]
push dword [esi + 0x1a0]
push dword [esi + 0x19c]
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
push ebx
push 0x10000
push 0x4186d4
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
push 7
pop edi
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x28], edi
call fcn.00404941
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc], edi
call fcn.00404941
lea eax, [ebp + 0xb]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
sub esp, 0x1c
lea eax, [esi + 0x14]
mov ecx, esp
push eax
call fcn.0040648e
mov ecx, esi
call fcn.00418e02
test al, al
je 0x41930b
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x41924b
lea eax, [ebp - 0x3c]
push ebx
push dword [ebp - 8]
push eax
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x4192ec
movzx ecx, byte [ebp + 0xb]
mov edi, dword [ebp - 0x20]
neg ecx
sbb ecx, ecx
and ecx, 0x800000
cmp dword [ebp - 0xc], 8
jae 0x41927e
lea edi, [ebp - 0x20]
cmp dword [ebp - 0x44], 8
mov edx, dword [ebp - 0x58]
jae 0x41928a
lea edx, [ebp - 0x58]
push ecx
push ebx
push ebx
push ebx
push edi
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x4192e0
cmp byte [esi + 0x10], bl
jne 0x4192b0
cmp byte [ebp + 0xb], bl
je 0x4192b0
push eax
mov ecx, esi
call fcn.0041813c
lea eax, [esi + 0xe0]
push eax
push dword [esi + 0xc]
mov ecx, esi
call fcn.00418914
test al, al
je 0x419302
lea eax, [esi + 0xbc]
push eax
push dword [esi + 0xc]
mov ecx, esi
call fcn.004190bd
test al, al
je 0x419302
mov byte [ebp - 1], 1
jmp 0x419321
mov dword [esi + 0x120], 0x33
jmp 0x4192f6
mov dword [esi + 0x120], 0x32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x118], eax
mov ecx, esi
call fcn.004186a4
jmp 0x419321
mov dword [esi + 0x120], 0x31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x118], eax
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.004049d8
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004049d8
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.004049d8
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x419d86
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov byte [ebp - 1], bl
call fcn.00419125
test al, al
je 0x419e44
lea eax, [esi + 0x164]
cmp dword [eax + 0x18], 8
jb 0x419db5
mov edx, dword [eax + 4]
jmp 0x419db8
lea edx, [eax + 4]
lea eax, [esi + 0x148]
cmp dword [eax + 0x18], 8
jb 0x419dc9
mov ecx, dword [eax + 4]
jmp 0x419dcc
lea ecx, [eax + 4]
lea eax, [esi + 0xfc]
cmp dword [eax + 0x18], 8
jb 0x419ddd
mov eax, dword [eax + 4]
jmp 0x419de0
add eax, 4
push edx
push ecx
push eax
push dword [esi + 0xc]
mov ecx, esi
call fcn.004181a5
cmp byte [ebp + 0xc], bl
je 0x419dfc
push dword [esi + 0xc]
mov ecx, esi
call fcn.00418161
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi + 0xc]
call edi
test eax, eax
jne 0x419e55
push dword [esi + 0xc]
mov ecx, esi
call fcn.00418832
test al, al
je 0x419e44
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi + 0xc]
call edi
test eax, eax
jne 0x419e55
mov dword [esi + 0x120], 0x1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x118], eax
mov ecx, esi
call fcn.00418041
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [esi + 0xc]
mov ecx, esi
call fcn.0041826f
test al, al
je 0x419e44
push ebx
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x419e86
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [esi + 0xc]
call fcn.00419cb0
mov byte [ebp - 1], al
jmp 0x419e9c
mov dword [esi + 0x120], 0x1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x118], eax
cmp byte [ebp - 1], bl
je 0x419e44
mov ecx, esi
call fcn.0041802a
jmp 0x419e4b

Function at 0x419ef2
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x419f28
mov ecx, dword [esi + 0x44]
push edi
call fcn.00418746
mov edi, dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, edi
je 0x419f1a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x18], 0
pop edi
pop esi
ret
Function at 0x41a378
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push 0
mov esi, ecx
call fcn.00419fa7
mov ecx, esi
call fcn.00419fc8
cmp byte [esi + 0xd], 0
mov eax, str.POST
jne 0x41a39f
mov eax, 0x42bba8
push eax
lea ecx, [esp + 0x34]
call fcn.00404cca
mov byte [esp + 0x10], 0
mov edi, 0x561108
lea ebx, [esi + 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x20]
push ebx
jg 0x41a4e5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, esi
call fcn.0041a105
call fcn.0040f5fd
xor ebx, ebx
cmp byte [eax + 0x3c], bl
sete bl
xor ebp, ebp
dec ebx
and ebx, 0xffffffa6
add ebx, 0x64
test ebx, ebx
jle 0x41a452
cmp byte [esp + 0x10], 0
jne 0x41a51d
test ebp, ebp
je 0x41a40e
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0041a1b2
mov ecx, esi
call fcn.00419f7e
movzx eax, al
push eax
call fcn.00419f7e
cmp byte [esi + 0xc], 0
mov ecx, dword [esi + 0x44]
movzx eax, al
push eax
sete al
movzx eax, al
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00419d86
inc ebp
cmp ebp, ebx
mov byte [esp + 0x10], al
jl 0x41a3f4
test al, al
jne 0x41a51d
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41a3b3
add eax, 4
push eax
lea ecx, [esp + 0x18]
call fcn.0040648e
mov ecx, dword [esi + 0x14]
call fcn.00417cb6
mov ebx, 0x560af0
push ebx
push 0x30c
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41a4d3
push edi
push 0
push 0x429a50
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41a4d3
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x41a4c2
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [esi + 0x14]
push edi
call fcn.00417c41
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.004049d8
jmp 0x41a3b3
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x44]
call fcn.00418120
mov ecx, dword [esi + 0x44]
push eax
call fcn.00418127
push eax
push dword [esp + 0x18]
mov ecx, esi
call fcn.0041a23a
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.004049d8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ecx, dword [esi + 0x44]
call fcn.0041812e
cmp eax, 0x12c
jl 0x41a4eb
mov ecx, dword [esi + 0x44]
call fcn.0041812e
cmp eax, 0x1f4
jge 0x41a4eb
mov ecx, dword [esi + 0x44]
call fcn.0041812e
push eax
push 0x50
push 0
jmp 0x41a501

Function at 0x41a8db
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00419ef2
xor eax, eax
push eax
push eax
push esi
push 0x41a7b4
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x18], eax
pop esi
ret
Function at 0x41af4d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x2c], edi
jne 0x41afd7
mov eax, dword [esi + 0x10]
cmp eax, edi
jle 0x41afd7
mov ecx, dword [esi + 0x14]
cmp ecx, edi
jle 0x41afd7
push edi
push 1
mov dword [ebp + 8], eax
push ecx
lea eax, [ebp + 8]
push eax
call fcn.00406fc2
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, edi
je 0x41afd3
push ebx
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
mov ecx, esi
call fcn.00406687
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41afc9
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 0x44], 1
push dword [ebp - 4]
call fcn.004286a0
pop ecx
pop ebx
mov al, 1
jmp 0x41afd9
xor al, al
pop edi
pop esi
leave
ret

Function at 0x41b9ac
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push edi
push edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 0x1c], eax
call ebx
push edi
push edi
push esi
push 0x41b94e
push edi
push edi
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
push 0x190
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x41c199
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbbc
push esi
push edi
push 0x3b8
lea eax, [ebp - 0x3b8]
push 0
push eax
mov esi, ecx
call fcn.0042878d
mov edi, dword [esi + 8]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xbbc], ax
lea eax, [ebp - 0xbba]
push eax
mov dword [ebp - 0x3bc], 0x3bc
mov dword [ebp - 0x3b8], edi
mov dword [ebp - 0x3b4], 1
mov dword [ebp - 0x3b0], 6
call fcn.0042878d
add esp, 0x18
push 0x400
lea eax, [ebp - 0xbbc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x80
lea eax, [ebp - 0xbbc]
push eax
lea eax, [ebp - 0x3a4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
movzx ecx, word [esi + 0x18]
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x3a8], eax
lea eax, [ebp - 0x3bc]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
pop edi
pop esi
leave
ret
Function at 0x41e5d0
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea eax, [ebp - 0xc]
push edi
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 9
mov dword [esi + 0xc], ebx
call fcn.00406130
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
pop ecx
push ebx
call edi
push dword [ebp + 8]
mov ecx, esi
call fcn.0041e58a
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
cmp eax, ebx
je 0x41e6b1
push eax
push 6
call fcn.004060cd
pop ecx
pop ecx
push ebx
call edi
push dword [ebp + 8]
mov ecx, esi
call fcn.0041e5ad
push eax
push dword [esi + 8]
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x41e6b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi + 4]
cmp eax, 0xb7
push 6
sete byte [ebp + 0xb]
call fcn.004060cd
pop ecx
pop ecx
push ebx
push ebx
push ebx
push 6
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x41e6b1
mov ecx, esi
call fcn.0041e560
cmp byte [ebp + 0xb], bl
je 0x41e694
mov eax, dword [esi + 0xc]
cmp byte [eax], 0x23
je 0x41e6a4
mov eax, dword [esi + 0xc]
mov byte [eax], 0x23
mov edi, dword [esi + 0xc]
xor eax, eax
add edi, 4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x41e6b1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea eax, [ebp - 0xc]
push eax
call fcn.004060ba
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x41e8fd
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push 0
push 1
lea ecx, [esi + 0x248]
call fcn.004049d8
mov ecx, esi
pop esi
jmp fcn.0040c296

Function at 0x41ecf0
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareWine
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ed24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x41efd8
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi]
xor eax, eax
cmp dword [ecx + 0x33c], eax
jle 0x41effa
push eax
push eax
push esi
push 0x41edac
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop esi
ret