joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4186b8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4186b8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4186b8
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4186c1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4186e3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
push eax
call fcn.00460860
add esp, 0xc
mov dword [ebp + 8], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
xor edi, edi
test eax, eax
je 0x41870b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x418750
mov ebx, dword [ebp + 8]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x41874e
lea eax, [ebp - 4]
mov dword [edi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
jmp 0x418750
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x418764
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x41879a
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], 0
push dword [ebp + 0xc]
movzx eax, word [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4188ae
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x4187ce
xor esi, esi
jmp 0x4188ad
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4188ad
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x418805
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x4188ad
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x418825
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x4188ad
push dword [ebp + 8]
push esi
push eax
call fcn.00460860
add esp, 0xc
mov dword [ebp + 0xc], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0xc]
xor esi, esi
test eax, eax
je 0x41884f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0xc]
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x418899
mov eax, dword [ebp + 0xc]
push 0x10
mov dword [ebp - 4], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x418897
lea eax, [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push dword [ebp - 4]
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x418899
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4188ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
mov dword [edi + 4], esi
test esi, esi
jne 0x4188bf
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x4188d9
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [edi + 4]
mov dword [edi + 8], eax
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x4188fc
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [edi + 0xc], eax
call fcn.004185f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41d450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4330
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4e64ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x30]
or eax, 0xffffffff
mov dword [ecx], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d493
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x41d4b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4350
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4e64ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
mov dword [esi], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d4f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x41d507
push 0x44
push esi
call fcn.0045b4e9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41d7c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4378
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e64ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
add ebx, 0x30
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x41d812
cmp ecx, dword [esi]
jne 0x41d812
lock inc dword [eax]
jmp 0x41d840
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x41d9a0
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi]
inc eax
push eax
push dword [ebp - 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00409a90
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x41d926
mov edi, ecx
lea edx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x41d860
sub edi, edx
sar edi, 1
je 0x41d926
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x14], eax
mov eax, ecx
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
test edi, edi
js 0x41d9a5
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x41d8a9
push edi
mov ecx, ebx
call fcn.0040aa80
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
ja 0x41d8fe
lea ecx, [edi + edi]
lea eax, [edx + eax*2]
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x41d90e
test eax, eax
jne 0x41d8d4
call fcn.0046b8ce
mov dword [eax], 0x16
call fcn.0046b7a8
jmp 0x41d90e
mov eax, dword [edx - 8]
add eax, eax
cmp eax, ecx
jae 0x41d8ef
call fcn.0046b8ce
mov dword [eax], 0x22
call fcn.0046b7a8
jmp 0x41d90e
push ecx
push dword [ebp + 0xc]
push edx
call fcn.00460de0
add esp, 0xc
jmp 0x41d90e
push edi
push dword [ebp + 0xc]
push dword [edx - 8]
push edx
call fcn.00409a90
add esp, 0x10
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x41d9a5
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
jmp 0x41d92d
mov ecx, ebx
call fcn.0041d540
mov eax, dword [ebx]
test eax, eax
je 0x41d9af
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41d95b
test dx, dx
je 0x41d957
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41d95b
add ecx, 4
add eax, 4
test dx, dx
jne 0x41d935
xor eax, eax
jmp 0x41d960
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d96d
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41d98c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0040acf0
push 0x80070057
call fcn.004099e0
push 0x80004005
call fcn.004099e0
int3
Function at 0x41f800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4667
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e64ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x4bbfa0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x50], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
push 0
lea esi, [edi + 4]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], 1
call fcn.0040e090
mov eax, dword [edi]
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0045b947
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41f8aa
push 1
mov byte [ebp - 4], 2
call fcn.0042f30a
add esp, 4
mov dword [ebx + 4], eax
jmp 0x41f8ac
xor ebx, ebx
lea eax, [esi + 4]
mov dword [esi + 0x34], ebx
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420150
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4786
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x4e64ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.00461360
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.00409ca0
mov ecx, eax
test ecx, ecx
je 0x42034a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x420205
movzx eax, ax
lea ecx, [ebp - 0x41c]
push eax
call fcn.0040a8d0
jmp 0x420232
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420210
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x41c]
call fcn.0040abc0
push str.logComputerZ_HardwareDll.log
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420309
push 0x200
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.00461360
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x100
push eax
call fcn.00454ef0
push 5
push str.log_
lea ecx, [ebp - 0x41c]
call fcn.00409930
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4202a2
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x41c]
call fcn.00409930
push 4
push str..log
lea ecx, [ebp - 0x41c]
call fcn.00409930
push 0
push dword [ebp - 0x41c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x420309
lea eax, [ebp - 0x41c]
mov ecx, edi
push eax
call fcn.0042c960
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x41c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42032e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b907
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004099e0
int3
Function at 0x423a10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov byte [esi + 0x68], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x423a51
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.004256d0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x423ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e64ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x423d81
cmp byte [esi + 0x3d], 0
je 0x423d81
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x423d37
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x423d49
sub eax, 1
je 0x423d4d
sub eax, 2
je 0x423d81
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b907
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x423d6a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0048f451
add esp, 0x10
cmp edi, eax
jne 0x423d37
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b907
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0045b907
mov esp, ebp
pop ebp
ret
Function at 0x426d30
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4f38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e64ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426d78
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0x80
push 3
push 1
push SysReAllocString
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.00426c90
mov esi, dword [ebp - 0x20]
test eax, eax
js 0x426eb5
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, 0xffffffff
jne 0x426dd8
call fcn.004107a0
test eax, eax
js 0x426eb5
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
test eax, eax
jb 0x426eb5
ja 0x426eb5
test ebx, ebx
je 0x426eb5
test eax, eax
ja 0x426eb5
jb 0x426e07
cmp ebx, 0x500000
jae 0x426eb5
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
cmp ebx, edx
ja 0x426e24
mov dword [edi + 0x10], ebx
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x426e1e
mov eax, dword [edi]
mov byte [eax + ebx], 0
jmp 0x426e71
mov eax, dword [edi + 0x14]
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x10], eax
sub eax, edx
mov dword [ebp - 0x14], ecx
cmp ecx, eax
ja 0x426e5f
cmp dword [ebp - 0x10], 0x10
mov eax, edi
mov dword [edi + 0x10], ebx
jb 0x426e44
mov eax, dword [edi]
push ecx
lea esi, [eax + edx]
push 0
push esi
call fcn.00461360
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 0x20]
jmp 0x426e71
push 0
push ecx
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.00426b20
cmp dword [edi + 0x14], 0x10
jb 0x426e79
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x426ea1
call fcn.004107a0
mov esi, eax
not esi
shr esi, 0x1f
jmp 0x426eb7
xor esi, esi
mov eax, 0x80070026
cmp dword [ebp - 0x10], ebx
cmovne esi, eax
not esi
shr esi, 0x1f
jmp 0x426eb7
xor esi, esi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x426ec5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4271f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e64ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 2
mov dword [ebp - 0x234], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x427256
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00461360
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x427267
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b907
mov esp, ebp
pop ebp
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x238], eax
cmp eax, dword [ebp - 0x228]
je 0x4272a4
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x4272a4
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
call fcn.0048ed0f
add esp, 8
test eax, eax
je 0x4272bd
add esi, 4
cmp esi, dword [edi + 4]
jne 0x427287
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x4272c7
mov eax, dword [ebp - 0x238]
jmp 0x427278
mov dword [ebp - 0x234], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0045b907
mov esp, ebp
pop ebp
ret
Function at 0x4289b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x4289da
mov eax, dword [esi + 0x48]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x428a06
push 1
mov ecx, esi
call fcn.004284d0
pop esi
pop ebp
ret 8
cmp dword [esi + 0x2c], 0
push edi
je 0x4289e6
mov edi, dword [esi + 0x34]
jmp 0x4289e9
mov edi, dword [esi + 0x30]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x428a05
test edi, edi
je 0x428a05
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8

Function at 0x428a10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
je 0x428a41
mov eax, dword [esi + 0x24]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x428a6d
push 1
lea ecx, [esi - 0x24]
call fcn.004284d0
mov eax, 1
pop esi
pop ebp
ret 0xc
cmp dword [esi + 8], 0
push edi
je 0x428a4d
mov edi, dword [esi + 0x10]
jmp 0x428a50
mov edi, dword [esi + 0xc]
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x428a6c
test edi, edi
je 0x428a6c
push 0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc
Function at 0x44c100
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b810b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4e64ec]
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
cmp dword [edi + 0x20], 8
lea esi, [edi + 0xc]
jb 0x44c13b
mov esi, dword [esi]
push 0x180
push 0x40
push 0x8101
lea ebx, [edi + 0x24]
push esi
push ebx
call fcn.004967cb
add esp, 0x14
mov dword [ebp - 0xac], eax
test eax, eax
je 0x44c20c
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00461360
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
push 2
call fcn.0044abd0
push 0x4c61e8
push dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push str._error.__
push esi
push str.open
push eax
call fcn.0040d9d0
add esp, 8
push eax
call fcn.0040d9d0
add esp, 8
push eax
call fcn.0040d9d0
add esp, 8
mov ecx, eax
call fcn.0040f6f0
push eax
call fcn.0040d9d0
add esp, 8
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xa8]
push eax
call fcn.0044c260
cmp dword [eax + 0x14], 8
jb 0x44c1ef
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xc4]
call fcn.0040ef70
lea ecx, [ebp - 0xa8]
call fcn.0040f980
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x44c225
push 2
push 0
push eax
call fcn.00496e21
add esp, 0xc
mov dword [edi + 4], eax
jmp 0x44c22c
mov dword [edi + 4], 0xffffffff
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.0045b907
mov esp, ebp
pop ebp
ret