joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408ca0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439b4b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00439394
push 4
mov dword [ebp - 4], 0
call fcn.004241a6
mov edi, eax
add esp, 4
test edi, edi
je 0x408d20
call fcn.00438cd1
mov dword [edi], eax
call fcn.00438a90
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004389c5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x408d16
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004389ed
jmp 0x408d22
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f820
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax]
push 0x43c7e8
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x40f899
call fcn.004021e0
jmp 0x40f8a0
mov ebx, eax
mov dword [ebp - 0x14], ebx
xor eax, eax
push eax
call fcn.0041d2c0
add esp, 4
lea edx, [ebp - 0x18]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x40f8c5
call fcn.004021e0
cmp eax, edi
jl 0x40f8c7
xor eax, eax
push eax
call fcn.0041d2c0
add esp, 4
push 4
push 2
push edi
push edi
push edi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00407b70
push eax
call fcn.0041d2c0
mov eax, dword [esi]
mov ecx, dword [eax]
add esp, 4
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp - 0x3c]
push edi
mov ecx, esi
call fcn.0040e3f0
push edi
mov ecx, esi
call fcn.0040d7b0
push edi
mov ecx, esi
call fcn.0040ecb0
push edi
mov ecx, esi
call fcn.0040e760
push edi
mov ecx, esi
call fcn.0040d240
push edi
mov ecx, esi
call fcn.0040e110
push edi
mov ecx, esi
call fcn.0040f360
push edi
mov ecx, esi
call fcn.0040d4b0
push edi
mov ecx, esi
call fcn.0040c9f0
push edi
mov ecx, esi
call fcn.0040efe0
mov edx, dword [esi]
mov eax, dword [edx]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
test edi, edi
je 0x40f96d
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x40f96d
call fcn.004021e0
mov esi, eax
mov eax, dword [ebp - 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40f98a
push eax
call edi
test eax, eax
jne 0x40f98a
test esi, esi
js 0x40f98a
call fcn.004021e0
test ebx, ebx
je 0x40f991
push ebx
call 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 0x4102a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0xa4]
push esi
mov esi, dword [eax]
mov dword [ebp - 4], eax
cmp esi, eax
je 0x41034e
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
lea esp, [esp]
mov eax, dword [esi + 0xc]
push eax
call ebx
cmp eax, 1
je 0x410307
mov eax, dword [esi + 0xc]
push 0
push 0x80
push 1
push 0
push 1
push 0x80000000
push eax
call edi
cmp eax, 0xffffffff
jne 0x410300
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x410307
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x11], 0
jne 0x410347
mov eax, dword [esi + 8]
cmp byte [eax + 0x11], 0
jne 0x41032c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
jne 0x410347
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
je 0x410320
jmp 0x410347
mov eax, dword [esi + 4]
cmp byte [eax + 0x11], 0
jne 0x410345
cmp esi, dword [eax + 8]
jne 0x410345
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0x410335
mov esi, eax
cmp esi, dword [ebp - 4]
jne 0x4102d0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410ac0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a5fe
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x44bb64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x44d33c], 1
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x244], ecx
jne 0x410b1f
or dword [0x44d33c], 1
mov ecx, 0x44d228
mov dword [ebp - 4], 0
call fcn.0041d2a0
mov dword [ebp - 4], 0xffffffff
cmp dword [0x44d238], 2
jne 0x410c10
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x410d0b
push str.EnumProcessModules
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetModuleFileNameExW
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x248], eax
test edi, edi
je 0x410c0a
test eax, eax
je 0x410c0a
lea eax, [ebp - 0x24c]
push eax
push 4
lea ecx, [ebp - 0x240]
push ecx
push ebx
mov dword [ebp - 0x240], 0
call edi
mov esi, dword [ebp - 0x244]
mov eax, dword [esi + 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or edx, eax
jge 0x410bb8
push 0x104
lea ecx, [esi + 0xc]
call fcn.00401390
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0x240]
push 0x104
push ecx
push edx
push ebx
call dword [ebp - 0x248]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax - 8]
test eax, eax
je 0x410be7
push ecx
push eax
call fcn.004235ed
add esp, 8
test eax, eax
js 0x410c00
mov ecx, dword [esi + 0xc]
cmp eax, dword [ecx - 8]
jg 0x410c00
mov dword [ecx - 0xc], eax
mov ecx, dword [esi + 0xc]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x410d0b
push 0x80070057
call fcn.00401210
push esi
jmp 0x410d05
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x410d0b
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push edi
call ebx
push str.Process32FirstW
push edi
mov esi, eax
call ebx
push str.Process32NextW
push edi
mov dword [ebp - 0x240], eax
call ebx
mov ebx, eax
test esi, esi
je 0x410d04
cmp dword [ebp - 0x240], 0
je 0x410d04
test ebx, ebx
je 0x410d04
push 0
push 2
call esi
cmp eax, 0xffffffff
je 0x410d04
push 0
push 2
call esi
push 0x228
mov esi, eax
lea eax, [ebp - 0x238]
push 0
push eax
mov dword [ebp - 0x23c], 0x22c
call fcn.00424440
add esp, 0xc
lea ecx, [ebp - 0x23c]
push ecx
push esi
call dword [ebp - 0x240]
cmp eax, 1
jne 0x410cfb
jmp 0x410cc0
mov eax, dword [ebp - 0x244]
mov edx, dword [eax + 0x14]
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [edx + 4]
je 0x410cec
lea edx, [ebp - 0x23c]
push edx
push esi
call ebx
cmp eax, 1
je 0x410cc0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410d0b
lea ecx, [eax + 0xc]
lea eax, [ebp - 0x218]
push eax
call fcn.004015e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410d0b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004234ee
mov esp, ebp
pop ebp
ret 4
Function at 0x411670
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a738
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4116b9
cmp eax, 0x50
je 0x4116b9
cmp eax, 0xb7
je 0x4116b9
xor edx, edx
jmp 0x4116be
mov edx, 1
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0xe0]
push eax
push ecx
push edx
call fcn.0041d600
mov eax, dword [esi]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00405620
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0xd4]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004105a0
mov eax, dword [ebp - 0x10]
xor esi, esi
push esi
push 0x80
push 2
push esi
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x41171e
call fcn.004021e0
jmp 0x411720
mov esi, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x14]
push edx
add ecx, ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x411742
call fcn.004021e0
test esi, esi
je 0x41174d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411773
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x411790
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a778
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4117de
cmp eax, 0x50
je 0x4117de
cmp eax, 0xb7
je 0x4117de
xor edx, edx
jmp 0x4117e3
mov edx, 1
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + 0xe0]
push eax
push ecx
push edx
call fcn.0041d600
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0xb8]
mov esi, dword [ecx]
mov eax, ecx
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
cmp esi, eax
je 0x41197e
jmp 0x411823
mov ebx, dword [ebp - 0x1c]
mov edx, dword [0x44bb48]
mov eax, dword [edx + 0xc]
mov ecx, 0x44bb48
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov edx, dword [0x44bb48]
mov eax, dword [edx + 0xc]
mov edi, dword [ebx]
mov ecx, 0x44bb48
mov dword [ebp - 4], 0
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test edi, edi
je 0x411886
test edi, 0xffff0000
jne 0x41188a
movzx edi, di
push 0
push edi
call fcn.004019d0
add esp, 8
test eax, eax
je 0x4118a9
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00405230
jmp 0x4118a9
xor eax, eax
jmp 0x41189f
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411890
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00401530
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 0xb0]
push ecx
push eax
lea ecx, [ebp - 0x18]
push str._s_.2d.reg
push ecx
mov byte [ebp - 4], 2
call fcn.00406d30
mov ebx, dword [ebp - 0x18]
add esp, 0x10
push ebx
lea ecx, [ebp - 0x10]
call fcn.004105a0
mov edi, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
push edi
push eax
call fcn.0041e8b0
lea eax, [edi - 0x10]
add esp, 8
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411908
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41192b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
cmp byte [esi + 0x11], 0
jne 0x411972
mov eax, dword [esi + 8]
cmp byte [eax + 0x11], 0
jne 0x411950
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
jne 0x411972
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
je 0x411944
jmp 0x411972
mov eax, dword [esi + 4]
cmp byte [eax + 0x11], 0
jne 0x411970
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x411970
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0x411960
mov esi, eax
inc dword [ebp - 0x14]
cmp esi, dword [ebp - 0x20]
jne 0x411820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412360
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a906
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x44bb64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.ClearFile
lea ecx, [ebp - 0x224]
call fcn.00405620
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x118]
lea eax, [ebp - 0x224]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00405350
mov byte [ebp - 0x219], al
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4123e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x219], bl
je 0x41251e
push str.ClearFile
lea ecx, [ebp - 0x220]
call fcn.00405620
mov edx, dword [esi + 0x14]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [edx + 0x118]
mov dword [ebp - 4], 1
call fcn.00405460
mov eax, dword [eax]
push ebx
push ebx
push eax
call fcn.0042467c
mov edi, eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x41251e
mov ecx, dword [esi]
xor eax, eax
push ecx
lea edx, [ebp - 0x218]
push 0x104
push edx
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov word [ebp - 0x228], ax
call fcn.004257d6
lea eax, [ebp - 0x218]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4124b4
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x216], cx
lea ecx, [ebp - 0x244]
mov edx, 0x414
lea eax, [ebp - 0x218]
push ecx
mov word [ebp - 0x234], dx
mov dword [ebp - 0x22e], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x22a], ebx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x240], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004234ee
mov esp, ebp
pop ebp
ret
Function at 0x412f50
Capabilities:
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43aa48
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ecx, ecx
mov eax, 7
xor edx, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], ecx
mov word [esi], dx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], ecx
mov word [esi + 0x1c], dx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ecx
mov word [esi + 0x38], dx
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], ecx
mov word [esi + 0x54], cx
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], edx
mov word [esi + 0x70], dx
mov dword [esi + 0xa0], eax
mov dword [esi + 0x9c], edx
mov word [esi + 0x8c], cx
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], ecx
mov dword [esi + 0xb0], ecx
mov edx, dword [ebp + 8]
mov byte [ebp - 4], al
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412ff1
sub eax, dword [ebp + 8]
mov ecx, esi
sar eax, 1
push eax
push edx
call fcn.0040a830
mov edx, dword [ebp + 0x10]
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413015
sub eax, dword [ebp + 8]
lea ecx, [esi + 0x1c]
sar eax, 1
push eax
push edx
call fcn.0040a830
mov edx, dword [ebp + 0x14]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413037
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x38]
call fcn.0040a830
mov edx, dword [ebp + 0xc]
mov eax, edx
lea edi, [eax + 2]
jmp 0x413060
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413060
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x54]
call fcn.0040a830
mov edx, dword [ebp + 0x18]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413081
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x70]
call fcn.0040a830
mov edx, dword [ebp + 0x1c]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4130a2
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x8c]
call fcn.0040a830
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0xa8]
push edx
mov edx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
lea ecx, [esi + 0xa8]
push edx
push eax
call fcn.00412cd0
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x413101
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x24]
lea edx, [ebp + 0x2c]
push edx
push ecx
push eax
call fcn.00410750
mov edx, dword [ebp + 0x20]
push edx
call fcn.004231f8
add esp, 0x14
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
Function at 0x414590
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x414623
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
test esi, esi
jns 0x4145c1
push 0x80070057
call fcn.00401210
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or edx, eax
jge 0x4145df
push esi
mov ecx, edi
call fcn.00401390
mov eax, dword [edi]
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414604
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x414608
push ecx
push eax
call fcn.004235ed
add esp, 8
test eax, eax
js 0x4145b7
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4145b7
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
pop edi
mov word [ecx + eax*2], dx
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
call fcn.00401230
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x414a20
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43adb4
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 4]
push 0x3ea
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
or ebx, 0xffffffff
test byte [0x44d194], 1
mov edi, eax
jne 0x414a8d
or dword [0x44d194], 1
mov ecx, 0x44d178
mov dword [ebp - 4], 0
call fcn.004100d0
push 0x43bdf0
call fcn.00423de2
add esp, 4
mov dword [ebp - 4], ebx
mov ecx, 0x44d178
call fcn.0040fb10
mov esi, eax
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x414b8c
test edi, edi
je 0x414b8c
test byte [0x44d194], 1
jne 0x414ade
mov eax, 1
or dword [0x44d194], eax
mov ecx, 0x44d178
mov dword [ebp - 4], eax
call fcn.004100d0
push 0x43bdf0
call fcn.00423de2
add esp, 4
mov dword [ebp - 4], ebx
mov ecx, 0x44d178
call fcn.0040fb20
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x414b12
cmp edi, ebx
je 0x414b12
push 4
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405620
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.00414520
push 0x44
lea edx, [ebp - 0x64]
push 0
push edx
call fcn.00424440
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x64]
push edx
push ecx
push 0
push 0
push 0
push 0
mov eax, 5
push 0
mov dword [ebp - 0x64], 0x44
mov word [ebp - 0x34], ax
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x414b8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4176b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b140
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp + 8]
call fcn.00405620
mov ecx, dword [esi + 0x118]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 0
call fcn.00405350
mov bl, al
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417721
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x417791
push edi
lea ecx, [ebp + 0x14]
call fcn.00405620
lea ecx, [ebp + 0x14]
push ecx
mov ecx, dword [esi + 0x118]
mov dword [ebp - 4], 1
call fcn.00405460
mov eax, dword [eax]
push 0
push 0
push eax
call fcn.0042467c
mov esi, eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41777b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4177c6
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4177c6
mov esi, dword [esi + 0x120]
mov edx, dword [ebp + 0x14]
push esi
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10