joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e80
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x28
mov ecx, dword [0x411334]
push ebx
push esi
push edi
push ebp
push 0xf1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleNlsMode]
push eax
mov ecx, dword [0x411334]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
mov dword [esp + 0x14], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesTransactedA]
mov esi, eax
test esi, esi
jne 0x401ec7
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret
xor eax, eax
xor ecx, ecx
mov ax, word [esi + 4]
mov ebx, dword [esp + 0x3c]
shl eax, 0x10
mov cx, word [esi + 2]
or eax, ecx
push eax
push 0
push 0x420
push ebx
call dword [sym.imp.USER32.dll_Ordinal_2290]
push 0x160018
push 0
push 0x41f
push ebx
call dword [sym.imp.USER32.dll_Ordinal_2290]
push 0
push 0
push 0x418
push ebx
call dword [sym.imp.USER32.dll_Ordinal_2290]
lea edi, [eax - 1]
test eax, eax
je 0x401f2c
push 0
push 0
push 0x416
push ebx
call dword [sym.imp.USER32.dll_Ordinal_2290]
mov eax, edi
dec edi
test eax, eax
jne 0x401f15
xor ebp, ebp
push 0x4314c0
push 1
mov dword [0x4314c4], ebp
mov byte [0x4314c8], 4
mov byte [0x4314c9], 1
mov dword [0x4314c0], 4
push 0x414
push ebx
call dword [sym.imp.USER32.dll_Ordinal_2290]
cmp word [esi + 6], bp
mov dword [esp + 0x10], ebp
jbe 0x401fd3
lea edi, [esi + 8]
mov byte [0x4314c8], 4
xor eax, eax
mov ax, word [edi]
cmp dword [0x4314c4], eax
jne 0x401f83
inc ebp
jmp 0x401fc0
mov dword [0x4314c4], eax
test eax, eax
je 0x401f9c
mov byte [0x4314c9], 0
mov dword [0x4314c0], ebp
inc ebp
jmp 0x401fad
mov byte [0x4314c9], 1
mov dword [0x4314c0], 4
push 0x4314c0
push 1
push 0x414
push ebx
call dword [sym.imp.USER32.dll_Ordinal_2290]
add edi, 2
xor eax, eax
mov ax, word [esi + 6]
inc dword [esp + 0x10]
cmp eax, dword [esp + 0x10]
jg 0x401f6c
mov eax, 4
push 0x4314c0
push 1
mov byte [0x4314c8], al
push 0x414
mov dword [0x4314c0], eax
mov byte [0x4314c9], 1
mov dword [0x4314c4], 0
push ebx
call dword [sym.imp.USER32.dll_Ordinal_2290]
push 0
push 0
push 0x418
push ebx
call dword [sym.imp.USER32.dll_Ordinal_2290]
mov eax, dword [esp + 0x40]
mov ecx, dword [0x411334]
push eax
mov ebp, dword [sym.imp.USER32.dll_Ordinal_2099]
push ecx
call ebp
mov edi, eax
mov ebp, dword [sym.imp.GDI32.dll_Ordinal_1700]
lea eax, [esp + 0x20]
push eax
push 0x18
push edi
call ebp
mov ecx, dword [0x411334]
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
push ecx
xor ecx, ecx
cdq
mov cx, word [esi + 2]
idiv ecx
push eax
push 0x413
push ebx
call dword [sym.imp.USER32.dll_Ordinal_2290]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x40a000
Capabilities:
Check http status code

Disassembly:
sub esp, 0x24
cmp dword [0x411308], 0
push esi
push edi
je 0x40a0c4
push str.STHVCD.INI
mov edi, dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
push 0xffffffffffffffff
push str.Echo
push str.SAVEAUDIODECODER
call edi
cmp eax, 0xffffffff
je 0x40a035
mov dword [0x411050], eax
push str.STHVCD.INI
push 0xffffffffffffffff
push str.Karaoke
push str.SAVEAUDIODECODER
call edi
cmp eax, 0xffffffff
jne 0x40a052
mov eax, dword [0x411544]
mov dword [0x411544], eax
test eax, eax
je 0x40a073
cmp dword [0x411160], 0
jne 0x40a073
mov dword [0x411160], 1
call fcn.00402d10
lea esi, [esp + 8]
push esi
push 0x13
call sub.Mmxvideo.dll_Ordinal_75_1
push str.STHVCD.INI
push 0xc8
push str.Frequency
push str.SAVEAUDIODECODER
call edi
cmp eax, 0xc8
je 0x40a0a0
mov dword [esp + 0x14], eax
push str.STHVCD.INI
push 0xffffffffffffffff
push str.Channel
push str.SAVEAUDIODECODER
call edi
cmp eax, 0xffffffff
je 0x40a0bc
mov dword [esp + 0x18], eax
push esi
push 0x46
call sub.Mmxvideo.dll_Ordinal_75_1
pop edi
pop esi
add esp, 0x24
ret
Function at 0x40bba0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov eax, dword [0x411b64]
push edi
mov esi, dword [eax*4 + 0x426aa0]
mov edi, esi
xor eax, eax
mov al, byte [esi]
sub eax, 0x10
cmp eax, 0xf
ja case.0x40bbc4.20
xor ecx, ecx
mov cl, byte [eax + 0x40bd20]
jmp dword [ecx*4 + 0x40bd0c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [eax], 0xffff
mov eax, dword [esp + 0x10]
mov dword [ecx], 0xffff
mov ecx, dword [esp + 0xc]
mov dword [edx], 0xffff
pop edi
mov dword [eax], 0xffff
pop esi
mov dword [ecx], 0xffff
ret
xor eax, eax
mov ax, word [esi + 4]
push eax
call fcn.0040a390
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [esi + 6]
push eax
call fcn.0040a390
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [esi + 8]
push eax
call fcn.0040a390
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [ecx], eax
mov dword [edx], 0xffff
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0xffff
ret
xor eax, eax
mov ax, word [edi + 6]
push eax
call fcn.0040a390
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [edi + 8]
push eax
call fcn.0040a390
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [edi + 0xa]
push eax
call fcn.0040a390
mov ecx, dword [esp + 0x18]
add esp, 4
xor edx, edx
mov dword [ecx], eax
mov dl, byte [edi + 2]
test edx, edx
jne 0x40bcb5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0xffff
mov dword [ecx], 0xffff
ret
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov cl, byte [edi + 3]
mov dword [eax], ecx
add ecx, edx
dec ecx
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], ecx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [0x411998], 1
mov edx, dword [esp + 0x14]
mov dword [eax], 0xffff
mov eax, dword [esp + 0x10]
mov dword [ecx], 0xffff
mov ecx, dword [esp + 0xc]
mov dword [edx], 0xffff
pop edi
mov dword [eax], 0xffff
pop esi
mov dword [ecx], 0xffff
ret
Function at 0x401850
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push 0x11
push 0
push dword [0x44a25c]
mov eax, dword [ecx + 0x54]
mov dword [0x44a1c0], eax
mov eax, dword [ecx + 0x58]
mov dword [0x44a1c4], eax
mov eax, dword [ecx + 0x54]
mov dword [0x44a208], eax
mov eax, dword [ecx + 0x58]
mov dword [0x44a20c], eax
mov eax, dword [ecx + 0x3c]
push 1
push eax
mov dword [0x44a258], eax
call dword [sym.imp.WINMM.dll_timeSetEvent]
push 0
push 0
push 1
push 0
mov dword [0x44a260], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0x44a180
push 0x401c00
push 0
push 0
mov dword [0x44a268], eax
call fcn.00419e63
add esp, 0x18
mov dword [0x44a264], eax
pop ebp
ret 4

Function at 0x401c20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432a78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x448070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.004022c0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x401c7e
mov eax, dword [ebx + 0xe8]
mov dword [esi], eax
mov edi, dword [ebp - 0x1c]
lea eax, [ebx + 0xdc]
add esi, 4
mov dword [ebp - 0x18], esi
cmp eax, esi
jae 0x401cbd
cmp edi, eax
ja 0x401cbd
sub eax, edi
sar eax, 2
mov dword [ebp - 0x10], eax
cmp esi, dword [ebp - 0x14]
jne 0x401cb4
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004022c0
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
test esi, esi
je 0x401cdf
mov eax, dword [edi + eax*4]
jmp 0x401cdd
cmp esi, dword [ebp - 0x14]
jne 0x401cd7
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004022c0
mov esi, dword [ebp - 0x18]
lea eax, [ebx + 0xdc]
mov edi, dword [ebp - 0x1c]
test esi, esi
je 0x401cdf
mov eax, dword [eax]
mov dword [esi], eax
add esi, 4
push 0xffffffffffffffff
mov dword [ebp - 0x18], esi
sub esi, edi
push 0
push edi
sar esi, 2
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp esi, eax
jbe 0x401d33
nop word [eax + eax]
mov eax, dword [edi + eax*4]
cmp eax, dword [ebx + 0xe8]
je 0x401d3a
mov ecx, dword [ebx + 0xdc]
cmp eax, ecx
jne 0x401d23
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, ebx
call fcn.00401940
push 0xffffffffffffffff
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp esi, eax
ja 0x401d00
push 0xffffffffffffffff
call fcn.0041a1d3
test edi, edi
je 0x401d4d
mov eax, dword [ebp - 0x14]
sub eax, edi
sar eax, 2
push eax
push edi
call fcn.004026f0
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 0x404940
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432d28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x448070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x44a134], 8
mov esi, 0x44a120
push ecx
cmovae esi, dword [0x44a120]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], esi
call fcn.00406a00
mov dword [ebp - 4], 0
mov eax, 0x44a144
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
sub ecx, ebx
mov edi, dword [0x44a138]
push esi
sar ecx, 1
cmp dword [0x44a158], 8
push ecx
cmovae eax, dword [0x44a144]
push ebx
push eax
push 0x441ba4
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebx], 0
jne 0x4049ce
xor eax, eax
jmp 0x4049e2
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4049d3
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, 0x44a144
call fcn.004080c0
push esi
push dword [0x44a15c]
push str.pollingInterval
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
call edi
push esi
mov dword [0x44a15c], eax
movzx eax, byte [0x44a171]
push eax
push str.traceEnabled
push dword [ebp - 0x14]
call edi
test eax, eax
movzx eax, byte [0x44a172]
push esi
push eax
push str.speedMeterEnabled
push dword [ebp - 0x14]
setne byte [0x44a171]
call edi
test eax, eax
movzx eax, byte [0x44a173]
push esi
push eax
push str.shipVectorLineEnabled
push dword [ebp - 0x14]
setne byte [0x44a172]
call edi
push dword [ebp - 0x10]
mov esi, dword [0x44a13c]
test eax, eax
push dword [0x44a160]
setne byte [0x44a173]
push 0x441c38
push esi
call edi
push dword [ebp - 0x10]
mov dword [0x44a160], eax
push dword [0x44a164]
push 0x441c3c
push esi
call edi
push dword [ebp - 0x10]
mov dword [0x44a164], eax
push dword [0x44a168]
push 0x441c40
push esi
call edi
push dword [ebp - 0x10]
mov dword [0x44a168], eax
push dword [0x44a16c]
push 0x441c48
push esi
call edi
push dword [ebp - 0x10]
mov dword [0x44a16c], eax
movzx eax, byte [0x44a170]
push eax
push str.keepForeground
push esi
call edi
push dword [ebp - 0x10]
mov esi, dword [0x44a140]
test eax, eax
push dword [0x44a174]
setne byte [0x44a170]
push 0x441c38
push esi
call edi
push dword [ebp - 0x10]
mov dword [0x44a174], eax
push dword [0x44a178]
push 0x441c3c
push esi
call edi
mov dword [0x44a178], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
sub eax, ebx
sar eax, 1
push eax
push ebx
call fcn.00408d00
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 0x405060
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432e0b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x448070]
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 dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Global7554E265_3247_4FCA_BC60_5AA814658351
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
cmp eax, 0xb7
jne 0x4050d7
push str.GVONavish
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4050d0
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x405290
call dword [sym.imp.ole32.dll_CoInitialize]
push 8
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.WINMM.dll_timeGetDevCaps]
push dword [ebp - 0x70]
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 8
push eax
mov dword [ebp - 0x64], 0x40ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push 0x448ab4
push 0x44a2a4
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
call fcn.00404940
mov ecx, esi
call fcn.00405340
mov edx, dword [ebp + 0x14]
mov ecx, esi
call fcn.004053e0
test eax, eax
je 0x4050d0
call fcn.004057c0
mov esi, eax
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x60], esi
call fcn.00406ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 0x124]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov dword [ecx + 0x10], 6
push dword [ecx + 0xc]
call fcn.00403fb0
sub esp, 0xc
lea ecx, [ebp - 0x124]
call fcn.00406c80
mov edx, dword [0x44a2a8]
lea ecx, [ebp - 0x124]
call fcn.0040f760
lea ecx, [ebp - 0x120]
call fcn.00408b30
test eax, eax
jne 0x4051d2
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x124]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00403fb0
lea ecx, [ebp - 0x124]
call fcn.004052b0
jmp 0x405262
mov dword [ebp - 4], 0xffffffff
call fcn.004018d0
call fcn.00404640
push dword [0x44a2a4]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
push dword [ebp - 0x70]
call dword [sym.imp.WINMM.dll_timeEndPeriod]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
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.00414aa9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4330d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x448070]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x408a2c
cmp byte [ebx + 0x3d], 0
je 0x408a2c
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4088e9
xor al, al
jmp 0x408a2e
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00408260
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x408956
sub eax, 1
je 0x40895a
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x408a14
xor bl, bl
jmp 0x408a16
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x40898f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0041c7ed
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x40894f
cmp byte [ebx + 0x3d], 0
je 0x408a14
test esi, esi
jne 0x408911
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
sub eax, edx
cmp eax, 8
jbe 0x408a0a
lea esi, [edx + 8]
cmp esi, 0xfffffffe
ja 0x408a0a
cmp ecx, esi
jae 0x4089f1
push edx
push esi
lea ecx, [ebp - 0x28]
call fcn.00409420
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x408911
push 0
push 8
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call fcn.00408f30
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x28]
mov byte [eax + esi], 0
jmp 0x40890e
test esi, esi
jne 0x4089cb
cmp ecx, 0x10
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
jmp 0x40890e
push str.string_too_long
call fcn.004139b3
mov bl, 1
cmp ecx, 0x10
jb 0x408a28
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408dc0
mov al, bl
jmp 0x408a2e
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.00414aa9
mov esp, ebp
pop ebp
ret
Function at 0x409040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432c86
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x448070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00414aba
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00413c65
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410f00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43384c
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x448070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movzx eax, word [ebp + 0xc]
cmp eax, 0x9c53
ja 0x411077
je 0x41102f
cmp eax, 0x9c40
ja 0x410fe5
je 0x410f73
dec eax
cmp eax, 1
ja 0x41110e
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x14]
call fcn.004115f0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x410fca
mov eax, dword [esi + 0x10]
test eax, eax
js 0x410fb4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 2
push ecx
push eax
push 0x102b
push dword [esi + 0xc]
mov dword [ebp - 0x40], 0
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 8
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.0040b5a0
mov ecx, dword [esi + 8]
call fcn.0040fb40
lea ecx, [ebp - 0x18]
call fcn.004068d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x9c46
jne 0x41110e
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x14]
call fcn.004115f0
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x411014
push dword [esi + 0x10]
mov ecx, dword [esi + 8]
call fcn.0040fed0
lea ecx, [ebp - 0x18]
call fcn.004068d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x14]
call fcn.004115f0
cmp dword [ebp - 0x18], 0
setne al
test al, al
je 0x41106e
mov eax, dword [esi + 0x10]
test eax, eax
js 0x41106e
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 2
push ecx
push eax
push 0x102b
push dword [esi + 0xc]
mov dword [ebp - 0x40], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0
jmp 0x4110e6
sub eax, 0x9c55
je 0x4110a9
sub eax, 1
jne 0x41110e
mov ecx, dword [esi + 8]
cmp dword [ecx + 4], 1
jbe 0x41110e
push eax
call fcn.0040fed0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x14]
call fcn.004115f0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
setne al
test al, al
je 0x4110df
mov al, byte [ecx + 0x20]
test al, al
sete al
mov byte [ecx + 0x20], al
mov eax, dword [esi + 0x10]
push eax
push eax
push 0x1015
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x41110e
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x41110e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x41110e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4223b9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042222f
Function at 0x100031f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x1d
mov dword [ebp - 4], 0
jmp 0x10003212
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xb
jge 0x10003251
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 0x2333782c]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x1000324c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x10003209
mov eax, 1
imul ecx, eax, 0xb
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10003270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x80
mov dword [ebp - 4], 0
jmp 0x10003292
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xd
jge 0x100032d1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 0x78ef406b]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x100032cc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x10003289
mov eax, 1
imul ecx, eax, 0xd
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100032f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x88
mov dword [ebp - 4], 0
jmp 0x10003312
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc
jge 0x10003351
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x2621d3ec]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x1000334c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x10003309
mov eax, 1
imul ecx, eax, 0xc
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4