joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418cb0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1631
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x52dac0]
sub esi, dword [0x52dabc]
push 3
sar esi, 2
push esi
push 0x102f
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [0x52d6f8]
jbe 0x418d1e
push 0
lea eax, [esi - 1]
push eax
push 0x1013
lfence
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x52e7dc]
lea eax, [ebp - 0x4c]
mov dword [0x52d6f8], esi
push 0x1e
push eax
call fcn.0046ac20
movsd xmm0, qword [0x52e7e0]
lea eax, [ebp - 0x4c]
add esp, 0x10
push eax
push dword [0x52e7e8]
lea eax, [ebp - 0x254]
sub esp, 8
movsd qword [esp], xmm0
push 0x4e4f60
push eax
call fcn.00402dc0
add esp, 0x18
lea eax, [ebp - 0x254]
push eax
push 0x419
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x38
lea eax, [ebp - 0x290]
mov dword [ebp - 0x298], 0x40
push 0
push eax
mov dword [ebp - 0x294], 0
call fcn.004aa220
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x274]
shrd ecx, eax, 0x14
push 0
shr eax, 0x14
push eax
push ecx
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x258], 0
push eax
call fcn.0046ab10
push eax
lea eax, [ebp - 0x2a0]
mov dword [ebp - 4], 0
push 0x4e4fbc
push eax
call fcn.004a23a0
mov esi, eax
push 0x4e4fc0
mov byte [ebp - 4], 1
call fcn.004a27e0
push eax
push 0x4e4fc0
call fcn.004a29e0
add esp, 0x28
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x258]
mov ecx, esi
push eax
call fcn.004a24b0
mov ecx, dword [ebp - 0x29c]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x418e47
call fcn.004a2a20
mov ecx, dword [ebp - 0x2a0]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x418e5a
call fcn.004a2a20
mov ecx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x418e6d
call fcn.004a2a20
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 8
call fcn.004a2380
push eax
push 0x459
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 4], 0xa
test ecx, ecx
je 0x418ea1
call fcn.004a2a20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41bd40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1a9f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x517b80]
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 dword [ebp - 0x3c], ecx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x30], 0
push 0x4e5218
push dword [0x52e3b0]
mov dword [ebp - 0x38], ebx
push dword [ecx + 4]
call fcn.00490ba0
lea eax, [ebx + 2]
push 0x5c
push eax
call fcn.004ab205
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x41bdb2
lea eax, [ecx + 2]
push 0x5c
push eax
call fcn.004ab205
add esp, 8
mov ecx, eax
mov dword [ebp - 0x2c], 0
test ecx, ecx
je 0x41bdf3
sub ecx, ebx
sar ecx, 1
mov eax, ecx
neg eax
sbb eax, eax
and eax, 2
push eax
push 0x4e454c
lea eax, [ecx + ecx]
push eax
push ebx
call fcn.004a2980
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x34], esi
mov edi, dword [ebp - 0x34]
mov ebx, 1
mov dword [ebp - 4], 0
jmp 0x41be17
push ebx
call fcn.004a27e0
push eax
push ebx
call fcn.004a29e0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x34], edi
mov esi, dword [ebp - 0x34]
mov ebx, 2
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41be28
mov ecx, eax
call fcn.004a26e0
mov dword [ebp - 4], 2
test bl, 2
je 0x41be49
and ebx, 0xfffffffd
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 4
test edi, edi
je 0x41be49
mov ecx, edi
call fcn.004a2a20
mov byte [ebp - 4], 5
test bl, 1
je 0x41be65
mov byte [ebp - 4], 6
test esi, esi
je 0x41be61
mov ecx, esi
call fcn.004a2a20
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
push edi
push 0x450
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [ebp - 0x2c]
call fcn.004a2380
push eax
push 0x44f
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [ebp - 0x2c]
call fcn.004a2380
push eax
push 0x403
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3f9
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebx + 0x40], eax
mov esi, 5
xor eax, eax
cmp word [edi], ax
push 0x400
push dword [ebx + 4]
cmovne esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x4030
push 2
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x4e523c
push eax
push dword [ebx + 0x40]
mov dword [ebp - 0x24], 0xc8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x4e5254
mov dword [ebp - 0x18], 0xc8
mov dword [ebp - 0x14], 0
call fcn.00450ff0
push 0x4e5268
push dword [0x52e3b0]
push dword [ebx + 0x40]
call fcn.00451210
add esp, 0x20
push 0
push 0
push 0x8000
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x20
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 7
test ecx, ecx
je 0x41bf5e
call fcn.004a2a20
xor eax, eax
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.004a71aa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41cc20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1c13
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x517b80]
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 ebx, ecx
mov dword [ebp - 0x14], ebx
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
lea esi, [ebx + 0x24]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a71b8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0x4e454c
mov byte [ebp - 4], 2
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
call fcn.004a27e0
push eax
push 0x4e454c
call fcn.004a29e0
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x1c]
mov byte [ebp - 4], 3
cmp eax, dword [ebx + 0x20]
je 0x41ccf2
mov dword [eax], esi
test esi, esi
je 0x41ccec
mov ecx, esi
call fcn.004a26e0
add dword [ebx + 0x1c], 4
jmp 0x41ccff
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebx + 0x18]
call fcn.0041c750
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x41cd0d
mov ecx, esi
call fcn.004a26e0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x24]
call fcn.0041cb20
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x41cd38
call fcn.004a2a20
mov byte [ebp - 4], 6
test esi, esi
je 0x41cd47
mov ecx, esi
call fcn.004a2a20
mov eax, ebx
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.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x41e240
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
mov edi, dword [ebp + 0xc]
push 4
push eax
push 4
push 0
push 0x4e52f0
push esi
mov dword [ebp - 8], 0xf
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x10]
push eax
push 0x4e5314
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 0x36
push 0x4e5328
push 1
push 0
push 0x4e5360
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0xc]
push eax
push 0x4e5328
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test edi, edi
mov edx, 0x4e5380
cmovne edx, edi
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e2c0
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push 0x4e5390
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 4
push 0
push 0x4e53a4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x41e330
Capabilities:
Delete file
Delete registry key
Delete registry value
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1d92
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 0
push eax
push 0x4e5470
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41e49c
push 0x4e56f8
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x4e5710
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x4e5724
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x4e54c8
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x4e54d4
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x4e54f0
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x4e550c
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x4e5730
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x21c], 0
call fcn.0041e020
mov esi, eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
call fcn.0041e020
push esi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 1
call fcn.0041e140
lea ecx, [ebp - 0x228]
call fcn.00402fd0
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x41e488
mov eax, dword [eax]
jmp 0x41e48a
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x21c]
call fcn.00402fd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x41ebd0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x104
push eax
mov dword [ebp - 0x418], esi
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x4e53b0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4e53cc
push eax
call fcn.00402dc0
lea eax, [ebp - 0x20c]
push eax
push 0x4e53e8
call fcn.0041ed10
add esp, 0x18
test al, al
jne 0x41ece9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x20
je 0x41ece9
cmp byte [ebp + 0xc], 0
je 0x41ec54
push 0
jmp 0x41ecf0
push 0x4e53b0
lea eax, [ebp - 0x414]
push 0x4e5400
push eax
call fcn.00402dc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
push 0x4e53e8
call fcn.0041ed10
add esp, 8
test al, al
jne 0x41ece9
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push 0x4e53b0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4e3f10
push eax
call fcn.00402dc0
lea eax, [ebp - 0x20c]
push eax
push 0x4e53e8
call fcn.0041ed10
add esp, 0x18
test al, al
je 0x41ec4d
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.0041e020
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a71aa
mov esp, ebp
pop ebp
ret

Function at 0x41ed10
Capabilities:
Extract resource via kernel32 functions
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x4e52a4
push eax
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
je 0x41edbc
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push 0x80
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push 0x4e52b4
lea eax, [ebp - 8]
push ebx
push eax
call fcn.004ba366
add esp, 0xc
push 0x82
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov eax, dword [ebp - 8]
test eax, eax
je 0x41edbc
push eax
push edi
push 1
push esi
call fcn.004ba7c7
push dword [ebp - 8]
call fcn.004ba4d2
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x41edd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 4
push eax
push 0x4e5470
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41ee2b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x4e54f0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x4265a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 8], edi
mov dword [edi], eax
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.DLL_GetTickCount64]
push esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
call fcn.004a27e0
push eax
push esi
call fcn.004a29e0
mov dword [edi + 0x10], eax
add esp, 0xc
cmp dword [edi], 0
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x28], 0
je 0x4266a0
test ebx, ebx
je 0x42662e
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
jmp 0x426646
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [edi + 0x1c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
push 2
sar eax, 1
push ebx
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov dword [edi + 0x28], esi
test esi, esi
je 0x426687
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x426687
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x426667
lea eax, [ebp - 8]
push eax
push 0
push edi
push 0x419a50
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [edi + 0x24], eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3e22
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x517b80]
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 edi, ecx
mov dword [ebp - 0x14], edi
push edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
lea eax, [edi + 0x1c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
lea ecx, [eax + 4]
mov byte [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x14], 0x186a0
call fcn.00426010
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0xc
mov byte [ebp - 4], 4
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
call fcn.004a71b8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x44], eax
push 0xc
mov byte [ebp - 4], 5
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call fcn.004a71b8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x4c], eax
lea ebx, [edi + 0x54]
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a71b8
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, dword [ebx + 8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
imul ecx
mov byte [ebp - 4], 8
sar edx, 2
mov eax, edx
mov dword [ebp - 0x14], 0xa
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
jae 0x4339ad
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004336d0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0x12
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
lea esi, [edi + 0x84]
push esi
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], 0
lea esi, [edi + 0xb0]
push esi
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea esi, [edi + 0xe0]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x18], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a71b8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
push 0x18
mov byte [ebp - 4], 0xf
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004a71b8
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 8], eax
mov eax, edi
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.004a71aa
mov esp, ebp
pop ebp
ret
Function at 0x4377d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0x18], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
movups xmmword [ebp - 0x14], xmm0
push 0x130a
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0
sub eax, 0xd
push 0
cdq
sub eax, edx
push 0x130b
push dword [esi + 0x24]
mov edi, eax
sar edi, 1
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 8], eax
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov esi, 4
cmove esi, ecx
mov ecx, dword [ebp - 0x10]
add ecx, edi
sub edx, esi
lea eax, [ecx + 0xd]
push eax
push edx
push ecx
lea eax, [edx - 0xe]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 8
Function at 0x43ba50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d45ab
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x517b80]
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 edi, ecx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0
xor esi, esi
nop dword [eax]
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [esi + 0x4e6ef4]
push dword [0x52e7d8]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004a2650
push 0x4e70dc
lea ecx, [ebp - 0x21c]
call fcn.004a2650
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [esi + 0x4e6ef0]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004a2650
push 0x4e70e4
lea ecx, [ebp - 0x21c]
call fcn.004a2650
add esi, 8
cmp esi, 0x38
jb 0x43baa0
push 0
push 0
push 0xe
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43bc29
mov byte [ebp - 4], 1
call fcn.0040bad0
mov ebx, eax
test ebx, ebx
je 0x43bc7b
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4dc8a4]
mov ecx, ebx
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
push dword [edi + 0x40]
mov byte [ebp - 4], 2
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
test ebx, ebx
js 0x43bc71
lfence
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x43bbae
push ebx
lea ecx, [ebp - 0x220]
lfence
call fcn.0040c490
mov esi, dword [ebp - 0x220]
push ebx
push esi
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x43bbd2
test esi, esi
jne 0x43bbc6
xor eax, eax
jmp 0x43bbda
push dword [esi - 8]
push esi
call fcn.004b9a2b
add esp, 8
test eax, eax
js 0x43bc71
cmp eax, dword [esi - 8]
lea ebx, [esi - 0x10]
jg 0x43bc71
xor ecx, ecx
mov dword [ebx + 4], eax
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x21c]
push esi
call fcn.004a2650
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x43bc29
lfence
mov edi, dword [ebx]
push ebx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4dc8a4]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
push dword [edi + 4]
call fcn.00466c80
add esp, 8
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x43bc51
call fcn.004a2a20
xor eax, eax
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.004a71aa
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.0040b680
push 0x80004005
call fcn.0040b680
int3
Function at 0x43bc90
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push 0
mov esi, ecx
push 0
push 0x130b
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x118]
mov edi, eax
cmp dword [0x52dbe4], edi
jne 0x43bcc6
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
ret 0xc
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x52dbe4], edi
mov eax, dword [esi + edi*4 + 0x11c]
push 5
push eax
mov dword [esi + 0x118], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x105
push 0
push 0
push dword [esi + 0x118]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
xor eax, eax
pop esi
ret 0xc