joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a710
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
mov edi, eax
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
jne 0x41a775
call fcn.00438892
test eax, eax
je 0x41a755
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41a757
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push edi
push 0x482c34
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov edx, dword [ebp + 0x414]
push edx
mov esi, ebx
call fcn.0041a620
test eax, eax
jne 0x41a7c2
call fcn.00438892
test eax, eax
je 0x41a79b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41a79d
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push edi
push 0x482c48
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
xor esi, esi
cmp dword [ebp + 0x414], esi
jbe 0x41a85c
lea edi, [ebp + 0x42c]
mov al, byte [edi - 0x10]
mov dl, byte [edi - 0x14]
mov byte [esp + 0x19], al
mov eax, dword [edi]
mov byte [esp + 0x18], dl
mov byte [esp + 0x1b], 0
mov dx, word [eax + 0xc]
mov word [esp + 0x1c], dx
mov ax, word [eax + 0xe]
movzx ecx, ax
movzx edx, dx
imul ecx, edx
cmp ecx, 8
mov word [esp + 0x1e], ax
jl 0x41a812
mov byte [esp + 0x1a], 0
jmp 0x41a81a
mov al, 1
shl al, cl
mov byte [esp + 0x1a], al
mov ecx, dword [edi - 4]
push esi
push ebp
mov dword [esp + 0x28], ecx
call fcn.0041a6b0
push 0
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x2c], eax
push 0x10
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a8bb
cmp dword [esp + 0x2c], 0x10
jne 0x41a8bb
inc esi
add edi, 0x20
cmp esi, dword [ebp + 0x414]
jb 0x41a7d6
xor ebx, ebx
cmp dword [ebp + 0x414], ebx
jbe 0x41a8b0
lea edi, [ebp + 0x42c]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
push 0
mov dword [eax + 0x14], 0
mov edx, dword [edi - 4]
mov eax, dword [edi - 8]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a8bb
mov edx, dword [esp + 0x2c]
cmp edx, dword [edi - 4]
jne 0x41a8bb
mov eax, dword [edi]
inc ebx
mov dword [eax + 0x14], esi
add edi, 0x20
cmp ebx, dword [ebp + 0x414]
jb 0x41a86c
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 4
Function at 0x41b740
Capabilities:
Change the wallpaper

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00436c78
push 0
push 0x20000
push 0xc00080
mov ecx, esi
call fcn.0043a40f
push 0
push 0
push 0x101
mov ecx, esi
call fcn.0043a43b
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, edi
sub eax, dword [esp + 0x10]
mov ecx, ebx
sub ecx, dword [esp + 0x14]
mov dword [esi + 0x3a0], eax
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, ecx
cdq
sar ebp, 3
and edx, 7
add eax, edx
sub edi, ebp
sar eax, 3
sub ebx, eax
mov dword [esi + 0x3b0], edi
pop edi
mov dword [esi + 0x3a8], ebp
mov dword [esi + 0x3ac], eax
mov dword [esi + 0x3b4], ebx
mov dword [esi + 0x3a4], ecx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret

Function at 0x41e660
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x74
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e681
sub eax, edx
sar eax, 1
mov ebx, eax
xor eax, eax
lea ebp, [ebx + 1]
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00434456
add esp, 4
push 0
push 0
push ebp
mov esi, eax
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
mov eax, ebx
lea ecx, [esp + 0x18]
call fcn.0041e820
lea ecx, [esp + 0x14]
call fcn.0041e8c0
push esi
call fcn.00434485
mov edi, dword [esp + 0x14]
add esp, 4
lea ebx, [esp + 0x6c]
call fcn.0041e5f0
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004541a5
add esp, 0x74
ret
Function at 0x41e720
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
sub esp, 0x474
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x470], eax
push edi
xor eax, eax
push 0x400
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x7c]
push eax
mov edi, ecx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00458440
push 0x483590
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.00455a36
mov eax, dword [esp + 0x1c]
add esp, 0x18
test eax, eax
je 0x41e807
push eax
push 0x400
lea edx, [esp + 0x7c]
push 1
push edx
call fcn.004576a9
add esp, 0x10
test eax, eax
je 0x41e7d0
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0xc]
call fcn.0041e820
mov edx, dword [esp + 4]
push edx
push 0x400
lea eax, [esp + 0x7c]
push 1
push eax
call fcn.004576a9
add esp, 0x10
test eax, eax
jne 0x41e7a5
push ebx
lea ecx, [esp + 0xc]
call fcn.0041e8c0
mov ecx, dword [esp + 8]
push ecx
call fcn.00455ce4
add esp, 4
lea ebx, [esp + 0x64]
call fcn.0041e5f0
pop ebx
pop edi
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.004541a5
add esp, 0x474
ret
mov ecx, dword [esp + 0x474]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004541a5
add esp, 0x474
ret
Function at 0x425120
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47563b
mov eax, dword fs:[0]
push eax
sub esp, 0x610
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x60c], eax
push ebx
push esi
mov eax, dword [0x4995d0]
xor eax, esp
push eax
lea eax, [esp + 0x61c]
mov dword fs:[0], eax
mov eax, dword [edi]
push 0x100
lea ecx, [esp + 0x21c]
push ecx
push 0x100
lea edx, [esp + 0x424]
push edx
push 0x100
lea ecx, [esp + 0x2c]
push ecx
push 3
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004579cc
add esp, 0x24
cmp word [esp + 0x10], 0
jne 0x42536a
call fcn.00435592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4251b5
push 0x80004005
call fcn.0040a660
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x624], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
cmp byte [esp + 0x62c], 0
je 0x425236
or eax, ecx
jge 0x425200
push 0x104
lea ecx, [esp + 0x10]
call fcn.0040a2f0
mov esi, dword [esp + 0xc]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x425228
cmp eax, 0x104
je 0x425228
or eax, 0xffffffff
push eax
lea ecx, [esp + 0x10]
call fcn.00409de0
jmp 0x42529e
xor eax, eax
push eax
lea ecx, [esp + 0x10]
call fcn.00409de0
jmp 0x42529e
or eax, ecx
jge 0x42524c
push 0x104
lea ecx, [esp + 0x10]
call fcn.0040a2f0
mov esi, dword [esp + 0xc]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x425268
cmp eax, 0x104
jae 0x425268
or eax, 0xffffffff
jmp 0x42526a
xor eax, eax
push eax
lea ecx, [esp + 0x10]
call fcn.00409de0
mov eax, 0x5c
lea ebx, [esp + 0xc]
call fcn.00425960
mov eax, 0x2f
call fcn.00425960
push 1
push 0x4806c4
mov ecx, ebx
call fcn.004099c0
mov esi, dword [esp + 0xc]
push 0x100
lea ecx, [esp + 0x21c]
push ecx
push 0x100
lea edx, [esp + 0x424]
push edx
push 0x100
lea eax, [esp + 0x2c]
push eax
push 3
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.004579cc
lea eax, [esp + 0x34]
add esp, 0x24
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4252e0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.0040a3a0
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425305
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.004099c0
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004099c0
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00409ea0
mov dword [esp + 0x624], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42536a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x61c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x60c]
xor ecx, esp
call fcn.004541a5
add esp, 0x61c
ret
Function at 0x426c00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
call fcn.0043a15c
mov esi, dword [eax + 0xc]
push 0x480c54
push 0x81
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x426c28
pop edi
pop esi
pop ecx
ret 4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x426c70
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push edi
push eax
call fcn.0045a250
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x426c79
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00426980
mov edx, dword [esp + 0x18]
add esp, 4
push esi
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
Function at 0x428e10
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x234
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [0x480710]
mov ecx, dword [0x480714]
mov edx, dword [0x480718]
mov dword [esp + 0x10], eax
mov eax, dword [0x48071c]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x480720]
mov dword [esp + 0x1c], eax
xor eax, eax
push 0x206
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dx, word [0x480724]
push eax
lea ecx, [esp + 0x32]
push ecx
mov word [esp + 0x30], dx
mov dword [esp + 0xc], 0x31
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x34], ax
call fcn.00458440
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x480204
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.0045456e
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push 8
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push 0x480728
push eax
call fcn.004133b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x14]
push 0x48032c
push edx
call fcn.004133b0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor ecx, ecx
mov eax, 0x31
cmp ax, word [esp]
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004541a5
add esp, 0x234
ret

Function at 0x428f20
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x31c
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x318], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x11a]
push ecx
mov word [esp + 0x11c], ax
call fcn.00458440
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0x26]
push eax
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x24], 0
mov word [esp + 0x28], dx
call fcn.00458440
add esp, 0x18
push 0x480254
push 0x480264
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x49e640], eax
test eax, eax
je 0x428fb4
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x49e640]
cmp dword [esp], 0
je 0x428fcb
push 0x480cb0
push 0x80
lea edx, [esp + 0x18]
push edx
jmp 0x428fda
push 0x480d28
push 0x80
lea eax, [esp + 0x18]
push eax
call fcn.004544ff
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 1
push 0
lea edx, [esp + 0x1c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x429016
xor eax, eax
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.004541a5
add esp, 0x31c
ret
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
call fcn.004133b0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x318]
xor edx, edx
xor eax, eax
cmp dx, word [esp + 0x110]
setne al
xor ecx, esp
call fcn.004541a5
add esp, 0x31c
ret
Function at 0x42dd50
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x128
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x114
xor esi, esi
lea eax, [esp + 0x18]
push esi
push eax
call fcn.00458440
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42de07
cmp dword [esp + 0x18], 5
jbe 0x42de07
lea edx, [esp + 4]
push edx
push 0x20019
push esi
mov eax, 4
push 0x485160
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42de07
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push 0x4851d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ddfc
xor ecx, ecx
cmp dword [esp + 8], 1
sete cl
mov esi, ecx
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004541a5
add esp, 0x128
ret
Function at 0x42f900
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1b0
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x1ac], eax
xor eax, eax
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
test ebp, ebp
je 0x42fa88
lea eax, [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 0x10], eax
lea ecx, [ecx]
push 0x40
lea ecx, [esp + 0x40]
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x80
lea edx, [esp + 0xc0]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, 0x4a1200
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42f9a0
sub eax, ecx
lea esi, [eax + eax + 2]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00434490
push esi
mov edi, eax
push 0
push edi
call fcn.00458440
mov eax, 0x4a1200
add esp, 0x10
lea ecx, [eax + 1]
jmp 0x42f9e0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42f9e0
push esi
push edi
sub eax, ecx
push eax
push 0x4a1200
push 0
push 0
call ebx
lea eax, [esp + 0xbc]
mov edi, edi
mov cx, word [eax]
cmp cx, word [edi]
jne 0x42fa26
test cx, cx
je 0x42fa22
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x42fa26
add eax, 4
add edi, 4
test cx, cx
jne 0x42fa00
xor eax, eax
jmp 0x42fa2b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fa74
mov ecx, 0x485850
lea eax, [esp + 0x3c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42fa5e
test dx, dx
je 0x42fa5a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42fa5e
add eax, 4
add ecx, 4
test dx, dx
jne 0x42fa38
xor eax, eax
jmp 0x42fa63
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fa74
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
add eax, 4
mov dword [esp + 0x10], eax
push 2
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
test ebp, ebp
jne 0x42f970
pop ebx
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
mov eax, dword [esp + esi*4 + 0x10]
test eax, eax
je 0x42faaa
push 0
push 0
push 0x404
push eax
call edi
inc esi
cmp esi, 0xa
jl 0x42fa90
mov ecx, dword [esp + 0x1b8]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004541a5
add esp, 0x1b0
ret
Function at 0x42fad0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x29c]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9a]
push ecx
mov word [esp + 0x9c], ax
call fcn.00458440
mov ebx, 0x485ce4
lea edi, [esp + 0x9c]
call fcn.004176c0
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.00458440
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.00458440
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x18]
push ecx
push 0x485d58
push 0x485d20
call fcn.004133b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.0040a4d0
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x42fbb4
push 0x2c
push eax
call fcn.00455202
add esp, 8
test eax, eax
je 0x42fbb4
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x42fbb4
lea edx, [esp + eax*2 + 0x12]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x14], cx
lea eax, [esp + 0x54]
push 0x20
push eax
call fcn.004544ff
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.00454db8
lea edx, [esp + 0x54]
push edx
mov dword [esi], eax
call fcn.00454db8
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x42fbf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.004541a5
add esp, 0x290
ret 4
Function at 0x42fc10
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x29c]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9a]
push ecx
mov word [esp + 0x9c], ax
call fcn.00458440
mov ebx, 0x485ce4
lea edi, [esp + 0x9c]
call fcn.004176c0
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.00458440
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.00458440
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x18]
push ecx
push 0x485d64
push 0x485d34
call fcn.004133b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.0040a4d0
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x42fcf4
push 0x2c
push eax
call fcn.00455202
add esp, 8
test eax, eax
je 0x42fcf4
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x42fcf4
lea edx, [esp + eax*2 + 0x12]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x14], cx
lea eax, [esp + 0x54]
push 0x20
push eax
call fcn.004544ff
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.00454db8
lea edx, [esp + 0x54]
push edx
mov dword [esi], eax
call fcn.00454db8
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x42fd33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.004541a5
add esp, 0x290
ret 4
Function at 0x42fd50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x29c]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9a]
push ecx
mov word [esp + 0x9c], ax
call fcn.00458440
mov ebx, 0x485ce4
lea edi, [esp + 0x9c]
call fcn.004176c0
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.00458440
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.00458440
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x18]
push ecx
push 0x485d6c
push 0x485d48
call fcn.004133b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.0040a4d0
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x42fe34
push 0x2c
push eax
call fcn.00455202
add esp, 8
test eax, eax
je 0x42fe34
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x42fe34
lea edx, [esp + eax*2 + 0x12]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x14], cx
lea eax, [esp + 0x54]
push 0x20
push eax
call fcn.004544ff
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.00454db8
lea edx, [esp + 0x54]
push edx
mov dword [esi], eax
call fcn.00454db8
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x42fe73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.004541a5
add esp, 0x290
ret 4

Function at 0x43aae3
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x472cf3
call fcn.00458259
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43ab08
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43ab4e
lea ecx, [ebp - 0x10]
call fcn.00409be0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004344f4
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040a200
mov eax, esi
call fcn.00458331
ret 8