joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020c10
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100c3224]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov byte [ebp - 0x30], 0x55
xor ecx, ecx
mov byte [ebp - 0x2f], 0x7b
mov byte [ebp - 0x2e], 0x58
mov byte [ebp - 0x2d], 0x7c
mov byte [ebp - 0x2c], 0x6c
mov byte [ebp - 0x2b], 0x79
mov byte [ebp - 0x2a], 0x80
mov byte [ebp - 0x29], 0x50
mov byte [ebp - 0x28], 0x75
mov byte [ebp - 0x27], 0x6d
mov byte [ebp - 0x26], 0x76
mov byte [ebp - 0x25], 0x79
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], 0x68
mov byte [ebp - 0x22], 0x7b
mov byte [ebp - 0x21], 0x70
mov byte [ebp - 0x20], 0x76
mov byte [ebp - 0x1f], 0x75
mov byte [ebp - 0x1e], 0x57
mov byte [ebp - 0x1d], 0x79
mov byte [ebp - 0x1c], 0x76
mov byte [ebp - 0x1b], 0x6a
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x7a
mov byte [ebp - 0x18], 0x7a
mov esi, dword [ebp + 8]
mov byte [ebp - 0x17], 0
mov al, byte [ebp - 0x30]
mov al, byte [ebp + ecx - 0x30]
sub al, 7
mov byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 0x19
jb 0x10020c91
mov dword [ebp - 0x14], 0x25
mov eax, dword [ebp - 0x14]
xor al, 0x6e
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x14]
inc al
xor al, 0x74
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x14]
add al, 2
xor al, 0x64
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0x14]
add al, 3
xor al, 0x6c
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x14]
add al, 4
xor al, 0x6c
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x14]
add al, 5
xor al, 0x2e
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x14]
add al, 6
xor al, 0x64
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 0x14]
add al, 7
xor al, 0x6c
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x14]
add al, 8
mov byte [ebp - 7], 0
xor al, 0x6c
xor edx, edx
mov byte [ebp - 8], al
mov al, byte [ebp - 0x10]
nop dword [eax]
mov al, byte [ebp + edx - 0x10]
mov ecx, dword [ebp - 0x14]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x10], cl
inc edx
cmp edx, 9
jb 0x10020d10
lea eax, [ebp - 0x30]
mov byte [ebp - 7], 0
push eax
lea eax, [ebp - 0x10]
push eax
call dword [0x10098038]
push eax
call dword [0x1009803c]
push 0
push 0x18
lea ecx, [ebp - 0x48]
push ecx
push 0
push esi
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x44]
xor ecx, ebp
pop esi
call fcn.10094d0f
mov esp, ebp
pop ebp
ret
Function at 0x10025700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100c3224]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov byte [ebp - 0x20], 0x4c
xor ecx, ecx
mov byte [ebp - 0x1f], 0x43
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x55
mov byte [ebp - 0x1c], 0x6a
mov byte [ebp - 0x1b], 0x77
mov byte [ebp - 0x1a], 0x70
mov byte [ebp - 0x19], 0x55
mov byte [ebp - 0x18], 0x6a
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x7c
mov byte [ebp - 0x15], 0x7e
mov byte [ebp - 0x14], 0x79
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 0x12], 0x78
mov byte [ebp - 0x11], 0x7b
mov byte [ebp - 0x10], 0x7d
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0xd], 0x6a
mov byte [ebp - 0xc], 0x7c
mov byte [ebp - 0xb], 0x7b
mov byte [ebp - 0xa], 0x37
mov byte [ebp - 9], 0x75
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 8], 0x78
mov esi, dword [ebp + 8]
mov byte [ebp - 7], 0x70
mov byte [ebp - 6], 0
mov al, byte [ebp - 0x20]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x20]
sub al, 9
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0x1a
jb 0x10025790
lea eax, [ebp - 0x20]
push 0x10098598
push eax
call dword [0x100982e4]
add esp, 8
mov edi, eax
push edi
push esi
call fcn.10035c50
mov esi, dword [0x10098320]
add esp, 4
push eax
call esi
push edi
push 0x1009859c
call esi
push edi
push ebx
call esi
push edi
call dword [0x10098310]
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10094d0f
mov esp, ebp
pop ebp
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x402ee4
pop dword [ebp - 0x2c]
mov eax, 0x402ee4
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x7a1f511
sub dword [ebp - 0x3c], 0xb94fafc6
mov dword [ebp - 0x38], 0x9558996
add dword [ebp - 0x38], 0x28ddc2af
mov dword [ebp - 0x34], 0xcc6419b9
add dword [ebp - 0x34], 0x7fe82a75
mov dword [ebp - 0x30], 0x1e89d56d
add dword [ebp - 0x30], 0xe1762a93
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x99b1a87c
sub eax, 0x99712778
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x9784af29
sub dword [ebp - 0x3c], 0x231245d3
mov dword [ebp - 0x38], 0x27c4ade4
sub dword [ebp - 0x38], 0xe6584c6f
mov dword [ebp - 0x34], 0xa83338d7
sub dword [ebp - 0x34], 0x44c3cc6b
mov dword [ebp - 0x30], 0x4d365082
sub dword [ebp - 0x30], 0x4d365082
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x38a37
push 0
call eax
mov ecx, 0xbe862bc9
sub ecx, 0xbe85dd60
xor edi, edi
add edi, eax
mov ebx, 0x46e400
add ebx, dword [ebp - 0x2c]
mov edx, 0x517af504
sub dword [ebp - 0x1c], edx
mov esi, dword [ebx]
xor dword [ebp - 0x28], 0xcfd47124
sub esi, edx
sub dword [ebp - 0x28], ecx
mov dword [edi], esi
xor dword [ebp - 0x18], ebx
add edi, 0xb21bd209
add edi, 0x4de42dfb
add ebx, 0x94de726a
add ebx, 0x6b218d9a
loop 0x402ff2
add eax, 0x7bc0a9b6
sub eax, 0x7bbf7d3f
mov ebx, eax
add eax, 5
mov ecx, 0x85fcbb2b
sub ecx, 0x85bcbb2b
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x401000
Capabilities:
Execute command
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4020dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ax, word [0x403148]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x20], ax
movq xmm0, qword [str.Hello_World]
mov al, byte [0x40314a]
mov dword [ebp - 0x18], 0xb
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
mov dword [ebp - 4], 0
mov edx, str.Calculator
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401140
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call esi
push 0
push str.asdsadsadsad
push str.sadsadsad
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, str.Hello_World
call fcn.00401140
push 0
push 0
call esi
xor eax, 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.0040141a
mov esp, ebp
pop ebp
ret

Function at 0x401c32
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401c71
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401c71
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401c71
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401c71
cmp dword [ecx + 0x74], 0xe
jbe 0x401c71
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x402550
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x49571a
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
push str.CreateControlWindow
push str.CInstallNaviApp
call fcn.0042af10
add esp, 8
lea eax, [esp + 0x24]
push eax
push 0x407c90
mov dword [esp + 0x2c], 0
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x402616
mov esi, dword [esp + 0x24]
test esi, esi
je 0x402616
push ebp
call fcn.00402690
test eax, eax
jne 0x402616
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4025ff
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4025f8
push 0
push 0xf120
push 0x112
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
push 0x2d8
call fcn.0045502b
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1c], 0
je 0x40263d
push eax
call fcn.00406000
mov edi, eax
jmp 0x40263f
xor edi, edi
mov eax, edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00406320
mov esi, eax
test esi, esi
je 0x402657
mov dword [ebp + 0x20], edi
push esi
push str.CreateControlWindow
push str.CInstallNaviApp
call fcn.0042b190
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
Function at 0x404050
Capabilities:
Get geographical location

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0x220
call fcn.00455056
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, eax
add esp, 4
xor eax, eax
mov dword [esi], eax
push 0x104
mov dword [esi + 4], eax
lea edi, [esi + 0x18]
push edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push 0x11
mov dword [esi + 0x10], eax
push ebp
mov dword [esi + 0x14], eax
call ebx
push edi
call fcn.00430640
add esp, 4
push 0x104
push edi
push 0x12
push ebp
mov dword [esi], eax
call ebx
push edi
call fcn.00430640
add esp, 4
push 0x104
push edi
push 0x10
push ebp
mov dword [esi + 4], eax
call ebx
cmp word [edi], 0
mov ebx, edi
je 0x404107
cmp word [ebx], 0x3b
push ebx
jne 0x4040ed
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
push ebx
call fcn.00430640
add esp, 4
test eax, eax
jbe 0x4040f8
mov ecx, dword [esi + 8]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*2]
mov dword [esi + 8], edx
jmp 0x4040f8
call fcn.00430640
add esp, 4
mov dword [esi + 8], eax
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
cmp word [ebx], 0
jne 0x4040c3
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x104
push edi
push 0x1010
push ebp
call ebx
push edi
call fcn.00430640
add esp, 4
push 0x104
push edi
push 0xe
push ebp
mov dword [esi + 0x14], eax
call ebx
push 0x104
mov dword [esi + 0xc], edi
lea edi, [edi + eax*2 + 2]
push edi
push 0xf
push ebp
call ebx
mov dword [esi + 0x10], edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x404150
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4961a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [eax + 4], 0x100
jne 0x404287
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call ebx
test ax, ax
jge 0x404287
push 0x11
call ebx
test ax, ax
jge 0x404287
push 0x20
call ebx
test ax, ax
jge 0x404287
mov ecx, esi
call fcn.00402ba0
test eax, eax
je 0x404287
mov edx, dword [esi]
mov eax, dword [edx + 0x134]
mov ecx, esi
call eax
mov ecx, dword [eax + 0x20]
push edi
push edi
push 0x7f0e
push ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x404207
mov eax, dword [eax + 0x190]
test al, 0x10
jne 0x404287
test al, 8
jne 0x404287
lea ecx, [esp + 0x20]
call fcn.0045b0c3
mov dword [esp + 0x40], 0
mov edi, dword [esi + 0x5c]
lea ebx, [esp + 0x20]
call fcn.00401630
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x14]
push edx
mov eax, ebx
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x4c], 1
call fcn.00424870
mov ecx, dword [esp + 0x1c]
mov esi, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x40425f
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0xffffffff
call fcn.0045b0da
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x404980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404999
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4049d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4049d0
lea ebx, [ebx]
cmp esi, eax
jae 0x4049d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4049c0
cmp esi, eax
jb 0x4049da
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4061d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x492224
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CInstallNaviWnd.0
mov dword [esp + 0x18], 7
mov ecx, dword [esi + 0x2bc]
test ecx, ecx
je 0x406219
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x2d0]
test ecx, ecx
je 0x40622c
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov edi, dword [esi + 0x2c8]
test edi, edi
je 0x40624a
push edi
call fcn.00433520
add esp, 4
test eax, eax
je 0x40624a
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x18], 6
mov eax, dword [esi + 0x2c8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406271
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x290]
mov byte [esp + 0x18], 5
call fcn.00425200
mov byte [esp + 0x18], 4
mov eax, dword [esi + 0x28c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4062a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x25c]
mov byte [esp + 0x18], 3
call fcn.00429ac0
lea edi, [esi + 0x254]
mov byte [esp + 0x18], 2
mov dword [edi], vtable.CFontPackage.0
call fcn.00424020
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4062de
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 1
call fcn.00431260
lea ecx, [esi + 0x54]
mov byte [esp + 0x18], 0
call fcn.0045b0da
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004589d1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x40c780
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x11c
lea eax, [esp + 4]
push 0
push eax
call fcn.0047c3b0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x40c7f0
mov eax, dword [esp + 4]
cmp eax, 6
jae 0x40c7d6
cmp eax, 5
jne 0x40c7f0
cmp dword [esp + 8], 1
jb 0x40c7f0
mov eax, 1
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0047a105
add esp, 0x120
ret
mov ecx, dword [esp + 0x11c]
xor ecx, esp
xor eax, eax
call fcn.0047a105
add esp, 0x120
ret
Function at 0x40ff70
Capabilities:
Resume thread
Suspend thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x40ffc5
cmp dword [esi + 0x48], 0
je 0x40ffc5
mov eax, dword [eax + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov edx, dword [esi + 0x3c]
lea ecx, [esi - 0xfc]
call fcn.00416af0
mov ecx, dword [esi + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0x44]
mov eax, dword [edx + 0x2c]
pop esi
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret 4

Function at 0x4157b0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
test byte [esi + 0xc], 6
je 0x4157c3
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
pop esi
ret 4
Function at 0x415d40
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x492ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x13c]
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ebp, ebp
push ebp
push ebp
mov ebx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call edi
add eax, 0x104
xor ecx, ecx
mov dword [esp + 0x14], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00455056
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x14]
push esi
push eax
call edi
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.00404740
push esi
push ebp
mov dword [esp + 0x13c], ebp
mov ecx, dword [esp + 0x20]
push 0x4a169c
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebp
push ebp
push 2
push ebp
push ebp
push 0xc0000000
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x415ec6
mov ecx, dword [ebx + 0x100]
mov ebp, 0x192
call fcn.0045db25
test eax, 0x400000
je 0x415e28
mov ebp, 0x193
call fcn.0045ed7b
mov eax, dword [eax + 8]
push 0x104
lea edx, [esp + 0x28]
push edx
push ebp
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
jbe 0x415e7b
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 0
lea edx, [eax + 1]
jmp 0x415e60
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x415e60
push 0
lea ecx, [esp + 0x18]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x30]
push edx
push edi
call ebx
mov edx, dword [esp + 0x1c]
mov eax, edx
mov dword [esp + 0x14], 0
lea ebp, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x415e90
push 0
lea ecx, [esp + 0x18]
push ecx
sub eax, ebp
push eax
push edx
push edi
call ebx
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
push esi
je 0x415ec0
mov ecx, dword [esp + 0x24]
call fcn.00404a80
jmp 0x415ec6
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.0045505b
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415efa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0047a105
add esp, 0x124
ret 4

Function at 0x416090
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
test byte [esi + 0xc], 6
je 0x4160a3
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
pop esi
ret 8