joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4149b0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fc18
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00416a50
fstp qword [ebp - 0x80]
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x1b
mov eax, str.setInitMemoryPercentOfTotal
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.004040e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x414a1b
lea eax, [ebp - 0x2c]
mov ecx, dword [0x458868]
push eax
push str.INFO
call fcn.00404920
cmp dword [ebp - 0x18], esi
jb 0x414a3d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00427715
add esp, 4
fldz
fld qword [ebp - 0x80]
fcom st(1)
fnstsw ax
fld qword [0x44cfd8]
test ah, 5
jp 0x414a5a
fstp st(1)
fstp st(0)
fstp qword [ebp - 0x80]
jmp 0x414a67
fstp st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x414a55
fstp st(0)
lea edx, [ebp - 0x70]
push edx
mov dword [ebp - 0x70], 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
shrd ecx, eax, 0xa
mov dword [ebp - 0x78], ecx
shr eax, 0xa
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x74], eax
and ecx, 0x80000000
fild qword [ebp - 0x78]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], 0
fild qword [ebp - 0x78]
fchs
faddp st(1)
fmul qword [ebp - 0x80]
fdiv qword [0x44cfd8]
call fcn.0043e8c0
mov dword [edi + 0x200], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004276fb
mov esp, ebp
pop ebp
ret
Function at 0x418e60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ebeb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45407c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0043c183
push 4
mov dword [ebp - 4], 0
call fcn.00427771
mov edi, eax
add esp, 4
test edi, edi
je 0x418edc
call fcn.0043c05b
mov dword [edi], eax
call fcn.0043be1a
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0043c144
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x418ed2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0043c16c
jmp 0x418ede
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 4
Function at 0x41e850
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f598
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x45407c]
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 eax, dword [ebp + 8]
mov esi, ecx
mov ebx, edx
push esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e933
test al, 0x10
jne 0x41e933
push 0x2800
call fcn.0042770a
mov ebx, eax
add esp, 4
lea edi, [ebp - 0x3c]
mov eax, esi
mov dword [ebp - 0x38], ebx
call fcn.00406070
mov edi, dword [ebp - 0x3c]
push str.ru_megamakc_core_JavaArch.class
push edi
call fcn.004286e0
add esp, 8
test eax, eax
je 0x41e91e
push edi
call fcn.00427715
mov ecx, dword [ebp - 0x34]
add esp, 4
push esi
push ecx
push str.__s_binjavaw.exe___classpath___s__ru.megamakc.core.JavaArch
push 0x1400
push ebx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push ebx
mov ebx, dword [ebp - 0x30]
mov ecx, 1
call fcn.00405cd0
mov edx, dword [ebp - 0x38]
push edx
mov esi, eax
call fcn.00427715
xor eax, eax
add esp, 0xc
cmp esi, 0x40
setne al
jmp 0x41e9a7
mov ecx, dword [ebp - 0x30]
push str.JavaArch.class_not_found
push str.INFO
call fcn.00404920
push edi
jmp 0x41e99d
xor edi, edi
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e950
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x2c]
call fcn.004040e0
push 0xa
mov eax, str._not_found
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00403db0
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x41e987
mov eax, dword [eax]
push eax
push str.INFO
mov ecx, ebx
call fcn.00404920
cmp dword [ebp - 0x18], esi
jb 0x41e9a5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00427715
add esp, 4
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.004276fb
mov esp, ebp
pop ebp
ret
Function at 0x421bd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
test esi, esi
je 0x421c93
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
test edi, edi
je 0x421c93
push esi
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x421c93
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x421c8c
push esi
push edi
push eax
call fcn.0042bff0
add esp, 0xc
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x421c85
mov ecx, dword [ebp - 4]
push ecx
call fcn.00421b90
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi]
cmp eax, edi
je 0x421c85
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
cmp ecx, edi
jne 0x421c75
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
cmp ecx, edi
je 0x421c83
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421ec0
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0x4472c4
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
push ebx
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x4474c8
push esi
call fcn.004235c0
add esp, 0x1c
lea ecx, [ebp - 0x210]
push ecx
push 0
push eax
push 0x421df0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004276fb
mov esp, ebp
pop ebp
ret

Function at 0x4220c0
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
add ecx, 0x224
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x423330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423340
push ebx
sub eax, edx
sar eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 1]
push edi
call fcn.0042770a
push ebx
mov esi, eax
push 0
push esi
call fcn.0042bf70
add esp, 0x10
test edi, edi
je 0x42339b
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
cmp eax, edi
jae 0x423391
mov byte [eax + esi], 0
jmp 0x42339b
cmp byte [edi + esi - 1], 0
je 0x42339b
mov byte [esi], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4233a0
sub eax, edx
push 0
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call fcn.00427715
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x423510
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov ecx, dword [edi + 0x204]
xor ebx, ebx
cmp ecx, ebx
je 0x423534
push str.httpget_start_asynch_loading
push str.INFO
call fcn.00404920
mov ecx, dword [edi + 0x204]
cmp ecx, ebx
je 0x42354f
mov eax, dword [edi + 0x20c]
push eax
push str.INFO
call fcn.00404920
push 0x20
call fcn.00427771
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x42359d
push 0x200
mov dword [esi], edi
mov edi, dword [sym.imp.KERNEL32.DLL_LocalAlloc]
push 0x40
mov byte [esi + 8], bl
mov dword [esi + 4], ebx
call edi
push 0x200
push 0x40
mov dword [esi + 0x14], eax
call edi
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
xor edx, edx
mov word [ecx], dx
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x1c], bl
jmp 0x42359f
xor esi, esi
lea edx, [ebp - 4]
push edx
push ebx
push esi
push 0x4234a0
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424260
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f508
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push 1
push 3
push edi
push 1
mov ebx, ecx
push SysReAllocString
push ebx
mov dword [ebp - 0x90], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
mov dword [ebp - 0x94], esi
cmp esi, 0xffffffff
je 0x4243b6
push 0x40000
call fcn.0042770a
add esp, 4
push edi
lea ecx, [ebp - 0x90]
push ecx
push 0x40000
mov ebx, eax
push ebx
push esi
mov dword [ebp - 0x8c], 0x67452301
mov dword [ebp - 0x88], 0xefcdab89
mov dword [ebp - 0x84], 0x98badcfe
mov dword [ebp - 0x80], 0x10325476
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4243a2
jmp 0x424320
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x424356
push eax
push ebx
lea eax, [ebp - 0x8c]
call fcn.00426e70
add esp, 8
push 0
lea edx, [ebp - 0x90]
push edx
push 0x40000
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x424320
jmp 0x4243a2
push 0x200
call fcn.0042770a
mov edi, eax
lea ecx, [ebp - 0x24]
add esp, 4
xor eax, eax
push ecx
lea esi, [ebp - 0x8c]
mov word [edi], ax
call fcn.00426f80
add esp, 4
xor esi, esi
mov edi, edi
movzx edx, byte [ebp + esi - 0x24]
push edx
push edi
push str._s_02x
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
inc esi
add esp, 0x10
cmp esi, 0x10
jb 0x424380
mov esi, dword [ebp - 0x94]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call fcn.00427715
add esp, 4
mov eax, edi
jmp 0x42442b
xor eax, eax
mov word [ebp - 0x30], ax
push 0x10
mov eax, str.Cant_open_file
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
call fcn.004040e0
mov eax, ebx
mov dword [ebp - 4], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4243e1
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [ebp - 0x30]
call fcn.00403db0
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x424407
mov eax, dword [eax]
mov ecx, dword [ebp - 0x90]
push eax
push str.ERROR
call fcn.00404920
cmp dword [ebp - 0x1c], esi
jb 0x424429
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00427715
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004276fb
mov esp, ebp
pop ebp
ret
Function at 0x4246c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x4246d8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x42470a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x424706
cmp esi, eax
jae 0x42470a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4246f8
cmp esi, eax
jb 0x424710
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x4276fb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45407c]
jne 0x427705
repz ret
jmp fcn.00429508

Function at 0x4301f2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042a3e5
and dword [ebp - 0x14], 0
cmp dword [0x458530], 0
mov dword [ebp - 0x18], eax
jne 0x4302a5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43034d
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x444e0c
push ebx
call edi
test eax, eax
je 0x43034d
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x458530], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x458534], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x458538], eax
call edi
push eax
call esi
mov dword [0x458540], eax
test eax, eax
je 0x4302a5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45853c], eax
mov eax, dword [0x45853c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x4302fe
cmp dword [0x458540], ecx
je 0x4302fe
push eax
call esi
push dword [0x458540]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4302fe
test ebx, ebx
je 0x4302fe
call edi
test eax, eax
je 0x4302f5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4302f5
test byte [ebp - 8], 1
jne 0x4302fe
or dword [ebp + 0x10], 0x200000
jmp 0x430331
mov eax, dword [0x458534]
cmp eax, dword [ebp - 0x18]
je 0x430331
push eax
call esi
test eax, eax
je 0x430331
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x430331
mov eax, dword [0x458538]
cmp eax, dword [ebp - 0x18]
je 0x430331
push eax
call esi
test eax, eax
je 0x430331
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x458530]
call esi
test eax, eax
je 0x43034d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43034f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004276fb
leave
ret
Function at 0x401037
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x42e608]
mov dword [ebp - 0x28], eax
mov eax, dword [0x42e60c]
xor ebx, ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.00401030
mov eax, dword [0x42e610]
add dword [ebp - 0x14], 0x23f
mov dword [ebp - 0x30], eax
mov eax, dword [0x42e614]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x1a1f1cc], 0xc
mov dword [ebp - 4], eax
jne 0x4010b9
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x43c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov eax, dword [0x1a1f1cc]
cmp eax, 0xfa9
jne 0x4010d5
mov dword [0x1a1f1c8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ed
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x1a1f11c], ebx
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1a1f1c4], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1a1f1cc], 0xc
mov dword [ebp - 4], eax
jne 0x40114e
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], 0x61c88647
sub edi, eax
dec dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
jne 0x401089
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x40693e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d7a0]
jne 0x406948
repz ret
jmp fcn.0040b95e

Function at 0x40b1f2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406a3c
and dword [ebp - 4], 0
cmp dword [0x437698], 0
mov ebx, eax
jne 0x40b2a3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b354
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b354
push eax
call fcn.004069ca
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x437698], eax
call esi
push eax
call fcn.004069ca
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43769c], eax
call esi
push eax
call fcn.004069ca
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4376a0], eax
call esi
push eax
call fcn.004069ca
pop ecx
mov dword [0x4376a8], eax
test eax, eax
je 0x40b2a3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004069ca
pop ecx
mov dword [0x4376a4], eax
mov eax, dword [0x4376a4]
cmp eax, ebx
je 0x40b2fb
cmp dword [0x4376a8], ebx
je 0x40b2fb
push eax
call fcn.00406a45
push dword [0x4376a8]
mov esi, eax
call fcn.00406a45
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b2fb
test edi, edi
je 0x40b2fb
call esi
test eax, eax
je 0x40b2f2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b2f2
test byte [ebp - 0xc], 1
jne 0x40b2fb
or dword [ebp + 0x10], 0x200000
jmp 0x40b334
mov eax, dword [0x43769c]
cmp eax, ebx
je 0x40b334
push eax
call fcn.00406a45
pop ecx
test eax, eax
je 0x40b334
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b334
mov eax, dword [0x4376a0]
cmp eax, ebx
je 0x40b334
push eax
call fcn.00406a45
pop ecx
test eax, eax
je 0x40b334
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x437698]
call fcn.00406a45
pop ecx
test eax, eax
je 0x40b354
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b356
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1005af4
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1005b2f
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1005b16
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1005b27
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1005b31
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1005b0c
xor eax, eax
pop edi
pop esi
ret

Function at 0x1005e9e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.01005ac4
push eax
push esi
push dword [ebp + 8]
call fcn.01005a79
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.01005ac4
push eax
push esi
push dword [ebp + 8]
call fcn.01005a79
add esp, 0x30
mov dword [ebp - 0xb8], eax
invalid

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219