joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44358d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44358d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x40a63a
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov dword [ebp - 0x194], ecx
push 0
mov ecx, dword [ebp - 0x194]
call fcn.0043052a
mov eax, dword [ebp - 0x194]
mov dword [eax], vtable.MilloadApp.0
lea ecx, [ebp - 0x190]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, dword [ebp - 0x194]
mov esp, ebp
pop ebp
ret
Function at 0x40d4c6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov byte [eax + 0x1d6], 1
mov dword [ebp - 4], 0
jmp 0x40d4eb
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xf4240
jge 0x40d50a
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx + 0x1d5]
test eax, eax
je 0x40d50a
call fcn.00417b4d
jmp 0x40d4e2
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 0x1d5]
test edx, edx
je 0x40d521
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [ebp - 8]
call sub.MFC42.DLL_CDocument::OnCloseDocument
mov esp, ebp
pop ebp
ret
Function at 0x4132c5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432853
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x20], ecx
push 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
add ecx, 0x240
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CSingleLock::CSingleLock
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 8]
add ecx, 0x260
call fcn.00414880
xor edx, edx
mov dl, byte [eax + 0x30]
test edx, edx
jne 0x413346
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
call fcn.00414440
mov ecx, eax
call fcn.00414750
and eax, 0xff
test eax, eax
jne 0x413346
mov dword [ebp - 0x24], 0
jmp 0x41334d
mov dword [ebp - 0x24], 1
mov cl, byte [ebp - 0x24]
mov byte [ebp - 0x1c], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00408520
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x414520
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43291a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], 0x64
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x14], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x28], 0
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x29], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x30], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x417923
Capabilities:
Connect network resource
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
push 0x100
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
jmp 0x417961
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x20
jae 0x4179fc
cmp dword [ebp - 0xc], 1
jle 0x4179ef
mov edx, dword [ebp - 4]
and edx, dword [ebp - 0x10]
test edx, edx
jne 0x4179ef
mov ax, word [0x4413bc]
mov word [ebp - 0x34], ax
mov cl, byte [0x4413be]
mov byte [ebp - 0x32], cl
mov ecx, dword [ebp + 8]
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
mov edx, dword [ebp - 8]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0xc]
add eax, 0x41
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov edx, dword [ebp + 0xc]
mov al, byte [edx]
mov byte [ebp - 0x34], al
push 0x20
push 0
lea ecx, [ebp - 0x30]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c], 1
lea edx, [ebp - 0x34]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
jne 0x4179ef
jmp 0x4179fc
mov edx, dword [ebp - 0x10]
shl edx, 1
mov dword [ebp - 0x10], edx
jmp 0x417958
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp dword [ebp - 0xc], 0x20
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x417a1a
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432d39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
mov byte [ebp - 4], 1
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00417230
add esp, 0x10
and eax, 0xff
test eax, eax
je 0x417b06
mov eax, dword [ebp - 0x30]
and eax, 0xff
test eax, eax
je 0x417b06
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004175ec
add esp, 8
and eax, 0xff
test eax, eax
jne 0x417abd
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00417923
add esp, 8
and eax, 0xff
test eax, eax
je 0x417b06
mov dl, byte [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_]
lea eax, [ebp - 0x1c]
push eax
push 0x4413c0
lea ecx, [ebp - 0x4c]
push ecx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
call dword [0x4356b0]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp + 8]
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
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x50], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x418092
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 4], al
mov edx, dword [ebp - 4]
and edx, 0xff
test edx, edx
jne 0x4180d2
mov eax, dword [ebp + 0x10]
and eax, 0xff
test eax, eax
je 0x4180d2
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00418031
add esp, 4
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41cc6b
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x6c], 0xffffffff
jne 0x41cc9a
xor al, al
jmp 0x41cd2f
push 0x441480
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1c]
push edx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x1c]
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
lea ecx, [ebp - 0x1c]
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
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x6c]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
lea ecx, [ebp - 0x1c]
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]
cmp esi, eax
je 0x41cd18
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x6c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x6c], 0xffffffff
mov byte [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x20]
jmp 0x41cd2f
mov byte [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41ce54
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov dword [ebp - 0x208], ecx
mov eax, dword [ebp - 0x208]
cmp dword [eax + 0x6c], 0xffffffff
jne 0x41ce73
xor al, al
jmp 0x41cef0
push 0
push 0x1ff
lea ecx, [ebp - 0x200]
push ecx
mov edx, dword [ebp - 0x208]
mov eax, dword [edx + 0x6c]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
je 0x41cea9
cmp dword [ebp - 0x204], 0xffffffff
jne 0x41ceca
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx + 0x6c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x208]
mov dword [eax + 0x6c], 0xffffffff
xor al, al
jmp 0x41cef0
mov ecx, dword [ebp - 0x204]
mov byte [ebp + ecx - 0x200], 0
lea edx, [ebp - 0x200]
push edx
mov ecx, dword [ebp - 0x208]
add ecx, 0x4c
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x41d50d
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43356c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.004102c0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x28], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x30], 0
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x31], 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x34
call sub.MFC42.DLL_CEvent::CEvent
mov byte [ebp - 4], 1
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x3c
call sub.MFC42.DLL_CEvent::CEvent
mov byte [ebp - 4], 2
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x44
call sub.MFC42.DLL_CEvent::CEvent
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
mov byte [ebp - 4], 4
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x5c
call fcn.00410890
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x6c], 0xffffffff
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 4
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CSingleLock::CSingleLock
mov byte [ebp - 4], 6
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
push 0x41d45e
call sub.MFC42.DLL_AfxBeginThread
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00408520
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ebb4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
push 0x14
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x74], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0xc], eax
mov edx, 1
test edx, edx
je 0x41ed21
mov eax, dword [ebp - 0x2c]
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx + 0x20]
mov byte [ebp - 4], dl
mov eax, dword [ebp - 0x2c]
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
and ecx, 0xff
test ecx, ecx
jne 0x41ec38
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x24], 0
jne 0x41ec3d
jmp 0x41ed21
mov byte [ebp - 0x24], 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41ecb4
mov byte [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3e5
je 0x41ec84
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.0041ed60
jmp 0x41ecb4
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x41ecb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0041ed60
jmp 0x41ecb4
mov byte [ebp - 0x24], 1
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
test ecx, ecx
je 0x41ed0b
cmp dword [ebp - 0x20], 0
je 0x41ed0b
push 1
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.0041f198
mov eax, dword [ebp - 0x2c]
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
call fcn.004204e0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_PulseEvent]
mov ecx, dword [ebp - 0x2c]
add ecx, 0x28
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x20], 0
jne 0x41ed1c
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41ebf2
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2c]
add edx, 0x28
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x28
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret
Function at 0x41fbf1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x30], ecx
cmp dword [ebp + 8], 0
je 0x41fc06
cmp dword [ebp + 0xc], 0
jne 0x41fc0d
xor al, al
jmp 0x41fd39
push 0x14
push 0
lea eax, [ebp - 0x14]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 4], eax
mov byte [ebp - 0x1c], 1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41fd07
mov byte [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3e5
je 0x41fc84
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x44]
call fcn.0041ed60
jmp 0x41fd07
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041f209
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x2c]
call fcn.0041f233
mov edx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
cmp dword [ebp + 0x10], 0
je 0x41fcb8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
jmp 0x41fcbf
mov dword [ebp - 0x34], 0xffffffff
mov ecx, dword [ebp - 0x34]
push ecx
push 0
lea edx, [ebp - 0x28]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x41fd03
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x44]
call fcn.0041ed60
jmp 0x41fd07
mov byte [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0xff
test eax, eax
je 0x41fd2c
cmp dword [ebp - 0x18], 0
je 0x41fd2c
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x44]
call fcn.0041f127
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219