joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431740
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2854
call fcn.004ad6f0
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x2638], 0
push 0x206
push 0
lea eax, [ebp - 0x2636]
push eax
call fcn.004ad2c0
add esp, 0xc
push 0x2424
push 0
lea ecx, [ebp - 0x2430]
push ecx
call fcn.004ad2c0
add esp, 0xc
lea edx, [ebp - 0x2638]
push edx
push 2
call fcn.00428a40
mov ax, word [0x4f54e4]
mov word [ebp - 0x2848], ax
push 0x206
push 0
lea ecx, [ebp - 0x2846]
push ecx
call fcn.004ad2c0
add esp, 0xc
lea edx, [ebp - 0x2430]
push edx
push 0x4f54e8
push 0x4f5514
push 0x104
lea eax, [ebp - 0x2848]
push eax
call fcn.00401cd0
add esp, 0x14
mov dword [ebp - 0x2850], 0
mov dword [ebp - 0x263c], 0x409
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x284c]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x2848]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43185d
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x263c]
push ecx
push 0
push 0
push 0x4f5520
mov edx, dword [ebp - 0x284c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x431850
mov dword [ebp - 0x2850], 1
mov eax, dword [ebp - 0x284c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2850], 0
je 0x431879
mov ecx, dword [ebp - 0x263c]
push ecx
call fcn.004318c0
add esp, 4
test eax, eax
jne 0x4318a8
cmp dword [ebp + 8], 0
je 0x43188e
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x2852], ax
jmp 0x43189b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x2852], ax
movzx edx, word [ebp - 0x2852]
mov dword [ebp - 0x263c], edx
mov eax, dword [ebp - 0x263c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret

Function at 0x4321b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x4320c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x4321f3
push str.Failed_in_creating_the_thread_in_a_CIThread_n
call fcn.00405640
add esp, 4
xor eax, eax
jmp 0x4321f8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4324f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x432541
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x432541
push 0x3e8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
push str.CIThread.Finalize___is_gracefully_executed_in_a_CIThread._n
call fcn.00405640
add esp, 4
cmp dword [ebp - 4], 0
je 0x43257f
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
call eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x432572
mov dword [ebp - 4], 0
push str.Warning_:_CIThread.Finalize___is_forcefully_executed_in_a_CIThread._n
call fcn.00405640
add esp, 4
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x4325b4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0048c528
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0
je 0x4325d4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 8], 0
je 0x4325f4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], 0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x433d70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [ebp + 8], 0
je 0x433d88
cmp dword [ebp + 0xc], 0
je 0x433d88
cmp dword [ebp + 0x14], 0
jne 0x433d8f
xor eax, eax
jmp 0x433e8c
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
push 0x4f6020
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004b1858
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x433e89
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 4]
push edx
call fcn.004b1605
add esp, 4
mov dword [ebp - 0x18], eax
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.004b16fa
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b1605
add esp, 4
mov dword [ebp - 0x14], eax
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004b16fa
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b1452
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00433ba0
add esp, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0048c532
add esp, 4
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 4]
push edx
call fcn.004ae52d
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x433fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
je 0x433fb8
cmp dword [ebp + 0xc], 0
je 0x433fb8
cmp dword [ebp + 0x10], 0
jne 0x433fbf
xor eax, eax
jmp 0x4340ad
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004339f0
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43402d
mov edx, dword [ebp - 0xc]
push edx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004339f0
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x434091
mov dword [ebp - 0x14], 0
push 0x4f6028
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004b1858
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43408a
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b1a07
add esp, 0x10
mov edx, dword [ebp - 0x14]
push edx
call fcn.004ae52d
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 1
jmp 0x434091
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048c532
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4340c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [ebp + 8], 0
je 0x4340d8
cmp dword [ebp + 0xc], 0
je 0x4340d8
cmp dword [ebp + 0x10], 0
jne 0x4340df
xor eax, eax
jmp 0x4341d8
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
push 0x4f6030
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004b1d73
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4341d5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 4]
push edx
call fcn.004b1605
add esp, 4
mov dword [ebp - 0x18], eax
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.004b16fa
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b1605
add esp, 4
mov dword [ebp - 0x14], eax
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004b16fa
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b1452
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433e90
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0048c532
add esp, 4
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ae52d
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x434340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
je 0x434358
cmp dword [ebp + 0xc], 0
je 0x434358
cmp dword [ebp + 0x10], 0
jne 0x43435f
xor eax, eax
jmp 0x434450
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00433c60
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
jbe 0x434434
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00433c60
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x434434
mov dword [ebp - 0x14], 0
push 0x4f6034
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004b1d73
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x434434
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.004b16fa
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call fcn.004b1a07
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004ae52d
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048c532
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4345c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], 0
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], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 0
pop ebp
ret
Function at 0x435070
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4350af
xor eax, eax
jmp 0x435190
lea ecx, [ebp - 0x80]
push ecx
call fcn.004345c0
add esp, 4
mov edx, dword [ebp + 8]
push edx
call fcn.00434e50
add esp, 4
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 8]
push eax
push 0
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
mov dword [ebp - 0x84], 0
jmp 0x435113
mov eax, dword [ebp - 0x84]
add eax, 1
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [ebp - 8]
jae 0x435138
push 1
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x84]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.00434670
add esp, 0xc
jmp 0x435104
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea edx, [ebp - 0x80]
push edx
call fcn.00434630
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
push str._08X_08X_08X_08X_08X
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b4bf4
add esp, 0x20
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x439b70
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov byte [ebp - 5], 0
mov ecx, dword [ebp - 0x30]
call fcn.00439b00
movzx eax, al
test eax, eax
je 0x439bc8
push 0x4f6418
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x439bc2
push 0
push 0
push 2
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x439bbc
mov byte [ebp - 5], 1
jmp 0x439bc0
mov byte [ebp - 5], 0
jmp 0x439bc6
mov byte [ebp - 5], 0
jmp 0x439c45
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x439c41
push 0xf01ff
push 0x4f6478
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x439c27
lea eax, [ebp - 0x2c]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x439c17
mov byte [ebp - 5], 1
jmp 0x439c1b
mov byte [ebp - 5], 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x439c35
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 5], 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x439c45
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x43eee0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x521e28]
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.004ad2c0
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x210]
push ecx
push 0xa
call fcn.00451e60
mov ecx, eax
call fcn.00452a00
test eax, eax
jne 0x43ef3a
xor al, al
jmp 0x43ef99
push 0x4fa878
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.00402280
push 0x4fa888
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00402280
push 0x4fa88c
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00402280
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x43ef97
mov al, 1
jmp 0x43ef99
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret 4
Function at 0x43fe30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 1
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 0x20
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.004ad2c0
add esp, 0xc
mov dword [ebp - 0x54], 0x10000000
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 5
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x24]
push ecx
push 0
lea edx, [ebp - 0x54]
push edx
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
push 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 1
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov edx, dword [ebp - 0x58]
cmp dword [edx], 0
jne 0x43ff22
push str._TyScanCS___CreateEvent_hReq_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x58]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax + 4], 0
jne 0x43ff4e
push str._TyScanCS___CreateEvent_hRes_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 0x10]
push ecx
push 0x408
push 0
push 4
lea edx, [ebp - 0x34]
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x58]
cmp dword [edx + 8], 0
je 0x43ff99
push 0x408
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xc], eax
jmp 0x43ffa3
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret 0xc

Function at 0x440050
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
push str.GlobalTyScanExist
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x440086
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4400f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
push str.GlobalTyScanRTExist
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x440126
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x440190
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
push str.GlobalTyScanRTNetExist
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4401c6
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x445a80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3277
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x648], ecx
mov dword [ebp - 0x224], 0xffffffff
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004ad2c0
add esp, 0xc
mov dword [ebp - 0x220], 0
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x21c]
push edx
call fcn.004ae3b5
add esp, 0xc
push 0x4fc154
mov eax, dword [ebp + 8]
push eax
call fcn.00419d50
add esp, 8
test eax, eax
je 0x445b46
mov dword [ebp - 0x220], 1
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, dword [ebp + 0xc]
add edx, 0x20c
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00440720
mov ecx, eax
call fcn.00446470
movzx ecx, al
test ecx, ecx
jne 0x445b7e
call fcn.00440720
mov ecx, eax
call fcn.00440220
jmp 0x445c50
cmp dword [ebp - 0x220], 0
je 0x445c40
lea ecx, [ebp - 0x644]
call fcn.0040db70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x644]
call fcn.0040dcd0
movzx edx, al
test edx, edx
je 0x445c14
push 1
push 0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x644]
call fcn.00412c00
movzx ecx, al
test ecx, ecx
je 0x445c14
push 1
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x644]
call fcn.00413140
movzx eax, al
test eax, eax
je 0x445c14
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0xd8
push str.CNSSUpdateServer::DownloadManualServerInfoFile
push str._s_L:_d__Manual_Load_and_Save_Success__Source_:__s__Dest_:__s_
push 4
call fcn.004053a0
add esp, 0x18
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x644]
call fcn.0040ddb0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x644]
call fcn.0040dc20
jmp 0x445c4a
mov dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret 0xc