joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62366b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.google::protobuf::MessageLite.0
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.google::protobuf::Message.0
mov dword [ebp - 4], 1
lea ecx, [esi + 4]
mov dword [esi], vtable.QMProto::_ShowSetupWindow_R.0
call fcn.00609540
mov byte [ebp - 4], 2
mov eax, 0x6aceb0
mov dword [esi + 0x2c], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4329d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62366b
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.google::protobuf::MessageLite.0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.google::protobuf::Message.0
mov dword [ebp - 4], 1
lea ecx, [esi + 4]
mov dword [esi], vtable.QMProto::_MacroInfo.0
call fcn.00609540
mov byte [ebp - 4], 2
mov eax, 0x6aceb0
mov dword [esi + 0x64], ebx
mov word [esi + 8], bx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x448aa0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.00551e50
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edx
push 0x400
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0054e21b
add esp, 0x20
lea ecx, [ebp - 0x404]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
Function at 0x44b6b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
push eax
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x70]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
call fcn.0044c500
add esp, 4
mov ecx, esi
lea ebx, [ebp - 0x14]
call fcn.0044c5c0
mov dword [ebp - 0x74], 0
lea eax, [edi + 0x13]
mov di, word [ebp - 0x74]
mov ecx, 0x10
lea esi, [ebp - 5]
mov edi, edi
movzx edx, byte [eax]
movzx ebx, byte [esi]
add dx, bx
add di, dx
mov word [ebp - 0x74], di
mov dl, byte [ebp - 0x74]
mov byte [eax], dl
add ecx, 0xffff
shr di, 8
dec esi
dec eax
test cx, cx
jne 0x44b720
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx]
mov edx, dword [ebp + 0xc]
cmp eax, edx
jae 0x44b76b
mov dword [ecx], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
sub eax, edx
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0054cec4
mov esp, ebp
pop ebp
ret

Function at 0x44b790
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x6aab00]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp dword [ebx], 0
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
je 0x44b7d0
mov eax, 0x408
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp + 0xc]
jae 0x44b886
mov ecx, 0xfffffffd
sub ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, ebx
sub ecx, eax
add ecx, 0x28
mov edi, eax
test eax, eax
je 0x44b809
mov esi, dword [esp + 0xc]
sub esi, ecx
lea ebx, [ebx]
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
dec edi
jne 0x44b800
sub dword [ebp + 0xc], eax
add dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
lea eax, [ebx + 4]
push eax
mov eax, 0x10
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.0044c500
add esp, 4
mov ecx, esi
add ebx, 0x18
call fcn.0044c5c0
mov ecx, dword [esp + 0x10]
mov eax, 0x10
add ecx, 0x13
mov dl, byte [ecx]
lea ebx, [edx + 1]
mov byte [ecx], bl
test dl, dl
jne 0x44b879
mov edx, dword [esp + 0x14]
dec ecx
add edx, ecx
jne 0x44b865
mov ebx, dword [esp + 0x10]
cmp dword [ebp + 0xc], eax
ja 0x44b7e7
mov edi, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, eax
add ecx, 0x28
test edi, edi
je 0x44b8a9
mov esi, dword [esp + 0xc]
sub esi, ecx
lea ebx, [ebx]
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
dec edi
jne 0x44b8a0
sub eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x74]
pop edi
mov dword [ebx + 0x14], eax
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
Function at 0x45905e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4590a5
call fcn.0045168a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4590a5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4590c1
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00458b63
mov esi, eax
test edi, edi
je 0x4590bf
test ebx, ebx
je 0x4590bf
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45989b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x614ddf
call fcn.0055191c
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4598c0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x459912
call fcn.0044ce39
push eax
lea ecx, [ebp - 0x10]
call fcn.00401ba0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00551a26
push eax
call fcn.00402fd0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401bd0
mov eax, esi
call fcn.005519f4
ret 8

Function at 0x45d9a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0045168a
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45d9d9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0045d5e2
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x45da37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x45da5b
cmp dword [edi + 0x74], 0
jne 0x45da5b
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0045168a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0045d9f8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x462390
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4623bb
call fcn.0045168a
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x4623de
push eax
push dword [esi + 4]
call fcn.00462316
push esi
push eax
mov ecx, 0x6b3f58
call fcn.00461fbf
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x46f697
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x46f6df
call fcn.0045168a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46f6df
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x46f722
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x46f70b
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x46f70b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x46f71f
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4a04c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4a04dc
call fcn.0045168a
mov esi, dword [eax + 0xc]
push dword [0x6b5aa8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4a04fa
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4a04f2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4a0527
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4a04f4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004a03f0
mov esi, eax
jmp 0x4a0519

Function at 0x4b11ba
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004b0e79
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4b1204
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0044e69f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004059a0
jmp 0x4b120f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004755c4
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4b1215
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0045916a
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4b1252
call fcn.004b0e79
mov dword [esi + 0xc], 1
jmp 0x4b1257
call fcn.004b0e79
cmp dword [esi], 0
je 0x4b12a0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x4b1278
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0044e69f
jmp 0x4b128a
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004019f0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004059a0
jmp 0x4b12c4
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4b12c4
push dword [esi]
push dword [ebp + 8]
call fcn.004755c4
pop esi
pop ebp
ret 0xc

Function at 0x4b4040
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00529efc
call fcn.004510a7
cmp dword [eax + 0x14], 0
jne 0x4b405d
mov ecx, esi
pop esi
jmp fcn.004b3b45
pop esi
ret
Function at 0x4b73fc
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0052eb21
call fcn.004510a7
cmp dword [eax + 0x14], 0
jne 0x4b7419
mov ecx, esi
pop esi
jmp fcn.004b6dcf
pop esi
ret

Function at 0x52fca2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x52fcba
mov edi, dword [esi + 0xc]
jmp 0x52fcfa
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x52fcd3
call fcn.0045a663
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x52fce8
call fcn.0045a663
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x52fcfa
call fcn.0045a663
call fcn.0045168a
cmp dword [eax + 0x3c], 0
je 0x52fd0f
push edi
mov ecx, ebx
call fcn.0052ead5
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0052fbbc
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x52fd2d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x52fd39
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x54cec4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6aab00]
jne 0x54cece
repz ret
jmp fcn.00556644
Function at 0x565637
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6aab00]
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.005585b8
and dword [ebp - 0x14], 0
cmp dword [0x6b86ac], 0
mov dword [ebp - 0x18], eax
jne 0x5656ea
push 0x633b20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x565792
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x565792
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x653d48
push ebx
mov dword [0x6b86ac], eax
call edi
push eax
call esi
push 0x653d34
push ebx
mov dword [0x6b86b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6b86b4], eax
call edi
push eax
call esi
mov dword [0x6b86bc], eax
test eax, eax
je 0x5656ea
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6b86b8], eax
mov eax, dword [0x6b86b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x565743
cmp dword [0x6b86bc], ecx
je 0x565743
push eax
call esi
push dword [0x6b86bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x565743
test ebx, ebx
je 0x565743
call edi
test eax, eax
je 0x56573a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x56573a
test byte [ebp - 8], 1
jne 0x565743
or dword [ebp + 0x10], 0x200000
jmp 0x565776
mov eax, dword [0x6b86b0]
cmp eax, dword [ebp - 0x18]
je 0x565776
push eax
call esi
test eax, eax
je 0x565776
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x565776
mov eax, dword [0x6b86b4]
cmp eax, dword [ebp - 0x18]
je 0x565776
push eax
call esi
test eax, eax
je 0x565776
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6b86ac]
call esi
test eax, eax
je 0x565792
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x565794
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054cec4
leave
ret
Function at 0x576620
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616d7b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00608e68
push 4
mov dword [ebp - 4], 0
call fcn.0044cd98
mov edi, eax
add esp, 4
test edi, edi
je 0x5766a0
call fcn.0056b676
mov dword [edi], eax
call fcn.0056b435
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0056b36a
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x576696
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0056b392
jmp 0x5766a2
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
Function at 0x58a750
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 0x260]
cmp dword [eax - 0xc], 0
je 0x58a770
push 1
push 0
push 0
push eax
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, 1
ret
Function at 0x5979f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x597a15
cmp eax, esi
jge 0x597a0d
mov edx, edi
call fcn.005972e0
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
mov esi, dword [edi + 8]
xor eax, eax
test esi, esi
jle 0x597a42
mov ecx, dword [edi + 0xc]
push ebx
mov dl, byte [edi + 0xc]
sub esi, 8
mov byte [ebp + eax - 4], dl
shr ecx, 8
mov ebx, esi
inc eax
mov dword [edi + 0xc], ecx
test ebx, ebx
jg 0x597a22
mov dword [edi + 8], ebx
pop ebx
cmp eax, 4
jge 0x597a61
mov esi, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, esi
jb 0x597a4f
xor ecx, ecx
jmp 0x597a57
mov dl, byte [ecx]
inc ecx
mov dword [edi], ecx
movzx ecx, dl
mov byte [ebp + eax - 4], cl
inc eax
cmp eax, 4
jl 0x597a45
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 2]
movzx esi, ah
movzx eax, al
shl esi, 8
add esi, eax
shl ecx, 8
mov eax, esi
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x597a97
mov eax, str.zlib_corrupt
call fcn.005945e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
add ecx, esi
cmp ecx, dword [edi + 4]
jbe 0x597ab0
mov eax, str.read_past_buffer
call fcn.005945e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x10]
add edx, esi
cmp edx, dword [edi + 0x18]
jbe 0x597acb
mov ecx, esi
call fcn.00597320
test eax, eax
jne 0x597acb
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, dword [edi + 0x10]
push esi
push eax
push ecx
call fcn.005544a0
add dword [edi], esi
add esp, 0xc
add dword [edi + 0x10], esi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x59cc50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
cmp byte [ebp + 0xc], 0
mov edi, ecx
je 0x59cc8b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x5a3430
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a402
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], ecx
je 0x5a348d
lea eax, [ebx + 0x60]
mov dword [ebx], 0x65aea4
mov dword [ebp + 8], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], ecx
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
call fcn.00575dc0
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.00576c40
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x5a34d9
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.004041b0
mov dword [ebp - 4], 4
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp + 8], esi
call fcn.00576620
mov byte [ebp - 4], 5
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x6baa84]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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