joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4314db
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, 0xffffffff
je 0x4315be
cmp byte [ebp + 0x10], 0
je 0x43152a
mov esi, dword [ebp + 0xc]
test byte [esi], 8
je 0x43152a
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0040de99
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp + 8]
push eax
push 0x80
push 0xffff
push esi
push edi
call fcn.00436379
add esp, 0x1c
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push eax
call fcn.0042dceb
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4315be
call fcn.0040de99
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push ebx
mov dword [ebp - 8], 0x2733
call fcn.0040d63a
pop ecx
pop ecx
test al, al
jne 0x431586
call fcn.0040de99
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push ebx
mov dword [ebp - 8], 0x4d5
call fcn.0040d63a
pop ecx
pop ecx
test al, al
je 0x4315ba
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp + 0xc]
push 0
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push eax
call fcn.0042dceb
pop ecx
pop ecx
mov esi, eax
test esi, esi
jne 0x4315c9
call fcn.0040de99
and dword [ebx], 0
mov dword [ebx + 4], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43177b
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xffffffff
jne 0x43179a
call fcn.0040de99
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 4], eax
or eax, 0xffffffff
mov dword [ecx], 0x2719
pop ebp
ret
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_connect]
mov edi, dword [ebp + 0x14]
push edi
push eax
call fcn.0042dceb
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4317cf
call fcn.0040de99
and dword [edi], esi
mov dword [edi + 4], eax
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x435590
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00436b82
push 0
push dword [esi + 4]
test al, al
je 0x4355d3
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x4355e9
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43579d
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x49d5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x4357cf
call fcn.0040de99
mov dword [esi + 4], eax
or eax, edi
mov dword [esi], 0x2719
jmp 0x43582a
push ebx
xor eax, eax
mov dword [ebp - 0x208], edi
inc eax
mov dword [ebp - 0x104], edi
xor ebx, ebx
mov dword [ebp - 0x20c], eax
push ebx
mov dword [ebp - 0x108], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push esi
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0042dceb
mov edi, eax
pop ecx
pop ecx
test edi, edi
js 0x435827
call fcn.0040de99
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00448d6b
mov esp, ebp
pop ebp
ret

Function at 0x43583a
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49d5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x435873
call fcn.0040de99
mov dword [esi + 4], eax
or eax, edi
mov dword [esi], 0x2719
jmp 0x43591b
xor eax, eax
mov dword [ebp - 0x104], edi
push eax
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push esi
push 0
pop ecx
and bl, 1
lea eax, [ebp - 0x110]
cmove eax, ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x108]
push eax
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0042dceb
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x43590c
test bl, bl
je 0x4358eb
call fcn.0040de99
mov dword [ebp - 0x110], 0x2733
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x10c], eax
jmp 0x435903
and dword [ebp - 0x118], 0
call fcn.0040de99
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x118]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
jmp 0x435916
jle 0x435919
call fcn.0040de99
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448d6b
mov esp, ebp
pop ebp
ret
Function at 0x43592c
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49d5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x435965
call fcn.0040de99
mov dword [esi + 4], eax
or eax, edi
mov dword [esi], 0x2719
jmp 0x435a0d
xor eax, eax
mov dword [ebp - 0x104], edi
push eax
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push esi
push 0
pop ecx
and bl, 1
lea eax, [ebp - 0x110]
cmove eax, ecx
push eax
push ecx
lea eax, [ebp - 0x108]
push eax
push ecx
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0042dceb
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4359fe
test bl, bl
je 0x4359dd
call fcn.0040de99
mov dword [ebp - 0x110], 0x2733
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x10c], eax
jmp 0x4359f5
and dword [ebp - 0x118], 0
call fcn.0040de99
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x118]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
jmp 0x435a08
jle 0x435a0b
call fcn.0040de99
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448d6b
mov esp, ebp
pop ebp
ret

Function at 0x436379
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
or edi, 0xffffffff
cmp dword [ebp + 8], edi
jne 0x43639d
call fcn.0040de99
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 4], eax
mov eax, edi
mov dword [ecx], 0x2719
jmp 0x436443
cmp dword [ebp + 0x10], 0xa5100000
push esi
mov esi, dword [ebp + 0x14]
jne 0x4363f2
cmp esi, 2
jne 0x4363c2
call fcn.0040de99
mov ecx, dword [ebp + 0x20]
mov dword [ecx], 0x2726
mov dword [ecx + 4], eax
jmp 0x436440
cmp esi, 1
jne 0x436409
cmp dword [ebp + 0x1c], 4
jne 0x4363af
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
mov eax, dword [ebp + 0xc]
je 0x4363dd
or byte [eax], 4
jmp 0x4363e0
and byte [eax], 0xfb
call fcn.0040de99
mov ecx, dword [ebp + 0x20]
and dword [ecx], 0
mov dword [ecx + 4], eax
xor eax, eax
jmp 0x436442
cmp dword [ebp + 0x10], 0xffff
jne 0x436409
cmp esi, 0x80
jne 0x436409
mov eax, dword [ebp + 0xc]
or byte [eax], 8
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, dword [ebp + 0x20]
push esi
push eax
call fcn.0042dceb
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x436440
call fcn.0040de99
and dword [esi], edi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebp
ret
Function at 0x436688
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor eax, eax
mov esi, ecx
push eax
push eax
push 1
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [ebp + 8]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x4366d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.0040de99
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x43679c
mov esi, dword [ebp - 4]
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x43671a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.0040de99
mov dword [ebp - 0xc], eax
test esi, esi
je 0x436717
push str.thread.exit_event
jmp 0x4367a1
mov esi, dword [ebp - 4]
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
push ebx
push 0x436df6
push dword [ebp + 0xc]
push 0
call fcn.004585ee
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x436783
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [ebp + 8], eax
call dword [edx]
test edi, edi
je 0x43675c
push edi
call esi
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x43676a
push dword [eax + 8]
call esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
call fcn.0040de99
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x436783
push str.thread
jmp 0x4367a1
test edi, edi
je 0x436793
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.thread.entry_event
lea eax, [ebp - 0x10]
push eax
call fcn.00432861
int3

Function at 0x4367ab
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x49d5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4367f9
movzx ecx, byte [ebp + 0x10]
lea eax, [ebp - 0x194]
push eax
movzx eax, byte [ebp + 0xc]
shl cx, 8
or cx, ax
movzx eax, cx
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00448d6b
mov esp, ebp
pop ebp
ret
Function at 0x43749e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.004375e1
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebx + 0x14], 8
jb 0x4374be
mov eax, dword [ebx]
jmp 0x4374c0
mov eax, ebx
lea ecx, [ebp - 4]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp + 8], eax
test eax, eax
je 0x43754c
push eax
call fcn.004494a7
mov dword [esi + 4], eax
cmp dword [ebx + 0x14], 8
pop ecx
jb 0x4374e3
mov ebx, dword [ebx]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43754c
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
lea eax, [esi + 0x10]
push eax
push 0x478934
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43754c
lea eax, [ebp + 8]
push eax
lea edi, [esi + 8]
push edi
push 0x47e6e4
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x437547
mov eax, dword [ebp + 8]
cmp eax, 4
jb 0x437547
mov ecx, dword [edi]
shr eax, 2
mov dword [esi + 0xc], eax
mov ax, word [ecx]
mov word [esi], ax
mov ax, word [ecx + 2]
mov word [esi + 2], ax
xor edi, edi
inc edi
jmp 0x43755d
cmp dword [esi + 4], edi
je 0x43755d
push dword [esi + 4]
call fcn.00448afe
pop ecx
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43975e
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
push 0
push dword [edi + 0x48]
mov byte [edi + 0x30], 1
call esi
push 0
push dword [edi + 0x40]
call esi
push 0
push dword [edi + 0x44]
call esi
push 0x4397ab
push 0x12c
push 1
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret

Function at 0x439cfb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edi, word [ebp + 8]
mov esi, eax
push edi
push esi
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x439df7
push ebx
call fcn.00439dfd
push 0x47ec30
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x439d48
push 0xa
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
push esi
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x439df3
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x439df3
push dword [ebp + 8]
push ebx
push esi
call fcn.0044cf80
add esp, 0xc
lea eax, [ebp - 8]
xor ebx, ebx
mov dword [ebp - 8], ebx
push eax
push ebx
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x439de5
push ebx
push dword [ebp - 8]
call fcn.00439cd4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x439ddc
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebx
test ecx, ecx
jne 0x439dd4
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x439dd4
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43abab
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x43abf4
push 0
push 0
call fcn.004585ee
mov ecx, eax
add esp, 0x18
test ecx, ecx
jne 0x43abd2
xor al, al
pop esi
ret
mov eax, dword [esi]
add eax, 4
lock inc dword [eax]
push ecx
mov ecx, dword [esi]
add ecx, 8
call fcn.0041b66b
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
pop esi
ret
Function at 0x43c355
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47198b
mov eax, dword fs:[0]
push eax
mov eax, 0x183c
call fcn.00448ed0
mov eax, dword [0x49d5f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x1840]
push eax
push 0x1000
lea eax, [ebp - 0x1814]
push eax
call sub.PSAPI.DLL_EnumProcesses
mov ebx, dword [ebp - 0x1840]
xor eax, eax
and dword [ebp - 0x1834], eax
xor ecx, ecx
shr ebx, 2
mov dword [ebp - 0x183c], eax
mov dword [ebp - 0x1838], ecx
and dword [ebp - 4], ecx
test ebx, ebx
je 0x43c499
lea eax, [ebp - 0x1814]
mov dword [ebp - 0x1830], eax
push dword [eax]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x1844], esi
push 0x400
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x43c466
xor eax, eax
lea ecx, [ebp - 0x182c]
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x814]
push eax
call fcn.00403e82
lea eax, [edi + 0x5c]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x43c432
mov eax, dword [eax]
push ecx
push 0
push eax
lea ecx, [ebp - 0x182c]
call fcn.0040d04e
cmp eax, 0xffffffff
je 0x43c457
push dword [ebp - 0x1830]
lea ecx, [ebp - 0x183c]
call fcn.0043c300
push 0
push 1
lea ecx, [ebp - 0x182c]
call fcn.0040905f
mov byte [ebp - 4], 0
test esi, esi
je 0x43c475
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1830]
add eax, 4
mov dword [ebp - 0x1830], eax
sub ebx, 1
jne 0x43c3d7
mov ecx, dword [ebp - 0x1838]
mov eax, dword [ebp - 0x183c]
push edi
push 0x43c4e0
push ecx
push eax
lea eax, [ebp - 0x1848]
mov byte [edi + 0x58], 0
push eax
call fcn.0043c0e9
mov bl, byte [edi + 0x58]
lea ecx, [ebp - 0x183c]
add esp, 0x14
call fcn.0043c2d7
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448d6b
mov esp, ebp
pop ebp
ret
Function at 0x43c6c8
Capabilities:
Create new key via cryptacquirecontext
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x28
mov eax, 0x471a09
call fcn.00448e55
mov esi, ecx
mov dword [ebp - 0x34], esi
xor ebx, ebx
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x30], esi
mov dword [esi + 0x10], ebx
jb 0x43c6f2
mov eax, dword [esi]
jmp 0x43c6f4
mov eax, esi
mov byte [eax], bl
push str.Failed_CryptAcquireContext
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00403e06
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push 0xf0000000
push 1
push ebx
push ebx
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push eax
call fcn.00415830
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040900a
push str.Failed_CryptCreateHash
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00403e06
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea eax, [esi + 0x1c]
push eax
push ebx
push ebx
push 0x8003
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push eax
call fcn.00415830
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040900a
mov eax, esi
call fcn.00448da2
ret

Function at 0x43cabd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49d5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044d500
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43cb17
cmp dword [ebp - 0x108], 2
jne 0x43cb17
cmp dword [ebp - 0x114], 6
jb 0x43cb17
mov al, 1
jmp 0x43cb19
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448d6b
mov esp, ebp
pop ebp
ret
Function at 0x43fa1e
Capabilities:
Terminate process

Disassembly:
push 0x5c
mov eax, 0x471e33
call fcn.00448de7
mov esi, ecx
and dword [esi + 8], 0
lea ebx, [esi + 0xc]
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esi], vtable.CUnzipper.0
mov word [ebx], ax
test edi, edi
je 0x43fb31
push 0x104
call fcn.0044ef27
mov dword [esp], 0x104
push eax
push edi
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00403e82
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040ef8f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x43fa8b
mov eax, dword [eax]
push eax
call fcn.004420cb
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
mov dword [esi + 8], eax
call fcn.0040900a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0040905f
push dword [ebp - 0x5c]
call fcn.0044ef22
cmp dword [esi + 8], 0
pop ecx
push edi
jne 0x43faff
lea eax, [ebp - 0x58]
push str.unzOpen_failed_for__S
push eax
call fcn.0040f0ca
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 1
jb 0x43fae1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x68]
call fcn.00404864
push 0x493804
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.std::runtime_error.0
push eax
call fcn.0044b334
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x2e
mov edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x43fb22
push 0x5c
pop ecx
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.00448d91
ret 4

Function at 0x43fbd7
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
test esi, esi
je 0x43fc35
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x43fc35
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43fc05
shr eax, 4
and eax, 1
jmp 0x43fc37
push esi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x43fc51
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push edi
call fcn.0043fbd7
push edi
test eax, eax
jne 0x43fc3e
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43fc35
xor eax, eax
inc eax
jmp 0x43fc37
Function at 0x440041
Capabilities:
Timestomp file

Disassembly:
push 0x48
mov eax, 0x471edc
call fcn.00448de7
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x34], esi
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push str.SetFileModTime_couldnt_open__S
push eax
call fcn.0040f0ca
push eax
xor eax, eax
inc ebx
cmp esi, 0xffffffff
mov byte [ebp - 4], bl
setne al
push eax
call fcn.00415830
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push ebx
call fcn.0040900a
push edi
lea eax, [ebp - 0x28]
push str.SetFileModTime_failed_GetFileTime:__S
push eax
call fcn.0040f0ca
add esp, 0xc
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push eax
call fcn.00415830
pop ecx
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040900a
push edi
lea eax, [ebp - 0x28]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
push eax
call fcn.0040f0ca
add esp, 0xc
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
mov eax, dword [ebp + 0xc]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
push eax
call fcn.00415830
pop ecx
pop ecx
mov byte [ebp - 4], 0
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040900a
push edi
lea eax, [ebp - 0x28]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
push eax
call fcn.0040f0ca
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push eax
call fcn.00415830
pop ecx
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040900a
push edi
lea eax, [ebp - 0x28]
push str.SetFileModTime_failed_SetFileTime:__S
push eax
call fcn.0040f0ca
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push eax
call fcn.00415830
pop ecx
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040900a
test esi, esi
je 0x4401a5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00448d91
ret 8
Function at 0x445858
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x445865
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00443b2e
Function at 0x46240e
Capabilities:
Read file on windows

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