joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51e120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405216
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4049c0
push 0x11
lea eax, [ebp - 0x28]
xor esi, esi
push 0x42b9b8
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
push ecx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ebx, eax
mov dword [ebp - 0x34], ebx
fild dword [ebp - 0x34]
fdiv qword [0x401520]
fstp qword [ebp - 0x48]
fild dword [ebp - 0x34]
fdiv qword [0x401520]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
and eax, 0x80000001
jns 0x51e19c
dec eax
or eax, 0xfffffffe
inc eax
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fsubr qword [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
push 4
mov dword [ebp - 0x3c], eax
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0041fdf0
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x14]
sub eax, edx
mov ecx, eax
mov dl, byte [eax + esi]
mov eax, dword [ebp - 0x1c]
sub ecx, esi
xor dl, byte [eax + 2]
add ecx, ebx
mov al, byte [ecx]
xor al, dl
mov byte [ecx], al
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x14]
sub eax, edx
mov ecx, eax
sub ecx, esi
mov dl, byte [ecx + ebx - 1]
mov ecx, dword [ebp - 0x1c]
xor dl, byte [ecx + 3]
mov cl, byte [eax + esi + 1]
xor cl, dl
mov byte [eax + esi + 1], cl
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x14]
sub eax, edx
mov edx, eax
sub edx, esi
mov cl, byte [edx + ebx]
mov dl, byte [eax + esi]
xor cl, dl
mov edx, dword [ebp - 0x1c]
xor cl, byte [edx]
mov byte [eax + esi], cl
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x14]
sub eax, edx
mov ecx, eax
mov dl, byte [eax + esi + 1]
mov eax, dword [ebp - 0x1c]
sub ecx, esi
add esi, 2
xor dl, byte [eax + 1]
mov al, byte [ecx + ebx - 1]
lea ecx, [ecx + ebx - 1]
xor al, dl
mov byte [ecx], al
mov eax, dword [ebp - 0x38]
cmp esi, eax
jne 0x51e1cd
wait
push 0x51e277
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x28]
push edx
push 0
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
Function at 0x52dc70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405216
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x404ef0
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x53ab0c]
lea ecx, [ebp - 0x18]
push eax
push ecx
call ebx
mov ecx, dword [ebp - 0x18]
push 1
movsx eax, word [0x53ab10]
mov edx, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
sub eax, edx
lea esi, [eax + eax*2]
shl esi, 5
add esi, edi
inc word [esi + 0x34]
mov ax, word [esi + 0x34]
movsx edx, ax
push edx
lea edi, [esi + 0x30]
push 1
push 0x41e67c
push edi
push 0x10
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov eax, dword [edi]
add esp, 0x1c
lea ecx, [ebp - 0x14]
push eax
push ecx
call ebx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
movsx edx, word [esi + 0x34]
mov esi, dword [eax + 0x14]
mov ebx, dword [eax + 0xc]
sub edx, esi
push ecx
shl edx, 4
add edx, ebx
push edx
call fcn.0052da20
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea eax, [ebp - 0x14]
push eax
call esi
lea ecx, [ebp - 0x18]
push ecx
call esi
push 0x52dd51
jmp 0x52dd46
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x1fbe6cd6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
mov ecx, 0x601c0cba
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x468750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
jmp 0x46876a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x468771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x468760
mov eax, 1
add ebx, ebx
jne 0x468783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x468794
jne 0x4687b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4687b3
dec eax
add ebx, ebx
jne 0x4687a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x468778
add ebx, ebx
jne 0x4687af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x468805
xor ecx, ecx
sub eax, 3
jb 0x4687cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46883a
sar eax, 1
mov ebp, eax
jmp 0x4687d6
add ebx, ebx
jne 0x4687d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4687a4
inc ecx
add ebx, ebx
jne 0x4687e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4687a4
add ebx, ebx
jne 0x4687f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4687e6
jne 0x468802
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4687e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x468824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x468816
jmp 0x468766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x468824
add edi, ecx
jmp 0x468766
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x468842
cmp byte [edi], 0
jne 0x468842
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 0x468847
lea edi, [esi + 0x66000]
mov eax, dword [edi]
or eax, eax
je 0x4688b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x686a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x686dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x468874
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x686e4]
or eax, eax
je 0x4688b0
mov dword [ebx], eax
add ebx, 4
jmp 0x468891
call dword [esi + 0x686e0]
mov ebp, dword [esi + 0x686e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4688ea
sub esp, 0xffffff80
jmp 0x407c28
Function at 0x4041d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443a1c
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x467a74]
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 eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x626]
push ecx
mov word [ebp - 0x628], ax
call sub.MSVCR100.dll_memset
lea edx, [ebp - 0x628]
push 0x104
push edx
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41e]
push ecx
mov word [ebp - 0x420], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.MSVCR100.dll__snwprintf]
lea ecx, [ebp - 0x628]
push ecx
push str._sServerInfo.INI
lea edx, [ebp - 0x420]
push 0x104
push edx
call edi
add esp, 0x3c
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x44b36c
push str.UpDataAddress
push str.UpDataServer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x44bbbc
push 0x44bbb4
lea ebx, [esi + 0xb86]
push 0xff
push ebx
call edi
add esp, 0x10
cmp word [ebp - 0x218], 0
jne 0x4042e5
push str.http:__Update.5176yx.com
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
movzx ecx, word [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x44bb6c
lea eax, [esi + 0x988]
push 0xff
push eax
call edi
add esp, 0x10
lea eax, [esi + 0x988]
mov ecx, esp
mov dword [ebp - 0x62c], esp
push eax
call dword [0x44adf4]
push ecx
mov ecx, esp
mov dword [ebp - 0x630], esp
push ebx
mov dword [ebp - 4], 0
call dword [0x44adf4]
lea ecx, [esi + 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.0042d550
mov al, 1
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.00442c00
mov esp, ebp
pop ebp
ret 4
Function at 0x404370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443a67
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x467a74]
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
mov edi, ecx
lea eax, [ebp - 0x218]
push eax
xor ebx, ebx
push 0x104
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x420]
push ecx
push ebx
push 0x44bc44
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [edi + 0xe8]
call fcn.0043eaa0
push 0x44bc2c
lea eax, [edi + 0xd84]
push 0xff
push eax
call dword [sym.imp.MSVCR100.dll__snwprintf]
push 0x48
call sub.mfc100u.dll_new_1
add esp, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x404416
mov ecx, eax
call fcn.00405f10
mov esi, eax
jmp 0x404418
xor esi, esi
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x404474
mov byte [esi + 0x14], 1
mov dword [esi + 0x18], ebx
mov ecx, dword [edi + 0x20]
lea edx, [ebp + 8]
mov dword [esi + 0x28], ecx
push edx
lea ecx, [esi + 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push 0x44b36c
lea ecx, [esi + 0x2c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x44b36c
lea ecx, [esi + 0x20]
mov dword [esi + 0x3c], ebx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push esi
lea ecx, [edi + 0x73c]
call fcn.00406a20
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
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.00442c00
mov esp, ebp
pop ebp
ret 4
Function at 0x404d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443b9e
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x467a74]
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
mov edi, ecx
lea ecx, [edi + 0xc0]
call fcn.0042d3a0
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x404e7c
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x420]
push ecx
push esi
push 0x44bc44
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [edi + 0xe8]
call fcn.0043eaa0
push 0x44bdf8
lea eax, [edi + 0xd84]
push 0xff
push eax
call dword [sym.imp.MSVCR100.dll__snwprintf]
push 0x48
call sub.mfc100u.dll_new_1
add esp, 0x10
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x404e15
mov ecx, eax
call fcn.00405f10
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x404e7c
mov eax, 1
mov byte [esi + 0x14], al
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x20]
lea edx, [ebx + 8]
mov dword [esi + 0x28], ecx
push edx
lea ecx, [esi + 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
add ebx, 4
push ebx
lea ecx, [esi + 0x2c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x44b36c
lea ecx, [esi + 0x20]
mov dword [esi + 0x3c], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push esi
lea ecx, [edi + 0x73c]
call fcn.00406a20
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.00442c00
mov esp, ebp
pop ebp
ret

Function at 0x4060a0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
inc dword [esi + 0x34]
call fcn.00406c70
mov byte [esi + 0x30], 0
mov ecx, esi
pop esi
jmp 0x406d10
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x406d36
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x406cb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
je 0x406d40
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor eax, eax
cmp dword [esi + 8], eax
pop esi
setne al
ret
Function at 0x40c0f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x467a74]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0xd8], 0xffffffff
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x620], ecx
je 0x40c129
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret 4
push ebx
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call sub.MSVCR100.dll_memset
lea edx, [ebp - 0x414]
push 0x104
push edx
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call sub.MSVCR100.dll_memset
mov ebx, dword [sym.imp.MSVCR100.dll__snwprintf]
lea edx, [ebp - 0x414]
push edx
push str._sDownLoad
lea eax, [ebp - 0x20c]
push 0x104
push eax
call ebx
add esp, 0x30
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x40c1ad
cmp word [edi + esi*2], 0x2f
je 0x40c1ad
dec esi
jne 0x40c1a3
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x61a]
push edx
mov word [ebp - 0x61c], cx
call sub.MSVCR100.dll_memset
lea eax, [edi + esi*2 + 2]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x44dacc
lea edx, [ebp - 0x61c]
push 0x104
push edx
call ebx
add esp, 0x20
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x620]
mov edx, dword [ecx + 0xd4]
mov edx, dword [edx + 0x2c]
push 0
add ecx, 0xd4
push 0x1001
lea eax, [ebp - 0x61c]
push eax
call edx
mov ecx, dword [ebp - 4]
test eax, eax
pop esi
setne al
pop ebx
xor ecx, ebp
pop edi
call fcn.00442c00
mov esp, ebp
pop ebp
ret 4
Function at 0x40c590
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44479c
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x467a74]
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 eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
mov edx, dword [edi + 0xd4]
mov edx, dword [edx + 0x20]
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea ecx, [edi + 0xd4]
call edx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str..WHD
mov dword [ebp - 4], 0
call ebx
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x438], eax
call dword [sym.imp.mfc100u.dll_]
push eax
call ebx
sub eax, dword [ebp - 0x438]
xor ecx, ecx
add eax, eax
mov word [ebp + eax - 0x218], cx
push eax
lea ecx, [ebp - 0x434]
call dword [sym.imp.mfc100u.dll_]
push eax
lea edx, [ebp - 0x218]
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [edi + 0xd4]
mov edx, dword [eax + 0x58]
add esp, 0xc
lea ecx, [edi + 0xd4]
call edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 9
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x434]
call dword [sym.imp.mfc100u.dll_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
test eax, eax
jne 0x40c6a3
lea ecx, [ebp - 0x434]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor al, al
jmp 0x40c79b
cmp word [edi + 0x90], si
je 0x40c6c6
lea edx, [ebp - 0x218]
push edx
push str._s__VERYSILENT
push 0x104
lea eax, [ebp - 0x420]
push eax
jmp 0x40c6de
lea ecx, [ebp - 0x218]
push ecx
push 0x44be18
push 0x104
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.MSVCR100.dll__snwprintf]
add esp, 0x10
push 0x44
lea eax, [ebp - 0x47c]
push esi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [edi + 0xab8]
push edx
lea eax, [ebp - 0x47c]
push eax
push esi
push esi
push 0x4000000
push esi
push esi
mov ecx, 0xa
mov word [ebp - 0x44c], cx
push esi
lea ecx, [ebp - 0x420]
push ecx
push esi
mov dword [ebp - 0x47c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40c690
cmp dword [edi + 0x20], esi
jne 0x40c77b
mov eax, dword [edi + 0xab4]
mov edx, dword [edi]
mov edx, dword [edx + 0x5c]
push esi
push 0x64
push eax
lea ecx, [ebp - 0x430]
push ecx
push 0x40000000
push esi
push esi
mov ecx, edi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], esi
call edx
mov eax, dword [edi + 0x20]
push esi
push 0x64
push 0xc8
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x434]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov al, 1
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.00442c00
mov esp, ebp
pop ebp
ret
Function at 0x41d400
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x467a74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push 0xffffffffffffffff
lea ecx, [ebx + 0xa74]
push 0
call sub.mfc100u.dll_CRichEditCtrl::SetSel
mov eax, dword [ebx + 0xa94]
push 0
push 0
push 0xc2
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0xc20], 0
je 0x41d627
cmp dword [ebx + 0x1ac], 0
je 0x41d627
mov eax, dword [ebx + 0xc20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
add esp, 4
test eax, eax
jle 0x41d627
xor eax, eax
push esi
lea edx, [ebp - 0x94]
xor ecx, ecx
push edx
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
mov dword [ebp - 0xa6], eax
mov dword [ebp - 0xa2], eax
mov dword [ebp - 0x9e], eax
mov word [ebp - 0x9a], ax
mov word [ebp - 0x94], cx
mov dword [ebp - 0x92], eax
mov dword [ebp - 0x8e], eax
mov dword [ebp - 0x8a], eax
mov word [ebp - 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebx + 0xc20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0
push eax
call edx
mov esi, eax
add esp, 8
test esi, esi
je 0x41d626
push edi
jmp 0x41d4f0
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
inc dword [ebp - 0x98]
mov ecx, esi
call edx
mov edi, eax
movzx eax, word [edi]
mov dword [ebp - 0xac], eax
cmp ax, word [ebp - 0xa8]
jne 0x41d531
mov ax, word [edi + 2]
cmp ax, word [ebp - 0xa6]
jne 0x41d531
mov cx, word [edi + 6]
cmp cx, word [ebp - 0xa2]
je 0x41d5b2
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov dword [ebp - 0xa4], eax
xor eax, eax
push 0x7e
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa8], edx
mov edx, dword [edi + 0xc]
push eax
lea ecx, [ebp - 0x82]
push ecx
mov dword [ebp - 0x9c], edx
mov word [ebp - 0x84], ax
call sub.MSVCR100.dll_memset
movzx edx, word [edi + 6]
movzx eax, word [edi + 2]
movzx ecx, word [ebp - 0xac]
push edx
push eax
push ecx
push 0x451cc0
lea edx, [ebp - 0x84]
push 0x40
push edx
call dword [sym.imp.MSVCR100.dll__snwprintf]
mov eax, dword [ebx + 0xaec]
mov eax, dword [eax + 0x28]
add esp, 0x24
lea ecx, [ebx + 0xaec]
push 0x7d7d7d
lea edx, [ebp - 0x84]
push edx
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov edi, dword [ebx + 0xa74]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
push eax
push esi
call edx
mov ecx, dword [esi]
mov edx, dword [ecx + 0x14]
movzx eax, al
add esp, 4
push eax
push esi
call edx
add esp, 4
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
push esi
call ecx
mov edx, dword [esi]
add esp, 4
push eax
mov eax, dword [edx + 0xc]
push esi
call eax
mov edx, dword [edi + 0x168]
add esp, 4
push eax
lea ecx, [ebx + 0xa74]
call edx
mov eax, dword [ebx + 0xc20]
mov edx, dword [ebp - 0x98]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d4f0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00442c00
mov esp, ebp
pop ebp
ret
Function at 0x41f2d0
Capabilities:
Enumerate processes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x467a74]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.Kernel32.dll
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x41f315
push str.Load_dll_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret
push str.CreateToolhelp32Snapshot
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x238], eax
test eax, eax
jne 0x41f349
push str.Get_Proc_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret
push 0
push 2
call dword [ebp - 0x238]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push ecx
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41f3c1
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push str.explorer.exe
lea edx, [ebp - 0x20c]
push edx
call esi
test eax, eax
je 0x41f3bb
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41f380
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00442c00
mov esp, ebp
pop ebp
ret

Function at 0x41f470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41f4cc
push 0x44
lea eax, [ebp - 0x54]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, 1
push esi
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], cx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41f4d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4