joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c070
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001c0a2
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1001c0bb
push 0x58f
push 0xfac
push 0
push 0x12a9
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret

Function at 0x1001c34b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001c41d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x11
jmp 0x1001c37f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x1b
jge 0x1001c41b
mov dword [ebp - 0x24], 0x6e5c7a00
mov dword [ebp - 0x20], 0xfffffffd
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x6941
jg 0x1001c3c9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [eax + ecx + 6]
test eax, eax
jne 0x1001c3c9
and dword [ebp - 0xc], 0
jmp 0x1001c3d0
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
jge 0x1001c3df
mov dword [ebp - 0x10], 1
jmp 0x1001c3e3
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
je 0x1001c3f6
mov dword [ebp - 0x14], 1
jmp 0x1001c3fa
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 3
je 0x1001c409
mov dword [ebp - 0x18], 1
jmp 0x1001c40d
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
jmp 0x1001c374
jmp 0x1001c442
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001c442
push 0x58f
push 0xfac
push 0
push 0x12a9
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x10026f56
Capabilities:
Get file system object information
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10026f70
push 0x15c3
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10026f9f
push 0x58f
push 0xfac
push 0
push 0x12a9
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x1002b86b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002b896
push 0x425
push 0
push 0x106f
push 0x2642
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1002b8ef
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax]
push 1
push 0x1977
push 0xee9
push 0x67df
push 0x60d7
mov eax, dword [ebp - 0x18]
push dword [eax]
push 0x1306
push 0x2b4f
call fcn.10027b47
add esp, 0x28
mov esp, ebp
pop ebp
ret

Function at 0x1002b935
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002b94c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
jmp 0x1002b965
push 0x58f
push 0xfac
push 0
push 0x12a9
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret

Function at 0x1002c881
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002c8c9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x1002c8e5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1002c8e5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret

Function at 0x1002dc5c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002dca2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x1002dcaf
push 0x17b3
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x1002ddb7
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002de09
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x4bf9
mov eax, dword [ebp - 0x10]
push dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax]
mov eax, dword [ebp - 0x18]
push dword [eax]
push 0
call fcn.100261ad
add esp, 0x14
jmp 0x1002de16
push 0
push 0x634
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret

Function at 0x1002e69f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002e6c3
xor eax, eax
jmp 0x1002e812
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1002dc5c
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002e6eb
xor eax, eax
jmp 0x1002e812
push 0x7320
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002dcb3
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x1002e70f
xor eax, eax
jmp 0x1002e812
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.1002db15
add esp, 0x18
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 1
call fcn.1002ddb7
add esp, 0x10
push 0x7e5d
push 1
push 0x1b9d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002de1a
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x1002e783
push 0x285e
push 0x7c87
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002dea5
add esp, 0x14
push dword [ebp - 4]
call fcn.1002d924
pop ecx
test eax, eax
jne 0x1002e794
xor eax, eax
jmp 0x1002e812
push dword [ebp - 4]
push 0
call fcn.10029d54
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002e7fa
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002e7bf
xor eax, eax
jmp 0x1002e812
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002e7d8
xor eax, eax
jmp 0x1002e812
lea eax, [ebp - 4]
push eax
push 0x2de5
push 0x31a9
push 0x1047
push 1
push 0x7fce
call fcn.1002df0c
add esp, 0x18
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002e80b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002e80f
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004264f
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10042676
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10042674
push 0x11f8
push 0
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
jmp 0x1004268f
push 0x58f
push 0xfac
push 0
push 0x12a9
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret

Function at 0x10042794
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100427c6
push 0x22b2
push 0
push 0x1493
push 0x13af
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtFloodFill]
jmp 0x100427df
push 0x58f
push 0xfac
push 0
push 0x12a9
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret

Function at 0x100433ad
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1004341d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x28]
call fcn.100491e5
jmp 0x1004342a
push 0
push 0x634
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret
Function at 0x10076112
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007e38c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10066f1c
mov dword [ebp - 0x14], eax
cmp dword [0x1066b16c], esi
jne 0x10076205
push 0x800
push esi
push 0x1000806c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10076192
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100762e5
push esi
push esi
push 0x1000806c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100762e5
push 0x10008084
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100762e5
push eax
call ebx
push 0x10008090
push edi
mov dword [0x1066b16c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100080a0
push edi
mov dword [0x1066b170], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100080b4
push edi
mov dword [0x1066b174], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066b17c], eax
test eax, eax
je 0x10076202
push 0x100080d0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066b178], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007622a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007621d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007623f
push 4
pop eax
jmp 0x100762e7
cmp dword [ebp - 0x14], esi
je 0x1007623f
push dword [0x1066b16c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10076224
mov eax, dword [0x1066b178]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007629d
cmp dword [0x1066b17c], edi
je 0x1007629d
push eax
call ebx
push dword [0x1066b17c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007629d
test eax, eax
je 0x1007629d
call ecx
test eax, eax
je 0x10076292
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10076292
test byte [ebp - 8], 1
jne 0x1007629d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100762cd
mov eax, dword [0x1066b170]
cmp eax, edi
je 0x100762ca
push eax
call ebx
test eax, eax
je 0x100762ca
call eax
mov esi, eax
test esi, esi
je 0x100762ca
mov eax, dword [0x1066b174]
cmp eax, edi
je 0x100762ca
push eax
call ebx
test eax, eax
je 0x100762ca
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066b16c]
call ebx
test eax, eax
je 0x100762e5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100762e7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x4023d9
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10043bf5

Function at 0x10047f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10047f4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10047f4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407be4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x45e31c
call fcn.0045225c
cmp esi, 0xf
jne 0x407cf1
cmp dword [ebx + 0x2d4], 0xffffffff
jne 0x407c1f
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
mov eax, edx
jmp 0x407da8
mov word [ebp - 0x3c], 8
mov ecx, dword [ebx + 0x2d4]
push ecx
mov eax, dword [ebx + 0x2c0]
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.00410af4
add esp, 0xc
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x14
lea ecx, [ebp - 0x14]
push ecx
call fcn.00410b68
pop ecx
test al, al
jne 0x407c76
dec dword [ebp - 0x30]
push 2
lea eax, [ebp - 0x14]
push eax
call fcn.00410b44
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x407da8
mov ecx, dword [ebx + 0x2dc]
lea edx, [ebp - 0x14]
push ecx
mov eax, dword [ebx + 0x2d8]
push eax
push edx
push ebx
call fcn.00406ed8
add esp, 0x10
test eax, eax
jne 0x407cb4
dec dword [ebp - 0x30]
push 2
lea ecx, [ebp - 0x14]
push ecx
call fcn.00410b44
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword fs:[0], eax
jmp 0x407da8
mov edx, dword [ebx + 0x2dc]
lea eax, [ebp - 0x14]
push edx
mov ecx, dword [ebx + 0x2d8]
push ecx
push eax
push ebx
call fcn.00406b30
add esp, 0x10
test eax, eax
je 0x407cdb
push eax
push 0xf
call sub.USER32.dll_SetClipboardData
dec dword [ebp - 0x30]
push 2
lea edx, [ebp - 0x14]
push edx
call fcn.00410b44
add esp, 8
jmp 0x407d9e
cmp esi, 1
jne 0x407d9e
cmp dword [ebx + 0x2d4], 0xffffffff
jne 0x407d12
mov ecx, dword [ebp - 0x4c]
mov dword fs:[0], ecx
jmp 0x407da8
mov word [ebp - 0x3c], 0x20
mov eax, dword [ebx + 0x2d4]
push eax
mov edx, dword [ebx + 0x2c0]
push edx
lea ecx, [ebp - 0x28]
push ecx
call fcn.00410af4
add esp, 0xc
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x2c
lea eax, [ebp - 0x28]
push eax
call fcn.00410b68
pop ecx
test al, al
jne 0x407d66
dec dword [ebp - 0x30]
push 2
lea edx, [ebp - 0x28]
push edx
call fcn.00410b44
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword fs:[0], ecx
jmp 0x407da8
mov eax, dword [ebx + 0x2dc]
lea ecx, [ebp - 0x28]
push eax
mov edx, dword [ebx + 0x2d8]
push edx
push ecx
push ebx
call fcn.00406c64
add esp, 0x10
test eax, eax
je 0x407d8d
push eax
push 1
call sub.USER32.dll_SetClipboardData
dec dword [ebp - 0x30]
push 2
lea eax, [ebp - 0x28]
push eax
call fcn.00410b44
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410914
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
mov eax, 0x4618c4
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
call fcn.0045225c
mov dword [ebp - 0x10], 1
lea edx, [ebp + 0x14]
lea eax, [ebp + 0x14]
call fcn.0042e7fb
inc dword [ebp - 0x10]
mov edx, 0x461a0e
mov word [ebp - 0x1c], 8
mov byte [ebp - 0x2d], 1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov word [ebp - 0x1c], 0x14
lea eax, [ebp - 4]
call fcn.0042e7c4
inc dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
lea edx, [ebp + 0x14]
call fcn.0042ea7b
cmp dword [ebp - 8], 0
je 0x41098c
mov eax, dword [ebp - 8]
jmp 0x410991
mov eax, 0x461a13
push eax
call sub.KERNEL32.dll_CreateFileA
mov dword [ebp - 0x34], eax
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0042ea24
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0042ea24
cmp dword [ebp - 0x34], 0xffffffff
je 0x410a95
mov eax, ebx
shl eax, 4
mov edx, dword [eax + 0x4616b0]
imul edx, dword [eax + 0x4616b4]
mov dword [ebp - 0x38], edx
mov word [ebp - 0x1c], 8
mov ecx, dword [eax + 0x4616b8]
imul ecx, dword [eax + 0x4616bc]
mov ebx, ecx
mov esi, ebx
push esi
call fcn.00459ce0
pop ecx
mov edi, eax
push esi
push 0
push edi
call fcn.0044da70
add esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1f0]
xor edx, edx
call fcn.004225a8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1f0]
mov dx, word [ebp - 0x38]
call fcn.004225b8
xor esi, esi
cmp esi, dword [ebp - 0x38]
jge 0x410a83
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
push edi
mov edx, dword [ebp - 0x34]
push edx
call sub.KERNEL32.dll_ReadFile
test eax, eax
je 0x410a48
cmp ebx, dword [ebp - 0x3c]
je 0x410a5d
push 0x10
push 0x2c5
call fcn.004135c8
mov byte [ebp - 0x2d], 0
add esp, 8
jmp 0x410a83
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push ebx
push edi
call fcn.004534d0
add esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1f0]
mov edx, esi
call fcn.004225c8
inc esi
cmp esi, dword [ebp - 0x38]
jl 0x410a2e
push edi
call fcn.00459c78
pop ecx
mov ecx, dword [ebp - 0x34]
push ecx
call sub.KERNEL32.dll_CloseHandle
jmp 0x410aa8
push 0x10
push 0x2c6
call fcn.004135c8
mov byte [ebp - 0x2d], 0
add esp, 8
mov al, byte [ebp - 0x2d]
mov edx, 2
push eax
lea eax, [ebp + 0x14]
dec dword [ebp - 0x10]
call fcn.0042ea24
pop eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411c00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push ebx
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_GetPrivateProfileSectionNamesA
xor ecx, ecx
sub ebx, 2
cmp eax, ebx
je 0x411c1f
inc ecx
mov eax, ecx
pop ebx
pop ebp
ret
Function at 0x412530
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, dword [ebp + 8]
push 0x104
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.0044da70
add esp, 0xc
push 0x104
push 0
push ebx
call fcn.0044da70
add esp, 0xc
lea edx, [ebp - 0x104]
push edx
push 0x104
call sub.KERNEL32.dll_GetTempPathA
test eax, eax
je 0x4125a2
push ebx
push 0
push 0x4626f0
lea ecx, [ebp - 0x104]
push ecx
call sub.KERNEL32.dll_GetTempFileNameA
test eax, eax
je 0x4125a2
push ebx
call sub.KERNEL32.dll_DeleteFileA
push 0
push ebx
call sub.KERNEL32.dll_CreateDirectoryA
mov al, 1
jmp 0x4125a4
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412940
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp + 8]
or esi, 0xffffffff
push eax
call sub.KERNEL32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41297a
push 0
push ebx
call sub.KERNEL32.dll_GetFileSize
mov esi, eax
push ebx
call sub.KERNEL32.dll_CloseHandle
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x4298e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [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.0042953d
push eax
push esi
push dword [ebp + 8]
call fcn.004294f2
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.0042953d
push eax
push esi
push dword [ebp + 8]
call fcn.004294f2
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0042952d
insb byte es:[edi], dx
jmp 0x4299cc
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0042952d
test dword [0x858dae2f], ebx
jl 0x429a18
invalid
invalid

Function at 0x429bd8
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x429be1
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x429bdc
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x429bc6
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x429bce
cmp edx, ebx
jne 0x429d1c
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
dec ebp
or byte [edx - 0x3f], dh
dec ebp
or byte [edx - 0x3f], dh
add eax, dword [eax + 4]
jmp 0x429b8a
mov dword [ebp + 0xc], ebx
jmp 0x429bec