joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41202e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5553f8
call fcn.0053130f
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x412054
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4120a8
call fcn.0040dcb4
push eax
lea ecx, [ebp - 0x10]
call fcn.00401030
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0053121f
push eax
call fcn.00402910
add esp, 0x14
test edi, edi
je 0x41209b
push edi
call fcn.00531443
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401510
mov eax, esi
call fcn.005312dd
ret 8

Function at 0x413aef
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5b39c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5c6e8c]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x413b3b
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x413b58
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x5c6e8c], eax
jmp 0x413b44
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x413b58
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x413bc5
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x413b73
xor eax, eax
jmp 0x413bc5
lea eax, [ebp - 0x210]
push eax
call fcn.00531443
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x413ba4
push 0x559cfc
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005318f3
add esp, 0xc
test eax, eax
jne 0x413b6f
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005318f3
add esp, 0xc
test eax, eax
jne 0x413b6f
lea eax, [ebp - 0x210]
push eax
call fcn.00418833
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0052db16
leave
ret

Function at 0x41438d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x4143d2
call fcn.0040fd41
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4143d2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4143ee
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041a781
mov ebx, eax
test edi, edi
je 0x4143ec
test esi, esi
je 0x4143ec
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41a385
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.00411c87
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41a3c1
call fcn.0041a5a0
mov dword [esi + 0xc], 1
jmp 0x41a3c6
call fcn.0041a5a0
cmp dword [esi], 0
je 0x41a40f
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x41a3e9
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040df03
jmp 0x41a3fa
push 0xff
mov ecx, esi
call fcn.00401490
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00403630
jmp 0x41a433
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41a433
push dword [esi]
push dword [ebp - 4]
call fcn.004225a5
pop esi
leave
ret 0xc

Function at 0x41a4f7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041a5a0
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41a53f
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040df03
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403630
jmp 0x41a54a
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004225a5
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41b1ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0040fd41
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41b1e5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0041b204
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 0x41e497
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x41e4e1
call fcn.0040fd41
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41e4de
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41e51a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test edi, edi
je 0x41e503
push dword [ebp + 0x10]
mov edx, dword [eax]
push edi
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x20]
mov ebx, eax
test esi, esi
je 0x41e503
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x41e518
mov eax, dword [ecx]
push dword [ebp + 0x10]
call dword [eax + 0xa0]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x424063
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5b39c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [0x5c718c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x4240bc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4240d9
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x5c718c], eax
jmp 0x4240c5
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x4240d9
mov eax, dword [ebp - 0x20]
push ebx
push edi
push eax
push dword [ebp + 8]
call esi
jmp 0x424216
mov eax, dword [ebp - 0x20]
and dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.00547f08
lea eax, [ebp - 0x14]
push eax
call fcn.00531443
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.005313e7
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
lea edi, [esi + 1]
call fcn.00547f08
lea eax, [ebp - 0x14]
push eax
call fcn.00531443
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.005313e7
add esp, 0x38
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.00547f08
lea eax, [ebp - 0x14]
push eax
call fcn.00531443
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.005313e7
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
add edi, esi
call fcn.00547f08
lea eax, [ebp - 0x14]
push eax
call fcn.00531443
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.005313e7
push 7
lea eax, [ebp - 0x14]
push eax
push 0x800
add edi, esi
call fcn.00547f08
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.00531443
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.005313e7
lea eax, [edi + esi]
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052db16
leave
ret
Function at 0x43ec61
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0047895e
call fcn.0040fd95
cmp dword [eax + 0x14], 0
jne 0x43ec7c
mov ecx, esi
pop esi
jmp fcn.0043e080
pop esi
ret

Function at 0x43f99b
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004b9549
call fcn.0040fd95
cmp dword [eax + 0x14], 0
jne 0x43f9b6
mov ecx, esi
pop esi
jmp fcn.0043f28e
pop esi
ret

Function at 0x44ef8a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x44efa2
call fcn.0040fd41
mov esi, dword [eax + 0xc]
push 0x566b18
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x44eff8
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44eff7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x44efd8
xor esi, esi
jmp 0x44efee
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.0044effe
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x51312d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x513147
mov edi, dword [esi + 0xc]
jmp 0x513187
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x513160
call fcn.0041077a
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x513175
call fcn.0041077a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x513187
call fcn.0041077a
call fcn.0040fd41
cmp dword [eax + 0x3c], 0
je 0x51319c
push edi
mov ecx, ebx
call fcn.005129c1
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0051335f
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x5131bf
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x5131c8
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x541b98
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b39c0]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00536725
mov dword [ebp - 0x14], eax
cmp dword [0x5cb75c], edi
jne 0x541c89
push 0x800
push edi
push 0x58a410
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x541c16
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x541d69
push 0x58a410
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x541d69
push 0x58a428
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x541d69
push eax
call ebx
push 0x58a434
push esi
mov dword [0x5cb75c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x58a444
push esi
mov dword [0x5cb760], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x5cb764], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5cb76c], eax
test eax, eax
je 0x541c86
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5cb768], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x541cae
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x541ca1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x541cc3
push 4
pop eax
jmp 0x541d6b
cmp dword [ebp - 0x14], edi
je 0x541cc3
push dword [0x5cb75c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x541ca8
mov eax, dword [0x5cb768]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x541d21
cmp dword [0x5cb76c], esi
je 0x541d21
push eax
call ebx
push dword [0x5cb76c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x541d21
test eax, eax
je 0x541d21
call ecx
test eax, eax
je 0x541d16
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 0x541d16
test byte [ebp - 8], 1
jne 0x541d21
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x541d51
mov eax, dword [0x5cb760]
cmp eax, esi
je 0x541d4e
push eax
call ebx
test eax, eax
je 0x541d4e
call eax
mov edi, eax
test edi, edi
je 0x541d4e
mov eax, dword [0x5cb764]
cmp eax, esi
je 0x541d4e
push eax
call ebx
test eax, eax
je 0x541d4e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x5cb75c]
call ebx
test eax, eax
je 0x541d69
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x541d6b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052db16
leave
ret
Function at 0x401000
Capabilities:
Get common file path

Disassembly:
mov eax, 0x563c
call fcn.00435100
mov eax, dword [0x457a00]
xor eax, esp
mov dword [esp + 0x5638], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x2d]
push ebx
push eax
mov byte [esp + 0x34], bl
call fcn.00433570
push 0x27ff
lea ecx, [esp + 0x651]
push ebx
push ecx
mov byte [esp + 0x658], bl
call fcn.00433570
push 0x27ff
lea edx, [esp + 0x2e5d]
push ebx
push edx
mov byte [esp + 0x2e64], bl
call fcn.00433570
push 0xff
lea eax, [esp + 0x159]
push ebx
push eax
mov byte [esp + 0x160], bl
call fcn.00433570
push 0xff
lea ecx, [esp + 0x475]
push ebx
push ecx
mov byte [esp + 0x47c], bl
call fcn.00433570
push 0xff
lea edx, [esp + 0x581]
push ebx
push edx
mov byte [esp + 0x588], bl
call fcn.00433570
add esp, 0x48
push 0x103
lea eax, [esp + 0x235]
push ebx
push eax
mov byte [esp + 0x23c], bl
call fcn.00433570
push 0x103
lea ecx, [esp + 0x349]
push ebx
push ecx
mov byte [esp + 0x350], bl
call fcn.00433570
push ebx
call fcn.0042fb9e
mov dword [esp + 0x40], edx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], eax
call fcn.0042fe9f
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
add edx, 1
push edx
add eax, 0x76c
push eax
push str._04d_02d_02d
lea edx, [esp + 0x570]
call fcn.004012a0
lea ecx, [esp + 0x570]
push ecx
push str.QCSDownloadlog__s.txt
lea edx, [esp + 0x478]
call fcn.004012a0
add esp, 0x38
lea edx, [esp + 0x230]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea eax, [esp + 0x33c]
push eax
lea ecx, [esp + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
xor eax, eax
jmp 0x401180
mov cl, byte [esp + eax + 0x338]
mov byte [esp + eax + 0x28], cl
add eax, 1
cmp cl, bl
jne 0x401180
lea eax, [esp + 0x440]
mov edx, eax
jmp 0x4011a0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4011a0
lea edi, [esp + 0x28]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x4011b2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x28]
and ecx, 3
push 0x44c598
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0042ff87
mov esi, eax
add esp, 8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x1e]
movzx edx, word [esp + 0x1c]
movzx eax, word [esp + 0x1a]
push ecx
movzx ecx, word [esp + 0x1c]
push edx
movzx edx, word [esp + 0x1e]
push eax
movzx eax, word [esp + 0x1e]
push ecx
movzx ecx, word [esp + 0x20]
push edx
push eax
push ecx
push str._04d__02d__02d__02d:_02d:_02d__04d
lea edx, [esp + 0x150]
call fcn.004012a0
mov edx, dword [esp + 0x566c]
push edx
lea eax, [esp + 0x154]
push eax
push str._s_:_s
lea edx, [esp + 0x66c]
call fcn.004012c0
lea ecx, [esp + 0x567c]
push ecx
lea edx, [esp + 0x670]
push edx
push 0x2800
lea eax, [esp + 0x2e78]
push 0x2800
push eax
call fcn.0042fb71
add esp, 0x40
lea ecx, [esp + 0x2e40]
push esi
push ecx
call fcn.0042ff9a
push esi
call fcn.0043014e
mov ecx, dword [esp + 0x5650]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042fb8f
add esp, 0x563c
ret
Function at 0x401f20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x457a00]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.00433570
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401f52
sub eax, edx
push eax
push 0
push esi
call fcn.00433570
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x401fa8
push 0x104
push esi
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
test eax, eax
je 0x401fa8
mov eax, esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0042fb8f
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.0042fb8f
add esp, 0x108
ret
Function at 0x402e10
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x144
mov eax, dword [0x457a00]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x148]
push ebx
push ebp
mov ebp, dword [esp + 0x154]
push esi
push edi
xor ebx, ebx
push ebx
push 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x18], esi
jne 0x402e59
xor eax, eax
jmp 0x402f15
push 0x124
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.00433570
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push esi
mov dword [esp + 0x28], 0x128
call sub.KERNEL32.dll_Process32First
nop
cmp ebx, ebp
mov edi, ebx
jge 0x402eef
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + edi*4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402e92
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x4c]
push ecx
call fcn.004317b3
add esp, 0xc
test eax, eax
jne 0x402ec4
mov edx, dword [esp + 0x28]
push edx
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x402ecd
add edi, 1
cmp edi, ebp
jl 0x402e86
jmp 0x402eef
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add ebx, 1
cmp ebx, ebp
sete al
test eax, eax
mov dword [esp + 0x14], eax
jne 0x402f06
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402e80
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042fb8f
add esp, 0x144
ret
Function at 0x403d80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xbc
mov eax, dword [0x457a00]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
push esi
xor ebx, ebx
push 0x7f
lea eax, [esp + 0x49]
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x50], bl
call fcn.00433570
mov ecx, dword [esi]
xor eax, eax
add esp, 0xc
sub ecx, 1
mov byte [esp + 0x14], bl
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
mov byte [esp + 0x34], al
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov word [esp + 0x41], ax
mov byte [esp + 0x43], al
mov byte [esp + 0x24], al
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov word [esp + 0x31], ax
mov byte [esp + 0x33], al
js 0x403f11
mov dword [esp + 0xc], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 1
push esi
push str.AT_d
lea edx, [esp + 0x1c]
push 0x10
push edx
call fcn.00430bb0
push esi
push str.RAT_d
lea eax, [esp + 0x4c]
push 0x10
push eax
call fcn.00430bb0
push esi
push str.WAT_d
lea ecx, [esp + 0x4c]
push 0x10
push ecx
call fcn.00430bb0
add esp, 0x30
push edi
push 0x80
lea edx, [esp + 0x4c]
push edx
push 0x45029b
lea eax, [esp + 0x24]
push eax
push 0x44c940
call ebp
test eax, eax
jne 0x403eba
push edi
push 0x80
lea ecx, [esp + 0x4c]
push ecx
push 0x45029b
lea edx, [esp + 0x44]
push edx
push 0x44c940
call ebp
test eax, eax
jne 0x403eba
push edi
push 0x80
lea eax, [esp + 0x4c]
push eax
push 0x45029b
lea ecx, [esp + 0x34]
push ecx
push 0x44c940
call ebp
test eax, eax
je 0x403f09
mov byte [esp + eax + 0x44], 0
lea eax, [esp + 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403ec6
sub eax, edx
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
push eax
call fcn.0043dca0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add dword [esp + 0x18], 0x80
add ebx, 1
sub edx, 1
add esp, 0xc
add esi, 1
cmp ebx, edx
jle 0x403e21
mov eax, ecx
mov dword [eax], ebx
jmp 0x403f13
mov ecx, dword [esp + 0x10]
mov dword [ecx], ebx
jmp 0x403f13
mov dword [esi], ebx
mov ecx, dword [esp + 0xc4]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.0042fb8f
add esp, 0xbc
ret