joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101ae3a0
Capabilities:
Resolve dns

Disassembly:
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [esp + 4]
push dword [esp + 0x44]
push edx
push eax
call fcn.10177030
add esp, 0xc
mov eax, dword [esp + 4]
test eax, eax
je 0x101ae3f2
mov ecx, dword [0x1023b600]
mov edx, dword [0x1023b604]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 8], edx
mov dword [esi], 1
test ecx, ecx
je 0x101ae455
push 1
push ecx
push eax
call fcn.100985c0
add esp, 0x40
pop esi
pop edi
pop ebx
ret
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, esp
mov dword [esp], 0
lea ecx, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x1c], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x101ae45c
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, 1
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x101ae455
push 1
push ebx
push edi
call fcn.100985c0
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
ret
mov ecx, dword [esp]
movzx eax, word [esp + 0x48]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x101ae449
jmp 0x101ae455

Function at 0x101ae580
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov edi, dword [esp + 0x30]
cmp dword [edi + 4], 0
je 0x101ae5fa
lea ebx, [edi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x101ae635
cmp dword [esp + 4], 0
je 0x101ae61c
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x101ae658
mov esi, eax
inc eax
mov dword [edi], eax
mov eax, dword [0x10262c5c]
nop word [eax + eax]
mov dword [edi + 8], eax
lock cmpxchg dword [0x10262c5c], edi
jne 0x101ae5e0
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x101ae62c
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x101ae69f
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [edi], ecx
jne 0x101ae620
mov esi, dword [esp]
jmp 0x101ae62c
mov esi, dword [edi]
jmp 0x101ae62b
mov esi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec esi
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
mov edx, 0x1023c558
push 0x1023c58c
push eax
call fcn.101adea0
add esp, 8
ud2
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
mov dword [esp + 8], 0x1023c5b0
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x1023a830
mov dword [esp + 0x14], 0
lea eax, [esp + 8]
push 0x1023c5b8
push eax
call fcn.101af120
add esp, 8
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x1023c5b0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x1023a830
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.101ade40
ud2
Function at 0x101af360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
je 0x101af3b1
cmp eax, 1
jne 0x101af428
mov dword [esp], 0x1023f57f
jmp 0x101af3b8
mov dword [esp], 0x1023f581
mov edx, 2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
jne 0x101af444
mov ecx, esp
lea edx, [esp + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0x1023f5e4
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x10186ce0
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0x10186c30
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x10186c30
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 3
jmp 0x101af4ca
mov edx, 7
mov dword [esp], str.matches_assertion_failed:___left__right___n__left:_____n_right:___:
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
je 0x101af3cd
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, esp
lea esi, [esp + 8]
mov dword [esp + 0x38], 0x1023f5c0
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], 0x10186ce0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x10186c30
lea esi, [esp + 0x50]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 0x10186c30
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], fcn.10180c70
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 4
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.101af120
add esp, 8
ud2
Function at 0x416b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x416b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416b58
mov eax, 1
add ebx, ebx
jne 0x416b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416b70
jne 0x416b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416b70
xor ecx, ecx
sub eax, 3
jb 0x416ba0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x416c12
mov ebp, eax
add ebx, ebx
jne 0x416bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416bb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416bdc
inc ecx
add ebx, ebx
jne 0x416bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416bbd
jne 0x416bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416bbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416bfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416bed
jmp 0x416b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416bfc
add edi, ecx
jmp 0x416b5e
pop esi
mov edi, esi
mov ecx, 0x458
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x416c1a
cmp byte [edi], 5
jne 0x416c1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x416c1f
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x416c97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17168]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17248]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416c4c
mov ecx, edi
jns 0x416c7b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17250]
or eax, eax
je 0x416c91
mov dword [ebx], eax
add ebx, 4
jmp 0x416c69
call dword [esi + 0x1724c]
mov ebp, dword [esi + 0x17254]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x416ccb
sub esp, 0xffffff80
jmp 0x40b1ce
Function at 0x30030e08
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x30034158
call fcn.301dc000
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x3006bf28
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x30030bf8
cmp eax, esi
jne 0x30030beb
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x30030bfb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30030bd2
xor esi, esi
inc esi
mov eax, dword [0x3006bf24]
cmp eax, esi
jne 0x30030c0e
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x30030c49
mov eax, dword [0x3006bf24]
test eax, eax
jne 0x30030c43
mov dword [0x3006bf24], esi
push 0x30001378
push 0x3000136c
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30030c49
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x30030d20
mov dword [0x3006bbd0], esi
mov eax, dword [0x3006bf24]
cmp eax, esi
jne 0x30030c6d
push 0x30001368
push 0x30001350
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x3006bf24], 2
cmp dword [ebp - 0x1c], ebx
jne 0x30030c7a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x3006bf34], ebx
je 0x30030c9b
push 0x3006bf34
call fcn.3003143c
pop ecx
test eax, eax
je 0x30030c9b
push ebx
push 2
push ebx
call dword [0x3006bf34]
mov eax, dword [0x3006bbb8]
mov ecx, dword [sym.imp.MSVCR80.dll___winitenv]
mov dword [ecx], eax
push dword [0x3006bbb8]
push dword [0x3006bbbc]
push dword [0x3006bbb4]
call fcn.3001c6cd
add esp, 0xc
mov dword [0x3006bbcc], eax
cmp dword [0x3006bbc0], ebx
jne 0x30030d06
push eax
call dword [sym.imp.MSVCR80.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR80.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x3006bbd0], ebx
jne 0x30030d14
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x3006bbcc]
call fcn.300310c3
ret
call fcn.3003051e
jmp 0x30030bb0

Function at 0x30031694
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
inc esi
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x300316c2
xor eax, eax
jmp 0x300316ea
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x300316df
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0x10

Function at 0x300316ef
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 4
Function at 0x4053dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x415b00
cmp edx, dword [eax]
je 0x4053ff
add eax, 8
inc ecx
cmp eax, 0x415b90
jl 0x4053f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x415b00]
jne 0x40552d
mov eax, dword [0x4183ac]
cmp eax, 1
je 0x405507
test eax, eax
jne 0x405430
cmp dword [0x415634], 1
je 0x405507
cmp edx, 0xfc
je 0x40552d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405467
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004055c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004056b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4054aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004056b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x411a30
push edi
call fcn.004072c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004055c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004055d0
lea eax, [ebp - 0xa0]
push 0x411a10
push eax
call fcn.004055d0
push dword [esi + 0x415b04]
lea eax, [ebp - 0xa0]
push eax
call fcn.004055d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407237
add esp, 0x2c
pop edi
jmp 0x40552d
lea eax, [ebp + 8]
lea esi, [esi + 0x415b04]
push 0
push eax
push dword [esi]
call fcn.004056b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x40bc67
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x40bca9
call fcn.0040e9d7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x40bca9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x40bca0
xor eax, eax
jmp 0x40bcb1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0040bcb7
pop edi
pop esi
pop ebx
ret 4

Function at 0x40f0b3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40f0e1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40f0ff
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040f019
jmp 0x40f0ff
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40f0ff
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0040f019
test edi, edi
mov eax, edi
jne 0x40f0e9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001360
Capabilities:
Enumerate processes
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x10007024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0
push 2
mov dword [ebp - 0x15c], str.360Tray.exe
mov dword [ebp - 0x158], str.360Safe.exe
call edi
mov ebx, eax
mov dword [ebp - 0x154], ebx
cmp ebx, 0xffffffff
je 0x100013c6
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x100013dc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003e55
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [eax]
nop word [eax + eax]
xor esi, esi
mov dword [ebp - 0x150], esi
nop dword [eax + eax]
push dword [ebp + esi*4 - 0x15c]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100014ba
mov ebx, dword [ebp - 0x128]
push eax
push 4
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x100014ae
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x14c], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100014a3
cmp dword [ebp - 0x140], ebx
jne 0x1000148b
push dword [ebp - 0x144]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1000148b
push 0
push 0
push 0x12
push dword [ebp - 0x144]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x14c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10001451
mov esi, dword [ebp - 0x150]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
jmp 0x100014b4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
inc esi
mov dword [ebp - 0x150], esi
cmp esi, 2
jb 0x10001400
mov esi, dword [ebp - 0x154]
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100013f0
push esi
call ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003e55
mov esp, ebp
pop ebp
ret
Function at 0x10001500
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10007024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
mov ebx, ecx
push 2
mov dword [ebp - 0x23c], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x238], esi
cmp esi, 0xffffffff
je 0x10001557
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x10001569
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003e55
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x231], 0
push edi
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001580
sub eax, edx
mov edi, ebx
sar eax, 1
cmp dword [ebx + 0x14], 8
jb 0x10001599
mov edi, dword [ebx]
mov ebx, dword [ebx + 0x10]
lea edx, [ebp - 0x20c]
cmp eax, ebx
mov esi, ebx
cmovb esi, eax
test esi, esi
je 0x100015c2
mov ecx, edx
sub edi, ecx
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x100015c8
add edx, 2
sub esi, 1
jne 0x100015b1
cmp ebx, eax
jb 0x100015c8
jbe 0x100015e8
mov esi, dword [ebp - 0x238]
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x100015f5
mov ebx, dword [ebp - 0x23c]
jmp 0x10001571
mov esi, dword [ebp - 0x238]
mov byte [ebp - 0x231], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x231]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10003e55
mov esp, ebp
pop ebp
ret
Function at 0x10001620
Capabilities:
Create http request
Delete file
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10024
call fcn.10004bb0
mov eax, dword [0x10007024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_6.1__Trident_4.0_
mov esi, edx
mov edi, ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
je 0x10001773
movups xmm0, xmmword [str.Accept:___r_n_r_n]
lea ecx, [ebp - 0x14]
lea edx, [ecx + 1]
movups xmmword [ebp - 0x14], xmm0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001670
push 0
push 0x84000100
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x10001773
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 1
push 0
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001773
push 0
lea eax, [ebp - 0x10020]
mov dword [ebp - 0x10018], 0
push eax
lea eax, [ebp - 0x10018]
mov dword [ebp - 0x10020], 4
push eax
push 0x20000005
push edi
mov dword [ebp - 0x10024], 0
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
neg eax
sbb eax, eax
and dword [ebp - 0x10018], eax
lea eax, [ebp - 0x1001c]
push eax
push 0x4000
lea eax, [ebp - 0x10014]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10001764
mov eax, dword [ebp - 0x1001c]
test eax, eax
je 0x10001786
push 0
lea ecx, [ebp - 0x10024]
push ecx
push eax
lea eax, [ebp - 0x10014]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x1001c]
push eax
push 0x4000
lea eax, [ebp - 0x10014]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10001724
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003e55
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003e55
mov esp, ebp
pop ebp
ret
Function at 0x4bf3a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x87000]
push edi
jmp 0x4bf3ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bf3c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bf3b0
mov eax, 1
add ebx, ebx
jne 0x4bf3d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bf3e4
jne 0x4bf403
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bf403
dec eax
add ebx, ebx
jne 0x4bf3f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bf3c8
add ebx, ebx
jne 0x4bf3ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bf455
xor ecx, ecx
sub eax, 3
jb 0x4bf41b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bf48a
sar eax, 1
mov ebp, eax
jmp 0x4bf426
add ebx, ebx
jne 0x4bf426
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bf3f4
inc ecx
add ebx, ebx
jne 0x4bf434
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bf3f4
add ebx, ebx
jne 0x4bf441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bf436
jne 0x4bf452
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bf436
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bf474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bf466
jmp 0x4bf3b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bf474
add edi, ecx
jmp 0x4bf3b6
pop esi
mov edi, esi
mov ecx, 0x45e1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bf492
cmp byte [edi], 0xd
jne 0x4bf492
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4bf497
lea edi, [esi + 0xbc000]
mov eax, dword [edi]
or eax, eax
je 0x4bf50f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc2758]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc2888]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bf4c4
mov ecx, edi
jns 0x4bf4f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc2890]
or eax, eax
je 0x4bf509
mov dword [ebx], eax
add ebx, 4
jmp 0x4bf4e1
call dword [esi + 0xc288c]
mov ebp, dword [esi + 0xc2894]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4bf543
sub esp, 0xffffff80
jmp 0x4653c6