joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fd78
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x4747c9
call fcn.00473d84
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push esi
push 0x47f554
push 1
push ebx
push 0x47f624
mov dword [esi], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x41fdaa
xor al, al
jmp 0x41fe3a
push edi
lea eax, [esi + 0x10c]
lea edi, [esi + 4]
push eax
lea ecx, [ebp - 0x10]
mov dword [edi], ebx
call fcn.0041fc53
mov dword [ebp - 4], ebx
mov edx, dword [eax]
test edx, edx
je 0x41fdcc
mov edx, dword [edx]
jmp 0x41fdce
mov edx, ebx
mov eax, dword [esi]
push edi
push ebx
push ebx
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push ebx
push edx
push eax
call dword [ecx + 0xc]
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x41fdf7
call fcn.0041fcd3
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x41fdf9
xor eax, eax
test ebx, ebx
jns 0x41fe07
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x41fe33
push eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x41fe37
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x41fe39
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41ffb7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x64
push esi
mov edi, ecx
mov dword [ebp - 4], esi
mov ebx, esi
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
test eax, eax
jne 0x41ffea
mov eax, dword [ebp - 4]
push eax
mov esi, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
jmp 0x41fff5
push str.Failed_to_obtain_windows_version
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [edi + 0x10c]
cmp esi, 6
jae 0x420018
mov ecx, str.ROOTSECURITYCENTER
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x420007
jmp 0x42002e
mov ecx, str.ROOTSECURITYCENTER2
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42001f
push ebx
push esi
lea eax, [edi + 8]
push str._lu._lu
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4201c5
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
and dword [eax], 0
push edi
push ecx
mov dword [ebp - 4], edx
mov byte [ebx], 0
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x420245
cmp word [esi + 8], 2
jne 0x420227
push 4
pop eax
cmp word [esi + 0xa], ax
jne 0x420227
mov edi, dword [esi + 0xc]
jmp 0x420221
push dword [eax]
mov edx, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0042015c
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x420240
lea eax, [ecx + 0x1c]
add edi, 4
mov dword [ebp + 0x14], eax
mov eax, dword [edi]
test eax, eax
jne 0x4201fd
push 0x400
push dword [esi]
push 0x401
push ebx
call fcn.00440920
add esp, 0x10
xor eax, eax
jmp 0x42025d
push 8
pop eax
jmp 0x42025d
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x42025b
dec eax
je 0x42026d
dec eax
je 0x420266
dec eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x2afb
jmp 0x42025d
mov eax, 0x2afa
jmp 0x42025d

Function at 0x420863
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
cmp dword [0x4af9b4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], str.getaddrinfo
mov dword [ebp - 0x14], 0x4203db
mov dword [ebp - 0x10], str.getnameinfo
mov dword [ebp - 0xc], 0x420697
mov dword [ebp - 8], str.freeaddrinfo
mov dword [ebp - 4], fcn.0042039d
jne 0x4209c2
push 0x104
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4209b8
lea eax, [ebp - 0x230]
mov ebx, 0x10c
push eax
lea eax, [ebp - 0x128]
push ebx
push eax
call fcn.0043e21a
push str.ws2_32
lea eax, [ebp - 0x128]
push ebx
push eax
call fcn.0043ed8f
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
xor edi, edi
test esi, esi
je 0x420922
push str.getaddrinfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42091e
push esi
call ebx
mov esi, edi
test esi, esi
jne 0x42097c
lea eax, [ebp - 0x230]
mov esi, 0x10c
push eax
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0043e21a
push str.wship6
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0043ed8f
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4209b8
push str.getaddrinfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x420978
push esi
call ebx
mov esi, edi
test esi, esi
je 0x4209b8
mov ebx, edi
push dword [ebp + ebx*8 - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + ebx*8 - 0x14], eax
test eax, eax
je 0x420999
inc ebx
cmp ebx, 3
jl 0x42097e
jmp 0x4209a2
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, edi
test esi, esi
je 0x4209b8
mov eax, dword [ebp + edi - 0x14]
mov dword [edi + 0x4a73c4], eax
add edi, 8
cmp edi, 0x18
jl 0x4209a6
mov dword [0x4af9b4], 1
mov eax, dword [0x4a73c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420a04
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
lea eax, [ebp - 0x114]
push esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x420a43
mov eax, 0x4af5b0
jmp 0x420ad3
push ebx
push edi
push esi
call fcn.0043d630
pop ecx
mov edi, eax
lea eax, [ebp - 0x114]
push edi
push esi
push dword [ebp - 0x10]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
and dword [ebp - 4], 0
lea eax, [ebp - 8]
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueA]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push edi
call esi
mov ecx, dword [ebp - 4]
push 0x481da0
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x514]
push str.StringFileInfo_04x_04x_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x514]
push eax
push edi
call esi
mov edx, dword [ebp - 0xc]
mov ebx, 0x4af5b0
mov esi, ebx
sub esi, edx
mov cl, byte [edx]
mov byte [esi + edx], cl
inc edx
test cl, cl
jne 0x420abe
push edi
call fcn.0043d605
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420ad8
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x186c
call fcn.00443b60
push ebx
push esi
push edi
push 0x2e
pop eax
push eax
mov esi, ecx
mov dword [ebp - 4], eax
call fcn.0043d630
pop ecx
push dword [ebp - 4]
mov ebx, eax
push 0
push ebx
call fcn.00443b90
add esp, 0xc
mov byte [ebp - 0x468], 0
mov edi, 0x3ff
lea eax, [ebp - 0x467]
push edi
push 0
push eax
call fcn.00443b90
add esp, 0xc
mov byte [ebp - 0xc68], 0
lea eax, [ebp - 0xc67]
push edi
push 0
push eax
call fcn.00443b90
add esp, 0xc
mov byte [ebp - 0x1468], 0
lea eax, [ebp - 0x1467]
push edi
push 0
push eax
call fcn.00443b90
add esp, 0xc
mov byte [ebp - 0x868], 0
lea eax, [ebp - 0x867]
push edi
push 0
push eax
call fcn.00443b90
add esp, 0xc
mov byte [ebp - 0x1068], 0
lea eax, [ebp - 0x1067]
push edi
push 0
push eax
call fcn.00443b90
add esp, 0xc
mov byte [ebp - 0x1868], 0
lea eax, [ebp - 0x1867]
push edi
push 0
push eax
call fcn.00443b90
lea eax, [ebp - 0x468]
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x10], eax
add esp, 0xc
lea eax, [ebp - 0xc68]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1468]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x868]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x1068]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1868]
mov dword [ebp - 0x28], eax
lea eax, [edi + 1]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420bf9
lea eax, [ebp - 0x44]
sub ecx, edx
push eax
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
and dword [ebp - 8], 0
lea edi, [ebp - 0x64]
movdqa xmm0, xmmword [0x486430]
xor eax, eax
mov esi, dword [ebp - 0x34]
push 8
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [0x4af9b0]
movdqu xmmword [ebp - 0x64], xmm0
test eax, eax
jne 0x420c41
call fcn.00420863
mov dword [0x4af9b0], eax
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0
push esi
call eax
mov esi, eax
push esi
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
test esi, esi
jne 0x420cb4
mov esi, dword [ebp - 8]
jmp 0x420cb0
mov eax, dword [esi + 4]
sub eax, 0
je 0x420caa
dec eax
dec eax
je 0x420c8e
sub eax, 0x15
jne 0x420cad
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
mov dword [ebp - 4], 0x2e
push dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
jmp 0x420cad
mov eax, dword [esi + 0x18]
push dword [eax + 4]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x420c9e
jmp 0x420cad
mov byte [ebx], 0
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x420c60
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420d12
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
lea edx, [ebp - 0x108]
sub edx, ecx
push esi
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x420d24
xor esi, esi
cmp byte [ebp - 0x108], al
je 0x420d6d
cmp byte [ebp + esi - 0x108], 0x5c
jne 0x420d62
cmp esi, 2
jle 0x420d62
lea ecx, [ebp - 0x108]
mov byte [ebp + esi - 0x108], 0
call fcn.0040a69c
mov byte [ebp + esi - 0x108], 0x5c
inc esi
cmp byte [ebp + esi - 0x108], 0
jne 0x420d38
lea ecx, [ebp - 0x108]
call fcn.0040a69c
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
pop esi
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x420db3
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x34f]
mov byte [ebp - 0x350], 0
push 0
push eax
mov bl, dl
mov esi, ecx
call fcn.00443b90
add esp, 0xc
lea eax, [ebp - 0x350]
push esi
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
and dword [ebp - 0x140], 0
lea eax, [ebp - 0x13c]
add esp, 0xc
push 0x13c
push 0
push eax
call fcn.00443b90
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x350]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
jmp 0x420efd
cmp byte [ebp - 0x114], 0x2e
je 0x420ee1
test byte [ebp - 0x140], 0x10
je 0x420e9a
test bl, bl
je 0x420e9a
push 0x103
lea eax, [ebp - 0x247]
mov byte [ebp - 0x248], 0
push 0
push eax
call fcn.00443b90
lea edx, [ebp - 0x248]
add esp, 0xc
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x420e6f
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov dl, bl
lea ecx, [ebp - 0x248]
call fcn.00420db3
push 0x103
lea eax, [ebp - 0x457]
mov byte [ebp - 0x458], 0
push 0
push eax
call fcn.00443b90
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push esi
lea eax, [ebp - 0x458]
push 0x482748
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420efd
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x420e2e
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420f14
Capabilities:
Delete directory
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x56c
push ebx
push esi
push edi
mov esi, 0x103
mov byte [ebp - 0x460], 0
push esi
lea eax, [ebp - 0x45f]
mov ebx, edx
push 0
push eax
mov dword [ebp - 4], ebx
mov edi, ecx
call fcn.00443b90
push esi
lea eax, [ebp - 0x24f]
mov byte [ebp - 0x250], 0
push 0
push eax
call fcn.00443b90
push esi
lea eax, [ebp - 0x357]
mov byte [ebp - 0x358], 0
push 0
push eax
call fcn.00443b90
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x358]
add esp, 0x24
push 0x104
push edi
push eax
call esi
push 0x104
push edi
lea eax, [ebp - 0x460]
push eax
call esi
push 0x104
push ebx
lea eax, [ebp - 0x250]
push eax
call esi
xor ebx, ebx
lea eax, [ebp - 0x144]
push 0x13c
push ebx
push eax
mov dword [ebp - 0x148], ebx
call fcn.00443b90
add esp, 0xc
lea eax, [ebp - 0x358]
push 0x480fb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42102e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x103
mov esi, eax
mov byte [ebp - 0x568], bl
lea eax, [ebp - 0x567]
push ebx
push eax
call fcn.00443b90
add esp, 0xc
lea eax, [ebp - 0x568]
push ebx
push 0x104
push eax
push ebx
push esi
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
jmp 0x4210a4
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp byte [ebp - 0x11c], 0x2e
je 0x421084
lea eax, [ebp - 0x11c]
push eax
push edi
lea eax, [ebp - 0x460]
push 0x480954
push eax
call ebx
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x250]
push 0x480954
push eax
call ebx
add esp, 0x20
lea eax, [ebp - 0x250]
push 1
push eax
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x421034
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421108
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x33c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
push edi
call fcn.00440042
xor ebx, ebx
mov dword [esp], 0x103
lea eax, [esp + 0x245]
mov byte [esp + 0x244], bl
push ebx
push eax
call fcn.00443b90
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x124
mov esi, eax
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00443b90
add esp, 0xc
mov dword [esp + 0x10], 0x128
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
push 0x103
lea eax, [esp + 0x13d]
mov byte [esp + 0x13c], bl
push ebx
push eax
call fcn.00443b90
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x148]
push 0x104
push eax
call fcn.0043e21a
lea eax, [esp + 0x150]
push eax
call fcn.00440042
lea eax, [esp + 0x154]
push eax
push edi
call fcn.0043efe0
add esp, 0x24
test eax, eax
je 0x421214
push dword [esp + 0x18]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x104
lea ecx, [esp + 0x244]
push ecx
push ebx
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x421214
lea eax, [esp + 0x240]
push eax
call fcn.00440042
lea eax, [esp + 0x244]
push edi
push eax
call fcn.0043efe0
add esp, 0xc
test eax, eax
jne 0x42122a
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x421176
jmp 0x421237
mov ecx, dword [esp + 0xc]
xor ebx, ebx
mov eax, dword [esp + 0x18]
inc ebx
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421247
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x484308
push ecx
mov edi, edx
call fcn.00440c82
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x421265
and dword [edi], eax
or eax, 0xffffffff
jmp 0x4212b5
push ebx
push 2
push 0
push esi
call fcn.004414a5
push esi
call fcn.004413aa
push 0
push 0
push esi
mov ebx, eax
call fcn.004414a5
lea ecx, [ebx + 1]
push ecx
call fcn.0043e436
push esi
push ebx
push 1
push eax
mov dword [edi], eax
call fcn.00440e5c
add esp, 0x30
cmp ebx, eax
je 0x4212ab
push dword [edi]
call fcn.0043e014
pop ecx
push 0xfffffffffffffffe
pop eax
jmp 0x4212b4
push esi
call fcn.00441594
pop ecx
mov eax, ebx
pop ebx
pop edi
pop esi
ret
Function at 0x425ce2
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push edi
mov edi, ecx
call fcn.00425c88
xor ebx, ebx
lea eax, [ebp - 0x103]
push 0x103
push ebx
push eax
mov byte [ebp - 0x104], bl
call fcn.00443b90
mov eax, dword [ebp + 8]
add esp, 0xc
dec eax
je 0x425d61
dec eax
je 0x425d43
dec eax
je 0x425d25
push 2
pop eax
jmp 0x425e15
mov ecx, str.TUdTUE9LRVJWMkNSRUFURU1VVEVYUElHR1k
call fcn.0042182f
lea edx, [ebp - 0x104]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425d37
jmp 0x425d7d
mov ecx, str.TUdTUE9LRVJWMkNSRUFURU1VVEVY
call fcn.0042182f
lea edx, [ebp - 0x104]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425d55
jmp 0x425d7d
mov ecx, str.TUdTUE9LRVJWMkNSRUFURU1VVEVYU0I
call fcn.0042182f
lea edx, [ebp - 0x104]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425d73
push esi
lea eax, [ebp - 0x104]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push eax
mov dword [edi + 0xd14], eax
call esi
test eax, eax
jne 0x425e0d
lea ecx, [ebp - 0x104]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x425da8
mov eax, dword [str._SEM]
mov dword [ecx], eax
mov al, byte [0x484c48]
mov byte [ecx + 4], al
lea eax, [ebp - 0x104]
push eax
push 1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push ebx
push eax
mov dword [edi + 0xd18], eax
call esi
test eax, eax
je 0x425e11
push dword [edi + 0xd14]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [edi + 0xd14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0xd18]
mov dword [edi + 0xd14], ebx
call esi
mov dword [edi + 0xd18], ebx
xor eax, eax
jmp 0x425e14
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425e1d
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
xor eax, eax
mov dword [ebp - 4], ecx
push eax
push eax
push eax
push 1
push str.Mozilla_4.0__compatible__MSIE_5.5__Windows_NT_5.0_
mov ebx, 0x80004005
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, eax
mov dword [ebp - 8], edx
test edx, edx
je 0x425f32
push esi
push edi
push 8
pop ecx
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x2c]
xor edi, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x425e65
push edi
push 0x4000000
sub ecx, esi
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x88]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x425f23
xor eax, eax
push eax
push eax
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x425f15
xor eax, eax
push 0xff
push eax
mov byte [ebp - 0x12c], al
lea eax, [ebp - 0x12b]
push eax
call fcn.00443b90
add esp, 0xc
jmp 0x425ef6
cmp dword [ebp - 4], 0
je 0x425f13
xor eax, eax
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x12c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 4]
push eax
push 0x100
lea eax, [ebp - 0x12c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x425ed5
jmp 0x425f15
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
test ebx, ebx
jns 0x425f3b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x425f44
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push esi
push eax
call fcn.00443b90
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push esi
push esi
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x425fd0
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x208]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x425f9e
mov esi, str..url
lea eax, [ebp - 0x208]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
je 0x425fd0
shr eax, 4
not eax
and eax, 1
jmp 0x425fd2
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4