joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5702d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1334], 0
je 0x57034a
cmp byte [edi + 0x44], 0
jne 0x5704d4
push 1
call fcn.005306f0
mov esi, dword [edi + 0x1334]
lea edx, [edi + 8]
lea ecx, [esp + 0xc]
call fcn.00560530
cmp dword [eax + 0x14], 8
jb 0x57031c
mov eax, dword [eax]
push eax
push 0xde
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0xc]
call fcn.0040ab30
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
push 1
call fcn.005306f0
push 0
push str.find.use.strip
lea ecx, [edi + 0xb0c]
call fcn.00528190
mov cl, byte [edi + 0x142c]
test eax, eax
je 0x57047a
test cl, cl
je 0x570384
mov eax, dword [edi + 0x13f0]
lea ecx, [edi + 0x13f0]
call dword [eax + 0x10]
cmp byte [edi + 0x1528], 0
je 0x57039c
mov eax, dword [edi + 0x14ec]
lea ecx, [edi + 0x14ec]
call dword [eax + 0x10]
mov eax, dword [edi]
mov ecx, edi
mov byte [edi + 0x148c], 1
call dword [eax + 0x158]
push 0
push str.find.strip.incremental
lea ecx, [edi + 0xb0c]
call fcn.00528190
mov dword [edi + 0x14d0], eax
add edi, 0x1450
mov eax, dword [edi + 0x40]
mov byte [eax + 0x42], 0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [edi + 0x40]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 0x40]
sub esp, 8
mov edx, esp
add ecx, 0x4c
mov dword [edx], vtable.GUI::Window.0
mov eax, dword [edi + 0x54]
mov dword [edx + 4], eax
call fcn.005731e0
mov edx, dword [edi + 0x40]
lea ecx, [esp + 0x14]
mov esi, dword [edi + 0x54]
add esp, 8
add edx, 4
call fcn.00560530
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
jb 0x570423
mov eax, dword [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xffff0000
push 0
push 0x142
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0xc]
call fcn.0040ab30
mov ecx, edi
call fcn.00575ae0
mov ecx, dword [edi + 0x40]
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp dword [edi + 0x80], 2
jne 0x5704d4
mov ecx, dword [edi + 0x40]
push 1
mov eax, dword [ecx]
call dword [eax + 0x24]
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
test cl, cl
jne 0x5704d4
cmp byte [edi + 0x1528], cl
jne 0x5704d4
push 0
mov byte [edi + 0x44], cl
lea ecx, [edi + 0xb0c]
push 0x5d2460
call fcn.00528190
mov ecx, edi
mov edx, eax
call fcn.00563920
neg edx
push edi
sbb edx, edx
push 0x56fcf0
and edx, 3
push eax
add edx, 0x190
push edx
push dword [0x602f64]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 4
push eax
mov dword [edi + 0x1334], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
Function at 0x572f70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac0d1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5f300c]
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, edx
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], ebx
push edi
mov dword [ebp - 0x30], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], eax
lea esi, [eax + 1]
push esi
call fcn.00560b50
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
push esi
mov esi, dword [ebp - 0x40]
push esi
push edi
mov dword [ebp - 0x30], 1
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x573068
push dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040acf0
lea eax, [ebp - 0x28]
cmp ebx, eax
je 0x573060
mov ecx, ebx
call fcn.0040ab30
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
call fcn.0040ab30
lea ecx, [ebp - 0x40]
call fcn.00414470
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.0059df64
mov esp, ebp
pop ebp
ret

Function at 0x573350
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x18], eax
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 1
push edx
lea edx, [esp + 0x14]
mov ecx, dword [edi + 8]
push edx
mov eax, dword [ecx]
call dword [eax]
cmp dword [esp + 0x20], 8
lea edx, [esp + 0xc]
jb 0x57338d
mov edx, dword [esp + 0xc]
mov ecx, dword [edi + 0xc]
call fcn.00573150
push 0
mov dword [esi], vtable.GUI::Window.0
mov dword [esi + 4], 0
lea ebx, [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [esp + 0x20], 8
mov ecx, eax
lea eax, [esp + 0xc]
jb 0x5733be
mov eax, dword [esp + 0xc]
push 0
push ecx
push 0
push dword [edi + 4]
push 0x15
push ebx
push 2
push 2
push 0x44000002
push eax
push 0x5d7f20
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
mov dword [esi + 4], eax
push dword [edi + 0xc]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0xc]
call fcn.0040ab30
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret 8
Function at 0x574860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
call fcn.005737e0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push eax
push 0
push dword [ebx + 4]
push 0x15
push 0x64
push 2
push 2
push 0x44000000
push 0x5d8018
push 0x5d801c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 4
push eax
mov dword [ebx + 0x44], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0xc]
push 0x30
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push eax
push 0
push dword [ebx + 4]
push 0x15
push 0x64
push 2
push 2
push 0x54000000
push 0x5d7ff0
push str.msctls_progress32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x4c], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x574aa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, ecx
call fcn.005737e0
push 0x6666ff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x44], eax
mov ecx, esi
push str.Find:
lea eax, [esp + 8]
push eax
call fcn.00573350
push 0
mov eax, dword [eax + 4]
mov dword [esi + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push eax
push 0xfd
push dword [esi + 4]
push 0x15
push 0x12c
push 2
push 0x32
push 0x44010080
push 0x5d7fec
push 0x5d808c
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 4
push eax
mov dword [esi + 0x54], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0xc]
push 0x30
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xfe
push 0x5d7ecc
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00573420
lea ecx, [esp + 4]
push ecx
mov eax, dword [eax + 4]
push eax
mov dword [esi + 0x5c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esp + 8]
mov eax, dword [esp + 0x10]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x38], eax
pop esi
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
Function at 0x575300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, ecx
call fcn.005737e0
push 0x6666ff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x44], eax
mov ecx, esi
push str.Find:
lea eax, [esp + 8]
push eax
call fcn.00573350
push 0
mov eax, dword [eax + 4]
mov dword [esi + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push eax
push 0xde
push dword [esi + 4]
push 0x50
push 0x12c
push 2
push 0x32
push 0x44010042
push 0x5d8074
push 0x5d8078
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
mov dword [esi + 0x54], eax
push dword [esi + 0xc]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 4]
push eax
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x10]
sub ecx, dword [esp + 8]
inc eax
push 0
add eax, ecx
mov ecx, esi
push 1
mov dword [esi + 0x38], eax
lea eax, [esp + 0xc]
push 0x5d7ecc
push eax
call fcn.00573420
push 0
push 0xf5
push 0x5d7ed8
mov eax, dword [eax + 4]
mov ecx, esi
mov dword [esi + 0x88], eax
lea eax, [esp + 0x10]
push eax
call fcn.00573420
push 1
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esi + 0x90], eax
lea eax, [esp + 8]
push dword [0x5ff1b0]
push dword [0x5ff1a8]
push eax
call fcn.00573420
push 1
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esi + 0x5c], eax
lea eax, [esp + 8]
push dword [0x5ff1bc]
push dword [0x5ff1b4]
push eax
call fcn.00573420
mov eax, dword [eax + 4]
mov ecx, esi
push 1
mov dword [esi + 0x64], eax
lea eax, [esp + 8]
push dword [0x5ff1c8]
push dword [0x5ff1c0]
push eax
call fcn.00573420
push 1
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esi + 0x6c], eax
lea eax, [esp + 8]
push dword [0x5ff1d4]
push dword [0x5ff1cc]
push eax
call fcn.00573420
push 1
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esi + 0x74], eax
lea eax, [esp + 8]
push dword [0x5ff1e0]
push dword [0x5ff1d8]
push eax
call fcn.00573420
push 1
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esi + 0x7c], eax
lea eax, [esp + 8]
push dword [0x5ff1ec]
push dword [0x5ff1e4]
push eax
call fcn.00573420
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esi + 0x98], eax
pop esi
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
Function at 0x576160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x3c], 0
je 0x5762a6
mov esi, dword [ebp + 8]
push esi
call fcn.005738d0
test al, al
jne 0x57629c
cmp esi, 0xd
jne 0x5762a6
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x5762a6
call esi
mov ecx, dword [edi + 0x88]
cmp eax, ecx
je 0x57627b
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x57627b
call esi
lea ecx, [edi + 0x9c]
mov edx, eax
call fcn.00576140
test al, al
jne 0x57627b
call esi
lea ecx, [edi + 0xa4]
mov edx, eax
call fcn.00576140
test al, al
je 0x576215
mov byte [esp + 0xc], 0
mov esi, 0xec
push dword [esp + 0xc]
mov ecx, edi
push esi
call fcn.005763b0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call esi
lea ecx, [edi + 0x8c]
mov edx, eax
call fcn.00576140
test al, al
je 0x576248
mov byte [esp + 0xc], 0
mov esi, 0xed
push dword [esp + 0xc]
mov ecx, edi
push esi
call fcn.005763b0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call esi
lea ecx, [edi + 0xac]
mov edx, eax
call fcn.00576140
test al, al
je 0x57627b
mov byte [esp + 0xc], 0
mov esi, 0xee
push dword [esp + 0xc]
mov ecx, edi
push esi
call fcn.005763b0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x10
mov esi, 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov ecx, edi
shr eax, 0x1f
mov byte [esp + 0xc], al
push dword [esp + 0xc]
push esi
call fcn.005763b0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x587710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x1c], edx
push edi
mov dword [esp + 0x24], esi
mov edi, 1
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
sub ecx, dword [eax]
sub ecx, 0x10
sar ecx, 4
sub ecx, ebx
jne 0x587754
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x24]
dec ecx
mov edx, ebx
mov dword [esp + 0x2c], ecx
mov ecx, esi
call fcn.00577fd0
cmp eax, 0x5d88e0
je 0x587898
mov eax, dword [eax + 8]
and eax, 0xf
cmp al, 3
jne 0x587898
mov edx, ebx
mov ecx, esi
call fcn.00577fd0
mov ecx, dword [esp + 0x24]
mov edx, ebx
mov esi, eax
call fcn.00577fd0
cmp dword [eax + 8], 0x13
jne 0x5877eb
cmp dword [esi + 8], 0x13
jne 0x5877b3
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push ecx
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
push 0x5ffda8
jmp 0x58781f
push 0
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.0059ac20
add esp, 4
test eax, eax
jne 0x5877da
xor ecx, ecx
mov dword [esp + 0x30], eax
push ecx
push eax
mov dword [esp + 0x3c], ecx
push 0x5ffda8
jmp 0x58781f
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
push eax
push 0x5ffda8
jmp 0x58781f
cmp dword [esi + 8], 3
jne 0x5877f9
fld qword [esi]
fst qword [esp + 0x38]
jmp 0x587814
lea edx, [esp + 0x38]
mov ecx, esi
call fcn.0059ab90
test eax, eax
jne 0x587810
fldz
fst qword [esp + 0x38]
jmp 0x587814
fld qword [esp + 0x38]
sub esp, 8
fstp qword [esp]
push 0x5ffda0
push dword [esp + 0x2c]
call fcn.00511b60
add esp, 0x10
test edi, edi
je 0x587837
test eax, eax
jg 0x5878cc
xor edi, edi
mov ecx, dword [esp + 0x2c]
inc ebx
test ecx, ecx
jne 0x587750
test edi, edi
jne 0x587740
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [esp + 0x24]
mov esi, dword [eax]
mov eax, dword [ebx + 0xc]
push esi
mov dword [eax + 8], edi
add dword [ebx + 0xc], 0x10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
add esp, 4
push eax
push ebx
call sym.SciTE.exe_lua_pushstring
mov ecx, dword [ebx + 0xc]
add esp, 8
mov eax, esi
cdq
mov dword [ecx], eax
lea eax, [edi + 3]
pop edi
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x13
add dword [ebx + 0xc], 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push ebx
push esi
call sym.SciTE.exe_lua_tolstring
add esp, 0xc
test eax, eax
je 0x5878d6
test edi, edi
je 0x587837
push dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, esi
jne 0x587837
mov edi, 1
jmp 0x587839
push 4
mov edx, ebx
mov ecx, esi
call fcn.0057a9a0
int3
Function at 0x58cef0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
lea edx, [esp + 0x10]
call fcn.0058cd60
mov edx, eax
test edx, edx
je 0x58cf4f
mov ecx, dword [esp + 0x10]
sub edx, esi
mov dword [ebx], ecx
mov eax, 0x13
mov ecx, dword [esp + 0x14]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
push str..xXnN
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
add esp, 8
test eax, eax
je 0x58cf84
movzx edi, byte [eax]
or edi, 0x20
cmp edi, 0x6e
jne 0x58cf86
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
xor edi, edi
push edi
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.0058ccf0
mov edx, eax
add esp, 4
test edx, edx
jne 0x58d025
push 0x2e
push esi
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov edx, esi
mov dword [esp + 0x18], eax
add esp, 8
lea ecx, [edx + 1]
mov dword [esp + 0x1c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x58cfb8
sub edx, dword [esp + 0x1c]
cmp edx, 0xc8
ja 0x58cf6d
test eax, eax
je 0x58cf6d
lea edx, [esp + 0x28]
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x58cfd7
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
sub ecx, esi
push edi
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + ecx + 0x2c], al
lea ecx, [esp + 0x2c]
call fcn.0058ccf0
mov edx, eax
add esp, 4
test edx, edx
je 0x58cf6d
mov eax, esi
lea ecx, [esp + 0x28]
sub eax, ecx
add edx, eax
test edx, edx
je 0x58cf6d
fld qword [esp + 0x20]
sub edx, esi
mov ecx, dword [esp + 0xfc]
mov eax, 3
pop edi
fstp qword [ebx]
mov dword [ebx + 8], eax
lea eax, [edx + 1]
pop esi
pop ebx
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
Function at 0x592e20
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x338
push 8
push 0
push ebx
call edi
mov ecx, eax
add esp, 0x10
mov dword [esp + 0xc], ecx
test ecx, ecx
jne 0x592e68
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 4]
mov dword [esp + 0x1c], 0x5d88e0
lea esi, [ecx + 0x80]
mov dword [eax], 0
xor ecx, ecx
mov byte [eax + 4], 8
mov byte [esi + 0x3c], 1
mov word [eax + 6], cx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x30], ecx
mov word [eax + 0x6e], cx
mov byte [eax + 5], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x20], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x2c], eax
mov dword [eax + 0x58], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x24], ecx
mov ecx, 1
mov byte [eax + 0x74], 1
mov word [eax + 0x6c], cx
mov byte [eax + 8], 0
mov dword [eax + 0x5c], 0
mov dword [esi + 0x7c], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esi + 4], ebx
lea ebx, [ecx + 0xf]
push 0
mov dword [esi], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], sym.SciTE.exe_lua_newstate
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov edi, eax
add esp, 4
xor edi, ebx
movzx edx, byte [esp + ebx + 0x13]
mov ecx, edi
shl ecx, 5
mov eax, edi
add edx, ecx
shr eax, 2
add edx, eax
dec ebx
xor edi, edx
cmp ebx, 1
jae 0x592f04
mov dword [esi + 0x38], edi
mov edx, 0x5929e0
mov word [esi + 0x3e], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
mov byte [esi + 0x3d], 7
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x68], 0
mov dword [esi + 8], 0x338
mov dword [esi + 0xc], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0xc8
mov dword [esi + 0x74], 0xc8
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov esi, dword [esp + 0xc]
add esi, 4
push 0
mov ecx, esi
call fcn.00582c50
add esp, 4
test eax, eax
je 0x59304f
mov ecx, esi
call fcn.00592bf0
xor esi, esi
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
Function at 0x593090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov edi, esi
mov eax, esi
xor eax, dword [ebp + 8]
shr edi, 5
inc edi
cmp esi, edi
jb 0x5930cb
lea esp, [esp]
movzx edx, byte [ebx + esi - 1]
mov ecx, eax
shl ecx, 5
sub esi, edi
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
cmp esi, edi
jae 0x5930b0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x593220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push esi
push edi
mov dword [ebp - 8], eax
mov edi, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov esi, eax
mov edx, eax
mov dword [ebp - 4], edi
shr edx, 5
mov ebx, dword [edi + 0x38]
inc edx
xor ebx, eax
cmp eax, edx
jb 0x59326e
mov edi, dword [ebp - 0xc]
mov edi, edi
movzx ecx, byte [edi + esi - 1]
mov eax, ebx
shl eax, 5
sub esi, edx
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp esi, edx
jae 0x593250
mov edi, dword [ebp - 4]
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
lea ecx, [edx - 1]
and ecx, ebx
mov edi, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x59331c
mov ecx, dword [ebp + 8]
lea ecx, [ecx]
movzx eax, byte [edi + 7]
cmp ecx, eax
jne 0x5932eb
mov edx, dword [ebp - 0xc]
lea eax, [edi + 0x10]
mov esi, ecx
sub esi, 4
jb 0x5932b6
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x5932bb
add edx, 4
add eax, 4
sub esi, 4
jae 0x5932a5
cmp esi, 0xfffffffc
je 0x5932fa
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x5932e8
cmp esi, 0xfffffffd
je 0x5932fa
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x5932e8
cmp esi, 0xfffffffe
je 0x5932fa
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x5932e8
cmp esi, 0xffffffff
je 0x5932fa
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x5932fa
mov ecx, dword [ebp + 8]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x593290
mov esi, dword [ebp - 4]
mov edx, dword [esi + 0x20]
jmp 0x59331f
mov ecx, dword [ebp - 4]
mov al, byte [edi + 5]
xor al, 3
mov cl, byte [ecx + 0x3c]
xor cl, 3
test al, cl
jne 0x5933a5
mov byte [edi + 5], al
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cmp dword [esi + 0x1c], edx
jl 0x593347
cmp edx, 0x3fffffff
jg 0x593347
add edx, edx
mov ecx, edi
call fcn.005930d0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
and ecx, ebx
lea eax, [eax + ecx*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov esi, dword [edi + 0x10]
add eax, 0x11
push eax
push 4
mov ecx, edi
call fcn.0058b160
mov cl, byte [esi + 0x3c]
mov edi, eax
and cl, 3
mov byte [edi + 5], cl
lea eax, [edi + 0x10]
mov byte [edi + 4], 4
mov ecx, dword [esi + 0x40]
mov dword [edi], ecx
mov dword [esi + 0x40], edi
mov dword [edi + 8], ebx
mov ebx, dword [ebp + 8]
push ebx
push dword [ebp - 0xc]
mov byte [edi + 6], 0
push eax
mov byte [edi + ebx + 0x10], 0
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x10]
add esp, 0x14
mov byte [edi + 7], bl
mov eax, dword [ecx]
mov dword [edi + 0xc], eax
mov dword [ecx], edi
mov ecx, dword [ebp - 4]
inc dword [ecx + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret