joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ba1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.005ba140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.005ba140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.005ba140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.005ba140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x5ba230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5ba2d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x5ba2ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.005ba230
mov esi, eax
add esp, 8
test esi, esi
jne 0x5ba2ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x5ba27e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x5ba2ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x5babfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5bac50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5cc87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5bac43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5bac52
xor eax, eax
pop esi
leave
ret 4
Function at 0x10013d72
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10013e0f
push ebx
push esi
call fcn.10013d3b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10013c84
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10013dbc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10013e0e
push edi
push eax
call fcn.10011179
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10013ddc
call fcn.1001113f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10013e0d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10013c84
add esp, 0x20
test eax, eax
jne 0x10013dfb
push edi
call fcn.1001113f
jmp 0x10013e03
push ebx
call fcn.1001113f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001407a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001f078
push 0x1001f070
push str.FlsAlloc
push 0x1e
call fcn.10013f98
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100140ae
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c150]
call esi
jmp 0x100140b4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100140f8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001f088
push 0x1001f080
push str.FlsGetValue
push 0x20
call fcn.10013f98
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001412f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1001b0a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b0cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b0cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4a9961
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4de034]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a99ac
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a9e23
test al, al
jne 0x4a99a6
sub edx, 2
cmp edx, edi
jne 0x4a998c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a99ce
lea eax, [edi + 2]
cmp edx, eax
je 0x4a99ce
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a955a
add esp, 0x10
jmp 0x4a9ac8
push esi
lea ecx, [ebp - 0x255]
call fcn.004a9e23
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a9a11
push dword [ebp - 0x25c]
jmp 0x4a99be
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a9a4e
cmp word [ebp - 0x226], 0
je 0x4a9a6f
cmp word [ebp - 0x226], ax
jne 0x4a9a4e
cmp word [ebp - 0x224], 0
je 0x4a9a6f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a955a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a9abb
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a9a28
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a9aa3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a9ac8
push 0x4a8f42
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405bd7
add esp, 0x10
jmp 0x4a9a98
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040335a
leave
ret

Function at 0x438ca3
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop eax
add ecx, edx
and ecx, edx
call fcn.00438ce9
add edx, edx
sub ecx, 0x2b5f179
and ecx, ecx
xor dword [esi], eax
add ecx, edx
sub edx, edx
add edx, ecx
add esi, 1
or edx, edx
inc edx
and edx, edx
cmp esi, ebx
jne fcn.00438ca3
sub edx, 0xaa772a46
sub esp, 4
mov dword [esp], ecx
pop edx
sub edx, edx
ret
Function at 0x401af0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4380c0], 0x24e1
mov eax, dword [0x4380c0]
sub eax, 0x24e1
mov dword [0x4380c0], eax
mov ecx, 1
test ecx, ecx
je 0x401b9b
mov edx, dword [0x4380c0]
cmp edx, dword [ebp + 0xc]
jb 0x401b27
jmp 0x401b9b
cmp dword [0x4380c0], 0
jne 0x401b45
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401b45
xor eax, eax
jmp 0x401b9b
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
mov ecx, dword [eax]
add ecx, dword [0x4380c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4380c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x64b60
mov eax, dword [0x4380c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
push eax
call fcn.00401200
add esp, 8
mov ecx, dword [0x4380c0]
add ecx, 4
mov dword [0x4380c0], ecx
jmp 0x401b0d
mov esp, ebp
pop ebp
ret

Function at 0x40ed7f
Capabilities:
Encode data using xor

Disassembly:
push 0x40eae0
pop ecx
and esi, esi
dec edi
call fcn.0040eda0
add esi, 0x6c1c329f
xor dword [eax], ecx
or edi, esi
inc eax
dec edi
and esi, edi
cmp eax, edx
jne fcn.0040ed7f
ret
Function at 0x590490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70684c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x14], 0
je 0x590504
mov dword [ebx], 0x560eb4
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x50], 0x560e20
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov eax, dword [ebx]
lea esi, [ebx + 4]
push 0
push esi
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x560e28
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.0059be60
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x560eb0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], 0x560e30
call fcn.006dd216
mov esi, eax
add esp, 4
test esi, esi
je 0x590583
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.006deee4
add esp, 4
mov dword [esi + 4], eax
jmp 0x590585
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax], 0x560e70
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x590610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706870
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x560e30
call fcn.006dd216
mov esi, eax
add esp, 4
test esi, esi
je 0x590670
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.006deee4
add esp, 4
mov dword [esi + 4], eax
jmp 0x590672
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5908d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706870
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x560e30
call fcn.006dd216
mov esi, eax
add esp, 4
test esi, esi
je 0x590930
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.006deee4
add esp, 4
mov dword [esi + 4], eax
jmp 0x590932
xor esi, esi
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea edi, [eax + 0x14]
mov dword [eax + 0x20], ecx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x34], esi
lea esi, [eax + 8]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov esi, dword [ebp - 0x10]
not ecx
and ecx, 1
mov dword [edi], 0
shl ecx, 2
mov eax, ebx
mov dword [edx], 0
mov edx, ecx
or edx, 2
mov dword [esi], 0x560e70
and al, 2
mov dword [esi + 0x38], 0
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x590a60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706903
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov byte [ebx + 0xc], 0
mov dword [ebx], 0x560d20
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edi, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
mov dword [edi], 0x560c68
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 1
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov word [edi + 0x30], 0
lea esi, [ebx + 0x50]
mov dword [ebx], 0x560d3c
mov dword [edi], 0x560d58
push 0x20
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, ebx
mov dword [ebx], 0x560d7c
mov dword [edi], 0x560d98
mov dword [ebx + 0x58], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x591790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706bb2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0x560ce4
mov dword [ebx + 8], 0x560cac
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 0x10], 0
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x24], 0
mov dword [ebx + 0x18], 0x560cbc
mov dword [ebx + 0x28], 0
mov dword [ebp - 4], 0
mov byte [ebx + 0x2c], 0
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 1
call fcn.005a3f40
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 2
push 0x40
lea eax, [edi + 5]
mov dword [ebp - 0x10], edi
push 0
push eax
mov dword [edi], 0x560cc4
mov byte [edi + 4], 0
call fcn.006f4190
lea esi, [edi + 0x48]
mov dword [esi], 0
push 0x50
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.006dd216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x50]
mov byte [ebp - 4], 3
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x58]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x20
mov byte [ebp - 4], 5
call fcn.00599ed0
lea ecx, [ebx + 0x98]
mov byte [ebp - 4], 6
mov word [ecx + 0x18], 0
call fcn.005a4040
mov eax, dword [ebp + 8]
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0xffffffff
mov dword [ebx + 0xc0], 0xffffffff
mov dword [ebx + 0xc4], 0
mov word [ebx + 0xc8], 0
mov byte [ebx + 0xca], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov eax, ebx
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 0
mov dword [ebx + 0xf8], 0
mov dword [ebx + 0xfc], 0
mov dword [ebx + 0x100], 0
mov dword [ebx + 0x104], 0
mov dword [ebx + 0x108], 0
mov dword [ebx + 0x10c], 0
mov dword [ebx + 0x110], 0
mov dword [ebx + 0x114], 0
mov byte [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0xc8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5919f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706c3d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
call fcn.00591790
push 0x5942d0
push 0x591430
push 2
push 0x18
lea eax, [ebx + 0x140]
mov dword [ebx], 0x560dbc
mov byte [ebx + 0x120], 0
push eax
mov dword [ebp - 4], 0
mov dword [ebx + 0x124], 0
mov dword [ebx + 0x128], 0
mov dword [ebx + 0x130], 0
mov dword [ebx + 0x134], 0
mov dword [ebx + 0x138], 0
mov dword [ebx + 0x13c], 0
call fcn.006dd08d
mov byte [ebp - 4], 1
call fcn.00597520
add ebx, 0x170
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov byte [ebx + 0xc], 0
mov dword [ebx], 0x560d20
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edi, [ebx + 0x18]
mov dword [ebp - 0x20], edi
mov dword [edi], 0x560c68
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 3
push 0x20
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov word [edi + 0x30], 0
lea esi, [ebx + 0x50]
mov dword [ebx], 0x560d3c
mov dword [edi], 0x560d58
push 0x20
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [ebx], 0x560d7c
mov dword [edi], 0x560d98
mov dword [ebx + 0x58], 0
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 5
lea esi, [edi + 0x1d0]
mov dword [ebp - 0x10], esi
push 0x78
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x1d8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [edi + 0x204]
mov byte [ebp - 4], 7
call fcn.00591090
push 0x2c
push 0
push esi
call fcn.006f4190
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x59a0c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706e20
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x3c], 1
je 0x59a118
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x59a0fd
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
add edx, ecx
jmp 0x59a107
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
add edx, dword [ecx]
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x40]
mov eax, dword [eax]
sub edx, eax
push edx
push eax
call fcn.0059aa90
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5a80b0
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword fs:[0x2c]
mov edx, dword [0x781690]
push edi
mov edi, ecx
mov edx, dword [eax + edx*4]
mov eax, dword [0x77f8d8]
cmp eax, dword [edx + 0x26818]
jg 0x5a81ff
cmp byte [0x77f8d4], 0
jne 0x5a80e0
mov al, 1
pop edi
ret
push esi
mov byte [0x77f8d4], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
mov ecx, eax
or ecx, 0x800
xor esi, esi
nop dword [eax]
cmp ecx, dword [esi*4 + 0x5610b8]
je 0x5a817e
cmp ecx, dword [esi*4 + 0x5610bc]
je 0x5a8138
cmp ecx, dword [esi*4 + 0x5610c0]
je 0x5a8133
cmp ecx, dword [esi*4 + 0x5610c4]
je 0x5a812e
add esi, 4
cmp esi, 0x10
jb 0x5a8100
jmp 0x5a813e
add esi, 3
jmp 0x5a8139
add esi, 2
jmp 0x5a8139
inc esi
cmp esi, 0x10
jb 0x5a817e
xor esi, esi
cmp eax, dword [esi*4 + 0x5610b8]
je 0x5a817e
cmp eax, dword [esi*4 + 0x5610bc]
je 0x5a8178
cmp eax, dword [esi*4 + 0x5610c0]
je 0x5a8173
cmp eax, dword [esi*4 + 0x5610c4]
je 0x5a816e
add esi, 4
cmp esi, 0x10
jb 0x5a8140
jmp 0x5a818c
add esi, 3
jmp 0x5a8179
add esi, 2
jmp 0x5a8179
inc esi
cmp esi, 0x10
jae 0x5a818c
push dword [esi*4 + 0x768008]
mov ecx, edi
call fcn.005a8240
mov eax, dword [edi + 4]
test eax, eax
jne 0x5a81a9
cmp esi, 0x10
jae 0x5a81a9
push dword [esi*4 + 0x768008]
mov ecx, edi
call fcn.005a8460
mov eax, dword [edi + 4]
pop esi
test eax, eax
jne 0x5a81fa
push dword [0x768008]
mov ecx, edi
call fcn.005a8240
mov eax, dword [edi + 4]
test eax, eax
jne 0x5a81fa
push dword [0x768008]
mov ecx, edi
call fcn.005a8460
mov eax, dword [edi + 4]
test eax, eax
jne 0x5a81fa
push 0x560b20
mov ecx, edi
call fcn.005a8240
mov eax, dword [edi + 4]
test eax, eax
jne 0x5a81fa
push 0x560b20
mov ecx, edi
call fcn.005a8460
mov eax, dword [edi + 4]
test eax, eax
setne al
pop edi
ret
push 0x77f8d8
call fcn.006dd68a
add esp, 4
cmp dword [0x77f8d8], 0xffffffff
jne 0x5a80d3
cmp dword [edi + 4], 0
push 0x77f8d8
sete byte [0x77f8d4]
call fcn.006dd640
add esp, 4
jmp 0x5a80d3