joyce8/EMBER2024-capa huggingface dataset:
Function at 0x560340
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x5603e0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
push ecx
push str.PRAGMA__Q.page_size
call fcn.00513550
add esp, 8
mov dword [ebp - 8], eax
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0055e400
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5603bf
mov edx, dword [ebp - 0xc]
sub edx, 0x40
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
imul edx, edx, 0x33
add edx, 4
mov eax, dword [ebp + 0xc]
cmp edx, dword [eax + 0x10]
jge 0x5603bd
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
imul edx, edx, 0x33
add edx, 4
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x10], edx
jmp 0x5603de
mov ecx, dword [ebp + 8]
push ecx
call fcn.0053c230
add esp, 4
push eax
push 0x5f05e4
call fcn.00513550
add esp, 8
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x56043d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
push eax
push str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.00513550
add esp, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0055e400
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x56043d
mov ecx, dword [ebp + 8]
push ecx
call fcn.0053c230
add esp, 4
push eax
push 0x5f0624
call fcn.00513550
add esp, 8
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
call fcn.004fee60
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x560450
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
cmp dword [ebp + 0x18], 0
je 0x5604e6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str.CREATE_TABLE___w_.__w_node__nodeno_INTEGER_PRIMARY_KEY__data_BLOB__CREATE_TABLE___w_.__w_rowid__rowid_INTEGER_PRIMARY_KEY__nodeno_INTEGER__CREATE_TABLE___w_.__w_parent__nodeno_INTEGER_PRIMARY_KEY__parentnode_INTEGER__INSERT_INTO__q._q_node_VALUES_1__zeroblob__d__
call fcn.00513550
add esp, 0x28
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x5604b3
mov eax, 7
jmp 0x5605ca
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0055fda0
add esp, 0x14
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x30]
push edx
call fcn.004fee60
add esp, 4
cmp dword [ebp - 4], 0
je 0x5604e6
mov eax, dword [ebp - 4]
jmp 0x5605ca
mov eax, dword [ebp + 8]
add eax, 0x234
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
add ecx, 0x238
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
add edx, 0x23c
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
add eax, 0x240
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, 0x244
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
add edx, 0x248
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 0x24c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, 0x250
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 0x254
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
jmp 0x560561
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 9
jge 0x5605c7
cmp dword [ebp - 4], 0
jne 0x5605c7
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x5f04a0]
push ecx
call fcn.00513550
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x5605b2
push 0
mov edx, dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x2c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00553a80
add esp, 0x14
mov dword [ebp - 4], eax
jmp 0x5605b9
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x34]
push eax
call fcn.004fee60
add esp, 4
jmp 0x560558
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x57f0b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop ebp
ret
Function at 0x583960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aef8
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x3c
call fcn.0042c9f0
movzx eax, al
test eax, eax
je 0x5839a8
jmp 0x583b4f
push str.SYSTEMCurrentControlSetControlClass_
lea ecx, [ebp - 0x18]
call fcn.004053f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x3c
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042fb40
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x18]
call fcn.004287b0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x583b40
mov word [ebp - 0x234], 0
push 0x208
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.004bbbe0
add esp, 0xc
mov dword [ebp - 0x1c], 0x208
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x234]
push edx
push 0
push 0
push str.InfPath
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x583a4a
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x50
call fcn.004054d0
mov dword [ebp - 0x1c], 0x208
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x234]
push eax
push 0
push 0
push str.ProviderName
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x583a85
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x4c
call fcn.004054d0
mov dword [ebp - 0x1c], 0x208
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x234]
push ecx
push 0
push 0
push str.DriverVersion
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x583ac0
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x48
call fcn.004054d0
mov dword [ebp - 0x1c], 0x208
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x234]
push edx
push 0
push 0
push str.DriverDesc
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x583afb
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x44
call fcn.004054d0
mov dword [ebp - 0x1c], 0x208
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x234]
push eax
push 0
push 0
push str.DriverDate
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x583b36
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x40
call fcn.004054d0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0042f130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret 4
Function at 0x583dc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b48c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5e632c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push 0x54
call fcn.004b9286
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x583e0f
mov ecx, dword [ebp - 0x18]
call fcn.0042fc90
mov dword [ebp - 0x20], eax
jmp 0x583e16
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.0042c9f0
movzx edx, al
test edx, edx
je 0x583e4d
push 0x5c70dc
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004054d0
jmp 0x583e5f
mov eax, dword [ebp + 8]
add eax, 0x34
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00401b80
mov ecx, dword [ebp + 8]
add ecx, 0x38
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00401b80
mov ecx, dword [ebp + 8]
add ecx, 0x3c
call fcn.0042c9f0
movzx edx, al
test edx, edx
jne 0x583ea7
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00401b80
mov ecx, dword [ebp + 8]
add ecx, 0x50
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00401b80
push str.AddToProblemDevList___________
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.004287b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00410650
test eax, eax
jbe 0x583eee
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00430f90
mov ecx, eax
call fcn.004287b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.00430030
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x5891e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x589218
mov ecx, dword [ebp - 4]
add ecx, 0x38
call fcn.0042d8d0
test eax, eax
je 0x589218
mov ecx, dword [ebp - 4]
add ecx, 0x38
call fcn.0042d840
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 8]
mov byte [eax], cl
mov esp, ebp
pop ebp
ret 4
Function at 0x589230
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x5f8c24]
and eax, 1
jne 0x589264
mov ecx, dword [0x5f8c24]
or ecx, 1
mov dword [0x5f8c24], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x28]
sub ecx, dword [eax + 0x20]
mov dword [0x5f8c20], ecx
mov edx, dword [0x5f8c24]
and edx, 2
jne 0x58928d
mov eax, dword [0x5f8c24]
or eax, 2
mov dword [0x5f8c24], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x2c]
sub eax, dword [edx + 0x24]
mov dword [0x5f8c1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x30
call fcn.0042d820
movzx ecx, al
test ecx, ecx
je 0x5892ae
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.005891e0
jmp 0x589411
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [0x5f8c20]
imul eax, dword [0x5f8c1c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bb2ee
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [0x5f8c20]
imul ecx, dword [0x5f8c1c]
shl ecx, 2
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x30
call fcn.004287b0
push eax
mov edx, dword [ebp - 8]
push edx
call fcn.004bb670
add esp, 0xc
push 0xfa
mov eax, dword [0x5f8c1c]
push eax
mov ecx, dword [0x5f8c20]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x30
call fcn.004287b0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00588ec0
mov dword [ebp - 4], eax
mov eax, dword [0x5f8c1c]
push eax
mov ecx, dword [0x5f8c20]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00589140
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x10
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00588df0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004b9c69
add esp, 4
movzx ecx, byte [0x5f52e3]
test ecx, ecx
je 0x5893f9
push 1
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [0x5f52e3], 0
cmp dword [ebp - 4], 0
sete dl
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.005891e0
xor eax, eax
jne 0x58928d
mov esp, ebp
pop ebp
ret
Function at 0x58b570
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x34c], ecx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x350], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x3dc], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x3e0], 0
cmp dword [ebp + 0x10], 0
je 0x58b5bf
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x358
call fcn.0045c2a0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x354], edx
cmp dword [ebp - 0x28], 0
je 0x58b5de
mov eax, dword [ebp - 0x28]
add eax, 0x334
mov dword [ebp - 0x2c], eax
jmp 0x58b5e5
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, 0x5f8624
call fcn.0042cf10
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x3dc], 0
jne 0x58b60d
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x348]
mov dword [ebp - 0x30], ecx
jmp 0x58b630
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x3dc]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x3dc]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.004287b0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x24]
call fcn.0045b890
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 8], edx
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 0xc], edx
push 0x88
push SysReAllocString
push 0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00454550
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x58b6ab
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 4], eax
jmp 0x58b68e
push 5
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x58c1a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x58c226
mov ecx, dword [ebp - 4]
call fcn.0040b340
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x58c226
movzx eax, byte [0x5f8b84]
test eax, eax
jne 0x58c1d2
mov byte [0x5f8b84], 1
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x58c1f5
push 1
push 1
mov ecx, dword [ebp - 4]
call fcn.004546a0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x58c204
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x58c226
movzx ecx, byte [0x5f8b85]
test ecx, ecx
jne 0x58c226
mov ecx, dword [ebp - 4]
call fcn.00454840
mov byte [0x5f8b85], 1
mov esp, ebp
pop ebp
ret 8

Function at 0x58d0d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b132
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5e632c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x10]
push eax
call fcn.00417640
add esp, 4
mov dword [ebp - 4], 0
push str.KingsoftKISkich7_
lea ecx, [ebp - 0x10]
call fcn.0040a390
lea ecx, [ebp - 0x14]
push ecx
call fcn.00401a40
add esp, 4
mov byte [ebp - 4], 1
push str.data_
lea ecx, [ebp - 0x14]
call fcn.0040a390
mov dword [ebp - 0x18], 0
jmp 0x58d147
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 5
jae 0x58d1ba
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax*4 + 0x5f3e6c]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.004192c0
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx*4 + 0x5f3e6c]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004192c0
add esp, 0xc
push 0
lea ecx, [ebp - 0x1c]
call fcn.004287b0
push eax
lea ecx, [ebp - 0x24]
call fcn.004287b0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
call fcn.0042f130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0042f130
jmp 0x58d13e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0042f130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042f130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x58de20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
call fcn.00410820
mov ecx, eax
call fcn.00418a50
test eax, eax
jne 0x58de47
mov al, 1
jmp 0x58def2
mov dword [ebp - 4], 0
jmp 0x58de59
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.0042d3f0
cmp dword [ebp - 4], eax
jae 0x58def0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004193c0
mov edx, dword [eax]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call fcn.004e1760
movzx eax, al
test eax, eax
je 0x58debe
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004e21f0
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x1c]
call fcn.004287b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58debe
mov dword [ebp - 0x20], 1
jmp 0x58dec5
mov dword [ebp - 0x20], 0
mov al, byte [ebp - 0x20]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 0x14]
and ecx, 1
je 0x58dedf
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x10]
call fcn.0042f130
movzx edx, byte [ebp - 9]
test edx, edx
je 0x58deeb
xor al, al
jmp 0x58def2
jmp 0x58de50
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x58f520
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bd65
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5e632c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x30]
push eax
call fcn.00410820
mov ecx, eax
call fcn.00418a70
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x40]
call fcn.004053d0
push eax
lea ecx, [ebp - 0x14]
call fcn.004053f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00401d20
lea ecx, [ebp - 0x10]
call fcn.00405540
mov byte [ebp - 4], 3
lea edx, [ebp - 0x34]
push edx
call fcn.00401a40
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
push eax
push str._sdata_s
lea ecx, [ebp - 0x10]
push ecx
call fcn.004059c0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0042f130
lea ecx, [ebp - 0x14]
call fcn.0042c9f0
movzx edx, al
test edx, edx
jne 0x58f60c
lea ecx, [ebp - 0x10]
call fcn.004287b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x58f60c
lea ecx, [ebp - 0x10]
call fcn.004287b0
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x37c]
call fcn.00460df0
jmp 0x58f61f
push str.filemainfrm_bg.png
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x37c]
call fcn.00460df0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0042f130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042f130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x593a10
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x593a71
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
add eax, 1
jmp 0x593a76
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x594260
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x250
call fcn.004287b0
push eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x594330
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004bbbe0
add esp, 0xc
mov ecx, dword [ebp - 0x214]
add ecx, 0x250
call fcn.004287b0
push eax
push 0x103
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00401d60
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret 0x10