joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47728b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5cf004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
jne 0x4772ae
xor eax, eax
jmp 0x477384
cmp dword [ebp + 0xc], 0
je 0x4772a7
xor ebx, ebx
call fcn.004090ee
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4772a7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4772a7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x47739a
push eax
call fcn.0053f990
inc eax
pop ecx
mov dword [ebp - 8], eax
lea edx, [eax + eax]
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
test ecx, eax
je 0x477352
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
and eax, ecx
lea ecx, [edx + 8]
cmp eax, 0x400
ja 0x477334
cmp edx, ecx
sbb eax, eax
and eax, ecx
call fcn.005326b0
mov esi, esp
test esi, esi
je 0x47739a
mov dword [esi], 0xcccc
jmp 0x47734d
cmp edx, ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.0053f669
mov esi, eax
pop ecx
test esi, esi
je 0x47739a
mov dword [esi], 0xdddd
add esi, 8
jmp 0x477354
mov esi, ebx
test esi, esi
je 0x47739a
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call fcn.00407562
test eax, eax
je 0x477374
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00478c2f
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call fcn.00478c4b
pop ecx
mov eax, ebx
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00531d62
mov esp, ebp
pop ebp
ret 8
call fcn.00407f98
int3
Function at 0x4855ed
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5cf004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.00408707
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
push 0x20
mov ebx, eax
call esi
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0040ad5e
mov edi, dword [ebp - 0x18]
mov esi, eax
test edi, 0x1000
je 0x485665
cmp esi, 3
jne 0x485654
push 2
pop esi
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x485665
xor eax, eax
jmp 0x4856ba
cmp esi, 0xa
jl 0x48566f
cmp esi, 0x11
jle 0x485674
cmp esi, 4
jne 0x4856b8
test edi, 0x800
je 0x485681
push 2
pop eax
jmp 0x4856ba
mov eax, dword [ebp - 0x1c]
neg ebx
push ebx
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test edi, 0x200
je 0x4856b8
mov eax, esi
sub eax, 4
je 0x485705
sub eax, 9
je 0x4856f1
sub eax, 1
je 0x4856e1
dec eax
sub eax, 1
je 0x4856cd
sub eax, 1
je 0x485705
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531d62
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setle al
dec eax
and eax, 5
add eax, 0xa
jmp 0x4856ba
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x4856ba
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
lea eax, [eax*2 + 0xa]
jmp 0x4856ba
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setg al
lea eax, [eax*4 + 0xb]
jmp 0x4856ba
Function at 0x48dc2c
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5cf004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x8000
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x48dc5e
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x48dc89
cmp dword [0x5d66bc], 0
jne 0x48dc89
lea ecx, [esi - 0x41]
cmp ecx, 0x19
jbe 0x48dc7c
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x48dc80
mov eax, esi
jmp 0x48dcfc
push esi
call fcn.00544b35
pop ecx
jmp 0x48dcfc
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00536380
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x48dd0e
call fcn.0041260a
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push esi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00531d62
mov esp, ebp
pop ebp
ret 4
call fcn.00407f98
int3
Function at 0x48e15c
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x5692dd
call fcn.005325d3
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp + 0xc]
call fcn.00461a59
test eax, eax
je 0x48e2fd
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], edi
push ecx
lea ecx, [ebx + 4]
call fcn.00462d2d
test eax, eax
je 0x48e19f
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00407579
push eax
lea ecx, [ebp - 0x18]
call fcn.004027d0
mov esi, 0x104
mov dword [ebp - 4], edi
push esi
lea ecx, [ebp - 0x18]
call fcn.004024f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00408da6
call fcn.00407579
push eax
lea ecx, [ebp - 0x14]
call fcn.004027d0
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004024f0
mov esi, dword [ebp - 0x18]
push eax
push edi
push 0x58600c
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00408da6
push edi
push 0x4000100
push 2
push edi
push edi
mov edi, dword [ebp - 0x14]
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x48e237
lea ecx, [edi - 0x10]
call fcn.00402820
lea ecx, [esi - 0x10]
jmp 0x48e2f8
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0042b02a
push 0
push 0x1000
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.00420bf6
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [ebx + 0x20], 1
push edx
mov byte [ebp - 4], 4
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.00421023
and dword [ebx + 0x20], 0
lea ecx, [ebp - 0x88]
call fcn.00420d06
lea ecx, [ebp - 0x40]
call fcn.0042b0df
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebx + 4]
call fcn.0048ded8
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
lea ecx, [edi - 0x10]
call fcn.00402820
lea ecx, [esi - 0x10]
call fcn.00402820
xor eax, eax
inc eax
jmp 0x48e2ff
call fcn.00402820
xor eax, eax
call fcn.00532531
ret 8
Function at 0x4daace
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x56cec9
call fcn.0053259c
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00402690
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x574728
call fcn.00401e90
cmp eax, 0xffffffff
jne 0x4dab82
push 0
push 0x57ffd8
lea ecx, [ebp - 0x4d0]
call fcn.00401e90
cmp eax, 0xffffffff
jne 0x4dab82
push 0
push 0x575b9c
lea ecx, [ebp - 0x4d0]
call fcn.00401e90
cmp eax, 0xffffffff
jne 0x4dab82
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00402690
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4dab5e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00402820
jmp 0x4dabb1
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00402180
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402820
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4daba8
mov ebx, dword [ebp - 0x4cc]
jmp 0x4dabb1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00402820
mov eax, ebx
call fcn.00532546
ret

Function at 0x4e0d30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5ce7b4], 0
push esi
je 0x4e0e11
cmp dword [0x5ceb00], 0xfffffffe
jne 0x4e0dfe
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x4e0e11
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5d996c]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5d8728]
cmp eax, dword [ecx + 4]
jle 0x4e0da8
mov ebx, 0x5d8728
push ebx
call fcn.00531eab
cmp dword [0x5d8728], 0xffffffff
pop ecx
jne 0x4e0da8
mov ecx, 0x5d8708
call fcn.0044c595
push 0x572582
call fcn.00532228
push ebx
call fcn.00531e6c
pop ecx
pop ecx
mov ebx, 0x5d8710
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5d86f4], 0
jne 0x4e0e14
push 0
push 0
push 0x4e0e1a
call fcn.0053fea8
add esp, 0xc
mov dword [0x5d86f4], eax
test eax, eax
je 0x4e0ded
cmp eax, 0xffffffff
je 0x4e0ded
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x5ceb00], esi
jmp 0x4e0df4
and dword [0x5d86f4], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
jmp 0x4e0e11
mov eax, dword [ebp + 8]
mov dword [0x5ceb00], eax
inc eax
neg eax
sbb eax, eax
and dword [0x5d86f4], eax
pop esi
pop ebp
ret
call fcn.00407f98
int3
Function at 0x4e748b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1b8]
test al, al
jns 0x4e74aa
or ecx, 0xffffffff
jmp 0x4e74b0
mov ecx, dword [0x5ce93c]
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x2b4]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x5cebd4
call fcn.0042148c
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x4e7554
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4e7554
test edi, edi
je 0x4e7505
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x228]
push eax
push 0x5ce988
call fcn.0042148c
pop ecx
pop ecx
mov ebx, eax
jmp 0x4e7507
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp eax, 2
jne 0x4e755f
test ebx, ebx
je 0x4e7540
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c0]
test al, 0x40
je 0x4e7554
cmp dword [ebp - 4], 0
je 0x4e7540
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x24c]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x4e7556
mov eax, dword [esi]
mov ecx, esi
push 5
push 0
push edi
call dword [eax + 0x1f8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x4e7554
test edi, edi
je 0x4e7554
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x184]
test eax, eax
je 0x4e7554
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test eax, eax
je 0x4e7554
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x240]
mov eax, dword [esi]
mov ecx, esi
push 0
push 1
push 5
push edi
call dword [eax + 0x34c]
mov ecx, dword [ebp + 8]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], edx
jmp 0x4e7556
Function at 0x4e9356
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov edx, dword [0x5d996c]
push ebx
push esi
push edi
mov edx, dword [eax + edx*4]
mov ebx, ecx
mov eax, dword [0x5d8844]
cmp eax, dword [edx + 4]
jle 0x4e93b1
mov esi, 0x5d8844
push esi
call fcn.00531eab
cmp dword [0x5d8844], 0xffffffff
pop ecx
jne 0x4e93b1
call fcn.00407579
push eax
mov ecx, 0x5d8840
call fcn.004027d0
push 0x57259a
call fcn.00532228
push esi
call fcn.00531e6c
pop ecx
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4e9453
mov eax, dword [ebx + 0x34c]
test eax, eax
je 0x4e944a
cmp dword [eax + 0x20], 0
je 0x4e944a
test eax, eax
je 0x4e93d7
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x4e944a
mov eax, dword [edi + 4]
sub eax, 1
je 0x4e941e
sub eax, 1
je 0x4e93f4
sub eax, 1
jne 0x4e944a
mov esi, 0x428e
jmp 0x4e9423
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4e9423
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x340]
test eax, eax
je 0x4e9423
add esi, 3
jmp 0x4e9423
mov esi, 0x3ea0
push esi
call fcn.00408d11
test eax, eax
je 0x4e9453
push esi
push eax
mov ecx, 0x5d8840
call fcn.00402040
test eax, eax
je 0x4e9453
mov eax, dword [0x5d8840]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x4e944c
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
call fcn.00407f98
int3
Function at 0x50de7e
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x56f300
call fcn.0053259c
mov ebx, ecx
mov dword [ebp - 0x230], ebx
call fcn.0051d766
push 0x1c4
call fcn.00404647
pop ecx
mov dword [ebp - 0x22c], eax
and dword [ebp - 4], 0
test eax, eax
je 0x50dec1
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.0051dd77
jmp 0x50dec3
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.0051cbb0
call fcn.004090ee
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x8c]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call fcn.0053f6b4
mov esi, eax
pop ecx
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
mov dword [ebp - 0x22c], esi
lea eax, [esi + esi]
cmp eax, 0x208
jae 0x50e0da
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
xor eax, eax
mov dword [ebp - 0x228], eax
test edi, edi
je 0x50e0d4
xor ebx, ebx
cmp dword [edi + 4], eax
jle 0x50e0d4
call fcn.00407579
push eax
lea ecx, [ebp - 0x21c]
call fcn.004027d0
mov eax, dword [edi]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x218]
push esi
push ecx
push ebx
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
je 0x50e0b8
push 0x582d00
mov esi, 0x582d08
lea ecx, [ebp - 0x21c]
push esi
call fcn.004028d0
push esi
push 0x57f540
lea ecx, [ebp - 0x21c]
call fcn.004028d0
push esi
push 0x582d00
lea ecx, [ebp - 0x21c]
call fcn.004028d0
call fcn.00407579
push eax
lea ecx, [ebp - 0x220]
call fcn.004027d0
mov eax, dword [ebp - 0x228]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x50dfee
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__Ts
push eax
call fcn.00402f90
add esp, 0xc
jmp 0x50e020
jge 0x50e00e
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__Ts
push eax
call fcn.00402f90
add esp, 0x10
jmp 0x50e020
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00402700
push 0x1c4
call fcn.00404647
pop ecx
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x50e04a
mov ecx, eax
call fcn.004c2b23
mov ecx, eax
mov dword [ebp - 0x224], eax
jmp 0x50e052
xor ecx, ecx
mov dword [ebp - 0x224], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x220]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x224]
lea eax, [ebx + 0xe110]
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push ebx
mov ecx, edi
call fcn.00413b34
mov ecx, dword [ebp - 0x224]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.0051cbb0
inc dword [ebp - 0x228]
lea ecx, [esi - 0x10]
call fcn.00402820
mov esi, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00402820
inc ebx
cmp ebx, dword [edi + 4]
jl 0x50df43
call fcn.00532546
ret
call fcn.00532455
int3

Function at 0x54e432
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0054e0f2
Function at 0x553da0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570e59
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5cf004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
push ebx
push 0x69
push 0x83
call fcn.0055e8d0
mov dword [ebp - 4], 0
mov dword [edi], vtable.CAboutDlg.1.0
mov dword [edi + 0xa8], vtable.CAboutDlg.0
call fcn.00407579
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x553e0e
push 0x80004005
call fcn.004027b0
mov eax, dword [edx]
mov esi, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x553e23
lock inc dword [edx + 0x14]
lea eax, [edx + 8]
jmp 0x553e27
mov ecx, edx
call esi
add eax, 0x10
mov dword [edi + 0x3b0], eax
mov byte [ebp - 4], 1
call fcn.00407579
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x553e50
push 0x80004005
call fcn.004027b0
mov eax, dword [edx]
mov esi, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x553e65
lock inc dword [edx + 0x14]
lea eax, [edx + 8]
jmp 0x553e69
mov ecx, edx
call esi
add eax, 0x10
mov dword [edi + 0x3b4], eax
mov byte [ebp - 4], 2
call fcn.00407579
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x553e92
push 0x80004005
call fcn.004027b0
mov eax, dword [edx]
mov esi, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x553ea7
lock inc dword [edx + 0x14]
lea eax, [edx + 8]
jmp 0x553eab
mov ecx, edx
call esi
add eax, 0x10
mov dword [edi + 0x3b8], eax
mov byte [ebp - 4], 3
call fcn.00407579
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x553ed4
push 0x80004005
call fcn.004027b0
mov eax, dword [edx]
mov esi, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x553ee9
lock inc dword [edx + 0x14]
lea eax, [edx + 8]
jmp 0x553eed
mov ecx, edx
call esi
add eax, 0x10
mov dword [edi + 0x3bc], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 0x178]
mov ebx, dword [edi + 0x178]
sub ebx, 0x10
lea esi, [ecx - 0x10]
cmp esi, ebx
je 0x553f48
cmp dword [ebx + 0xc], 0
jl 0x553f39
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x553f39
push esi
call fcn.00402690
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00402820
lea eax, [esi + 0x10]
mov dword [edi + 0x178], eax
jmp 0x553f48
push dword [ecx - 0xc]
push ecx
lea ecx, [edi + 0x178]
call fcn.004025d0
mov ecx, dword [ebp + 8]
mov ebx, dword [edi + 0x17c]
sub ebx, 0x10
mov ecx, dword [ecx + 0x17c]
lea esi, [ecx - 0x10]
cmp esi, ebx
je 0x553f99
cmp dword [ebx + 0xc], 0
jl 0x553f8a
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x553f8a
push esi
call fcn.00402690
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00402820
lea eax, [esi + 0x10]
mov dword [edi + 0x17c], eax
jmp 0x553f99
push dword [ecx - 0xc]
push ecx
lea ecx, [edi + 0x17c]
call fcn.004025d0
mov eax, dword [ebp + 8]
add eax, 0x198
push eax
push 0
push 0x5ababc
push 0x5abad0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x3a8], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x554be0
Capabilities:
Delete directory
Delete file

Disassembly:
push edi
push dword [0x5da274]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [0x5da278]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x5da5b8]
cmp eax, dword [edx + 4]
jle 0x554c67
push 0x5da5b8
call fcn.00531eab
add esp, 4
cmp dword [0x5da5b8], 0xffffffff
jne 0x554c67
call fcn.00407579
test eax, eax
je 0x554cda
mov edx, dword [eax]
cmp edx, vtable.ATL::CAtlStringMgr.0
jne 0x554ce4
lock inc dword [eax + 0x14]
add eax, 8
add eax, 0x10
push 0x572080
mov dword [0x5da5bc], eax
call fcn.00532228
push 0x5da5b8
call fcn.00531e6c
add esp, 8
push 0
push 0x5a6cec
mov ecx, 0x5da5bc
call fcn.004025d0
cmp dword [edi + 0x48c], 1
mov ecx, 0x5da5bc
jne 0x554c8f
push 7
push 0x5a6cf0
jmp 0x554c96
push 0
push 0x5a6d00
call fcn.004025d0
push 0x5da5bc
push 0
push 0x402
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x403
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [edi + 0x40c], 0
xor eax, eax
mov dword [edi + 0x408], 0
pop edi
ret
push 0x80004005
call fcn.004027b0
mov ecx, eax
call dword [edx + 0xc]
jmp 0x554c48
Function at 0x5555f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
push ecx
mov esi, ecx
mov ecx, esp
push str.ExecAndWait_____START
call fcn.00402210
call fcn.00554150
add esp, 4
lea eax, [ebp - 0x60]
push 0x44
push 0
push eax
call fcn.00536380
add esp, 8
mov dword [ebp - 0x60], 0x44
xor eax, eax
mov dword [ebp - 0x34], 1
mov ecx, esp
mov word [ebp - 0x30], ax
push str.CreateProcess_____START
call fcn.00402210
call fcn.00554150
add esp, 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push ecx
mov ecx, esp
mov esi, eax
push str.CreateProcess_____END
call fcn.00402210
call fcn.00554150
add esp, 4
cmp esi, 1
je 0x555686
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, esp
push str.WaitForInputIdle__
call fcn.00402210
call fcn.00554150
add esp, 4
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push ecx
mov ecx, esp
push str.WaitForSingleObject__
call fcn.00402210
call fcn.00554150
add esp, 4
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
mov ecx, esp
push str.GetExitCodeProcess__
call fcn.00402210
call fcn.00554150
add esp, 4
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
push ecx
mov ecx, esp
push str.ExecAndWait_____END
call fcn.00402210
call fcn.00554150
mov eax, dword [ebp - 4]
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x55c4c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.00407579
test eax, eax
je 0x55c5e3
mov edx, dword [eax]
cmp edx, vtable.ATL::CAtlStringMgr.0
jne 0x55c5ed
lock inc dword [eax + 0x14]
add eax, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
lea edi, [esi + 0x198]
mov dword [ebp - 4], eax
push edi
push 0x20
push 0x5a7980
push 0x5a79ac
call ebx
mov dword [esi + 0x474], eax
test eax, eax
jle 0x55c51a
cmp eax, 0x200
jle 0x55c524
mov dword [esi + 0x474], 0x20
push edi
push 1
push 0x5a79c0
push 0x5a79f0
call ebx
mov dword [esi + 0x478], eax
test eax, eax
jle 0x55c542
cmp eax, 0x40
jle 0x55c54c
mov dword [esi + 0x478], 1
push edi
push 0x20
push 0x5a7a04
push 0x5a7a28
call ebx
mov dword [esi + 0x47c], eax
test eax, eax
jle 0x55c56c
cmp eax, 0x200
jle 0x55c576
mov dword [esi + 0x47c], 0x20
push edi
push 1
push 0x5a7a3c
push 0x5a7a64
call ebx
mov dword [esi + 0x480], eax
pop edi
pop ebx
test eax, eax
jle 0x55c596
cmp eax, 0x40
jle 0x55c5a0
mov dword [esi + 0x480], 1
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x55c5de
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x55c5f7
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x55c5f7
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
mov esp, ebp
pop ebp
ret
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004027b0
mov ecx, eax
call dword [edx + 0xc]
jmp 0x55c4e9
mov ecx, edx
call esi
jmp 0x55c5de