joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40129f
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x38], esi
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5c0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x41b5c4]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], eax
call fcn.00401298
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x41b5c8]
add ebx, 0x23f
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5cc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov ecx, dword [0xec6814]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40132c
push 0x4182f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [ebp - 4]
mov ecx, dword [0xec6814]
add eax, dword [ebp - 0x28]
mov edx, 0xedeb2e40
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
mov eax, dword [0xec6810]
cmove eax, edx
xor edx, edx
mov dword [0xec6810], eax
cmp ecx, 0x3eb
mov eax, dword [0xec6768]
cmove eax, edx
mov dword [0xec6768], eax
lea eax, [ebx + edi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], edx
mov dword [0xec680c], 0xf4ea3dee
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x18]
sub esi, eax
mov dword [ebp - 0xc], eax
mov eax, esi
mov dword [ebp - 0x18], esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
nop
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 4]
add ebx, 0x61c88647
shr edx, cl
add edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], edx
xor edx, dword [ebp - 0x20]
xor eax, edx
mov dword [ebp - 0x10], ebx
sub edi, eax
mov dword [ebp - 4], eax
dec dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
jne 0x4012fa
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d2fe
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a35c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00405435
mov dword [ebp - 0x14], eax
cmp dword [0x821fc4], esi
jne 0x40d3f1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d37e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d4d1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d4d1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d4d1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x821fc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x821fc8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x821fcc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x821fd4], eax
test eax, eax
je 0x40d3ee
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x821fd0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d416
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d409
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d42b
push 4
pop eax
jmp 0x40d4d3
cmp dword [ebp - 0x14], esi
je 0x40d42b
push dword [0x821fc4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d410
mov eax, dword [0x821fd0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d489
cmp dword [0x821fd4], edi
je 0x40d489
push eax
call ebx
push dword [0x821fd4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d489
test eax, eax
je 0x40d489
call ecx
test eax, eax
je 0x40d47e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d47e
test byte [ebp - 8], 1
jne 0x40d489
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d4b9
mov eax, dword [0x821fc8]
cmp eax, edi
je 0x40d4b6
push eax
call ebx
test eax, eax
je 0x40d4b6
call eax
mov esi, eax
test esi, esi
je 0x40d4b6
mov eax, dword [0x821fcc]
cmp eax, edi
je 0x40d4b6
push eax
call ebx
test eax, eax
je 0x40d4b6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x821fc4]
call ebx
test eax, eax
je 0x40d4d1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d4d3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404748
mov esp, ebp
pop ebp
ret
Function at 0x10004bf0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x10008148]
test eax, eax
je 0x10004ca8
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x10004c30
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x10013c10
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x10004c1c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x10004cdd
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x10008148], eax
sub esp, 8
test eax, eax
jne 0x10004c0d
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x10004c1e
Function at 0x100056b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10005708
cmp byte [esi + ebx - 1], 0xa
je 0x100056dc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1000815c], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x10005750
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
lea edx, [ebp - 0x2b4]
mov dword [esp + 0x10], 0x4009
mov dword [esp + 0xc], 0x2b4
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.shell32.dll_SHGetFileInfoW]
sub esp, 0x14
test eax, eax
je 0x10005796
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x2b0]
leave
ret
Function at 0x100058d0
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
sub esp, 8
test ebx, ebx
je 0x10005a60
mov edi, dword [esi]
test edi, edi
je 0x10005a48
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x10005a6c
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
xor edx, edx
sub esp, 0x18
mov word [edi + eax - 2], dx
mov eax, dword [esi]
test ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
jne 0x10005a38
call dword [edx + 0x28]
mov dword [esi + 8], eax
sub esp, 8
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 8]
sub esp, 0xc
lea esp, [ebp - 0xc]
not eax
pop ebx
pop esi
shr eax, 0x1f
pop edi
pop ebp
ret 0x10
call dword [edx + 0x24]
mov dword [esi + 8], eax
sub esp, 8
jmp 0x100059fe
mov eax, dword [ebp + 8]
mov edx, esi
call sym._create_registrar
test eax, eax
jne 0x10005938
lea esi, [esi]
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esi + 8], 0x8007000e
xor eax, eax
jmp 0x10005a62
Function at 0x48f710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48f7ab
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404218
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48f785
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x662834]
call fcn.00406e7c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x48f168]
call fcn.0040dce4
call fcn.00403898
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0048f2e0
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f7b2
lea eax, [ebp - 0x10]
call fcn.00403dd8
ret

Function at 0x4a4e3b
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4a4e76
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4a4e5d
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4a4e6e
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4a4e78
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4a4e53
xor eax, eax
pop edi
pop esi
ret

Function at 0x4bc27c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
test dl, dl
je 0x4bc28e
add esp, 0xfffffff0
call fcn.004034ec
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406f34
xor eax, eax
push ebp
push 0x4bc365
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00406ed4
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d], 0
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00403dd8
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, dword [ebp - 0xc]
call fcn.00406eec
mov dl, 1
mov eax, dword [0x411c5c]
call fcn.0040317c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov dl, 1
mov eax, dword [0x411c5c]
call fcn.0040317c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
cmp dword [ebp + 8], 0
je 0x4bc34f
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc36c
lea eax, [ebp - 0xc]
call fcn.00406ed4
ret
Function at 0x4c0508
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x4c051a
add esp, 0xfffffff0
call fcn.004034ec
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406f34
mov eax, dword [ebp + 8]
call fcn.00406f34
xor eax, eax
push ebp
push 0x4c05b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x64
xor eax, eax
push ebp
push 0x4c0594
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a30d8
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c059b
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
ret
Function at 0x414ddd
Capabilities:
Encode data using xor

Disassembly:
xor dword [esi], ebx
mov edx, 0x76130b3e
sub ecx, 0x72077a03
add esi, 4
add ecx, 0x5d901e8f
cmp esi, eax
jne fcn.00414ddd
and edi, edx
ret
Function at 0x434580
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x6c9db0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c4], 0x190
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4345c1
mov byte [ebp - 0x1c0], 0
lea edx, [ebp - 0x1c0]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041cd00
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005aede3
mov esp, ebp
pop ebp
ret

Function at 0x434600
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x6c9db0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x84], 0x76
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x434641
mov byte [ebp - 0x80], 0
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041cd00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005aede3
mov esp, ebp
pop ebp
ret
Function at 0x57dca0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x6c9db0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.005af220
add esp, 8
lea esi, [eax + 1]
cmp esi, 1
jne 0x57dcf8
push 0
push 0x14
push str.GenerateUpdaterXML.cpp
push str._DWORD_fname___1
call fcn.00589fd0
add esp, 0x10
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x614]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0058acb0
add esp, 0xc
test al, al
jne 0x57dd2d
lea eax, [ebp - 0x20c]
push eax
push str.failed_to_get_crc_for__s_n
call fcn.00589720
add esp, 8
push 0x6ccdf0
push esi
lea eax, [ebp - 0x108]
push str._s__s.exe
push eax
call fcn.0057de30
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x57dd70
lea eax, [ebp - 0x108]
push eax
push esi
push str.unable_to_copy__s___s_n
call fcn.00589720
add esp, 0xc
push 0x2f
push 0x6ccbf0
call fcn.005af220
mov edi, eax
add esp, 8
test edi, edi
jne 0x57dd9a
push eax
push 0x21
push str.GenerateUpdaterXML.cpp
push str.updater_file
call fcn.00589fd0
add esp, 0x10
inc edi
push 0x674698
push edi
call fcn.0058b550
mov esi, eax
push str._p__n
push esi
call fcn.005af357
push dword [ebp - 0x610]
lea eax, [ebp - 0x108]
push 0x6ccdf0
push dword [ebp - 0x614]
push eax
push 0x6cc9f0
push str.__u_url__s_s__crc__u__ver__s__size__u____n
push esi
call fcn.005af357
push str.__p__n
push esi
call fcn.005af357
push esi
call fcn.005af4d5
lea eax, [ebp - 0x108]
push eax
push edi
lea eax, [ebp - 0x60c]
push str.XML__s_generated_nnew_exe:_s
push eax
call fcn.0057de50
add esp, 0x48
lea eax, [ebp - 0x60c]
push 0
push str.Updater_XML
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005aede3
mov esp, ebp
pop ebp
ret

Function at 0x57e8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareCodex_Development_GroupWarZSiam
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x57e8cb
mov al, 1
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 8
push eax
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
push 0
push 0
push str.UpdaterTime1
push dword [ebp - 4]
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x57e92d
push esi
call fcn.005af71d
mov esi, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp - 0xc]
add esi, 0x2a300
adc ecx, 0
cmp edx, ecx
jg 0x57e92d
jl 0x57e926
cmp eax, esi
jae 0x57e92d
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x57f8e0
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc61e
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x6c9db0]
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
cmp byte [0x775757], 0
je 0x57f95c
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call fcn.005b0aaa
add eax, 0x20
push eax
push 0x674a2c
push str.CONOUT_
call fcn.005b09ea
call fcn.005b0aaa
push eax
push 0x674e20
push str.CONIN_
call fcn.005b09ea
add esp, 0x18
mov dword [0x6d0270], 1
jmp 0x57facd
mov ecx, 0x7762c0
call fcn.0057cb90
push 5
push dword [0x6d196c]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 0
push 0x80
push dword [0x6d1970]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x800000
push 0
push dword [0x6d1970]
call fcn.0058a4a0
push 0xc00000
push 0
push dword [0x6d1970]
call fcn.0058a4a0
add esp, 0x18
push 0x57f760
push 0xfffffffffffffffc
push dword [0x6d1970]
call dword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.00593e80
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateICA]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 8
push ebx
call esi
push 0xa
push ebx
mov edi, eax
call esi
mov ecx, eax
lea eax, [edi - 0x311]
cdq
sub eax, edx
mov esi, eax
push 0
lea eax, [ecx - 0x28a]
sar esi, 1
push 0x28a
cdq
push 0x311
sub eax, edx
sar eax, 1
push eax
push esi
push 0
push dword [0x6d1970]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x102650
call fcn.0058bdd0
add esp, 4
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x57fa49
mov ecx, eax
call fcn.0058c0e0
jmp 0x57fa4b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0
push dword [0x6d1970]
mov dword [0x6d0324], eax
call fcn.0058e660
call fcn.0057ec80
push 0x6cd1f0
push 0x6ccdf0
lea eax, [ebp - 0x210]
push str.WarZSiam_Launcher__s___s_
push eax
call fcn.00582710
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
push dword [0x6d1970]
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.0057f110
push 5
push dword [0x6d1970]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
mov ecx, dword [0x6d030c]
call fcn.00597430
mov ecx, dword [0x6d0308]
call fcn.00597480
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.005aede3
mov esp, ebp
pop ebp
ret
Function at 0x581440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6c9db0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x204]
add ecx, 0x215d0
push eax
mov esi, edx
call fcn.00588ed0
cmp esi, 5
ja case.default.0x58146d
jmp dword [esi*4 + 0x5814f4]
lea eax, [ebp - 0x404]
push str.https:__www.google.com_
push eax
call fcn.0057de50
add esp, 8
lea eax, [ebp - 0x404]
push 5
push 0
push 0x674e14
push eax
jmp 0x5814d8
push 5
push 0
push 0x674e14
push str.https:__www.google.com_
jmp 0x5814d8
push 5
push 0
push 0x674e14
push str.https:__www.youtube.com_
jmp 0x5814d8
push 5
push 0
push 0x674e14
push str.https:__www.facebook.com_
jmp 0x5814d8
push 5
push 0
push 0x674e14
push str.https:__www.twitter.com_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005aede3
mov esp, ebp
pop ebp
ret