joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b440
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push 0x44
mov esi, eax
lea eax, [esp + 0x24]
push edi
push eax
mov dword [esp + 0x18], edi
call fcn.00457450
add esp, 0xc
cmp byte [esi + 8], 0
mov dword [esp + 0x20], 0x44
je 0x41b47d
mov dword [esp + 0x28], 0x4e3abc
xor ecx, ecx
cmp byte [esi + 1], cl
mov dword [esp + 0x4c], 1
setne cl
dec ecx
and ecx, 5
mov word [esp + 0x50], cx
cmp dword [esi + 0xc], edi
je 0x41b4a0
mov edi, 0x1000004
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x41b530
push 0
push eax
lea edx, [esp + 0x14]
push edx
or edi, 0x400
mov dword [esp + 0x18], 0
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x41b51e
cmp dword [ebx + 0x18], 8
jb 0x41b4e3
mov eax, dword [ebx + 4]
jmp 0x41b4e6
lea eax, [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
movzx edx, byte [esi + 2]
push 0
push ecx
push edi
push edx
push 0
push 0
push eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ecx, dword [esp + 0xc]
push ecx
mov edi, eax
call sub.USERENV.dll_DestroyEnvironmentBlock
test edi, edi
jne 0x41b563
lea esi, [esp + 0x10]
call fcn.004229e0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x18], 8
jb 0x41b53b
mov eax, dword [ebx + 4]
jmp 0x41b53e
lea eax, [ebx + 4]
lea edx, [esp + 0x10]
push edx
movzx edx, byte [esi + 2]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push edi
push edx
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jmp 0x41b51c
mov eax, dword [esi + 0xc]
xor edi, edi
cmp eax, edi
je 0x41b5bd
mov ecx, dword [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x41b5b2
mov eax, dword [esp + 0x10]
push 1
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
test al, al
je 0x41b51e
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea esi, [esp + 0x10]
call fcn.004229e0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x41b5cf
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x41b5e4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [ecx], eax
lea esi, [esp + 0x10]
call fcn.004229e0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10004
call fcn.00459800
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x570c78
push eax
call fcn.00412cb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b6c5
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
mov esp, ebp
pop ebp
ret
push esi
push 0x10000
lea eax, [ebp - 0x10004]
push 1
push eax
call fcn.00459233
add esp, 0x10
test eax, eax
jbe 0x41b70e
test edi, edi
je 0x41b6f3
push eax
lea ecx, [ebp - 0x10004]
push ecx
mov ecx, edi
call fcn.00408a60
push esi
push 0x10000
lea edx, [ebp - 0x10004]
push 1
push edx
call fcn.00459233
add esp, 0x10
test eax, eax
ja 0x41b6e0
push esi
call fcn.00458f17
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0045759d
mov esp, ebp
pop ebp
ret
Function at 0x41cba0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, word [edi + 0x14]
lea eax, [eax + edi + 0x18]
lea esi, [eax + 0xc]
mov dword [ebp - 4], eax
cmp ebx, dword [esi]
jae 0x41cbc8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, word [edi + 6]
xor eax, eax
test ecx, ecx
ja 0x41cbe3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
lea edx, [eax + 1]
cmp edx, ecx
jne 0x41cbef
mov edi, dword [edi + 0x50]
jmp 0x41cbf2
mov edi, dword [esi + 0x28]
cmp ebx, dword [esi]
jb 0x41cbfe
cmp dword [ebp + 0xc], edi
jb 0x41cc11
mov ebx, dword [ebp + 0xc]
mov eax, edx
add esi, 0x28
cmp eax, ecx
jb 0x41cbe0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8 + 0x14]
sub eax, dword [edx + ecx*8 + 0xc]
lea ecx, [edx + ecx*8]
add eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ece0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041edd0
test al, al
je 0x41ed4c
mov eax, dword [0x579bfc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test eax, eax
jne 0x41ed06
call fcn.00423630
mov ecx, dword [0x5f8b1c]
cmp dword [eax + ecx*4], 0
jne 0x41ed4c
push 0xc8
call fcn.00457344
add esp, 4
test eax, eax
je 0x41ed30
mov edx, dword [ebp + 8]
push edx
call fcn.0041ebb0
mov esi, eax
jmp 0x41ed32
xor esi, esi
mov eax, dword [0x579bfc]
push eax
call edi
test eax, eax
jne 0x41ed43
call fcn.00423630
mov ecx, dword [0x5f8b1c]
mov dword [eax + ecx*4], esi
pop edi
pop esi
pop ecx
pop ebp
ret

Function at 0x422a50
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x423630
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x579bfc], 0xffffffff
push ebx
push esi
push edi
mov dword [ebp - 4], 0
jne 0x42366e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0xffffffffffffffff
mov esi, eax
push esi
push 0x579bfc
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 0xffffffff
je 0x42366e
push esi
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0x100
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00457450
mov edx, dword [0x579bfc]
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x100
call fcn.004568b7
mov ebx, eax
add esp, 4
mov ecx, 0x40
lea esi, [ebp - 0x108]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x579bfc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4236d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x579bfc]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x423785
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x423784
push esi
push edi
mov ecx, 0x40
mov esi, ebx
lea edi, [ebp - 0x104]
lea eax, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x579bfc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.004573a9
add esp, 4
mov edi, 0x40
mov esi, dword [0x5f8b98]
xor ebx, ebx
xor dl, dl
cmp esi, ebx
jle 0x42376b
mov eax, dword [ebp + esi*4 - 0x104]
cmp eax, ebx
je 0x423766
mov ecx, dword [esi*4 + 0x5f46b0]
cmp ecx, ebx
je 0x423766
push eax
mov dword [ebp + esi*4 - 0x104], ebx
call ecx
add esp, 4
mov dl, 1
dec esi
cmp esi, ebx
jg 0x423741
dec edi
cmp edi, ebx
jle 0x423774
test dl, dl
jne 0x423733
mov edx, dword [0x579bfc]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423790
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x579bfc]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x4237b2
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4237b7
call fcn.00423630
push 0x5f8b98
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 0x40
mov dword [0x5f8b1c], eax
jl 0x4237d2
xor al, al
mov esp, ebp
pop ebp
ret
mov dword [eax*4 + 0x5f46b0], 0x41ed60
mov al, 1
mov byte [0x5f8b18], al
mov esp, ebp
pop ebp
ret

Function at 0x4242b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
xor esi, esi
mov eax, dword [edx + 0x3c]
movzx ecx, word [eax + edx + 6]
add eax, edx
cmp edi, ecx
jae 0x4242fe
movzx ecx, word [eax + 0x14]
add ecx, esi
lea eax, [ecx + eax + 0x18]
test eax, eax
je 0x4242fe
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4242ea
add ecx, edx
cmp ecx, ebx
ja 0x4242f8
mov ebx, dword [eax + 8]
add ebx, ecx
mov ecx, ebx
mov ebx, dword [ebp + 8]
cmp ecx, ebx
ja 0x424300
inc edi
add esi, 0x28
jmp 0x4242c1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x424470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x424487
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x3c]
mov edx, dword [edi]
mov edx, dword [edx]
add eax, ecx
mov eax, dword [eax + 0x78]
push esi
push eax
mov ecx, edi
call edx
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x42452c
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x4244c0
mov word [ebx], ax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x20]
mov eax, dword [edi]
mov edx, dword [eax]
push ecx
mov ecx, edi
call edx
mov ebx, eax
mov eax, dword [esi + 0x18]
lea eax, [ebx + eax*4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
cmp ebx, eax
je 0x42452c
jmp 0x4244e3
mov eax, dword [ebp - 4]
sub eax, ebx
sar eax, 2
cdq
sub eax, edx
mov edx, dword [edi]
mov edx, dword [edx]
sar eax, 1
lea esi, [ebx + eax*4]
mov eax, dword [esi]
push eax
mov ecx, edi
call edx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
test dl, dl
je 0x424511
cmp dl, byte [eax]
jne 0x424511
mov dl, byte [ecx + 1]
inc ecx
inc eax
test dl, dl
jne 0x424504
movzx edx, byte [eax]
movzx eax, byte [ecx]
sub eax, edx
je 0x424536
test eax, eax
jle 0x424524
lea ebx, [esi + 4]
jmp 0x424527
mov dword [ebp - 4], esi
cmp ebx, dword [ebp - 4]
jne 0x4244e0
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx + 0x24]
mov eax, dword [edi]
mov edx, dword [eax]
push ecx
mov ecx, edi
call edx
sub esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
sar esi, 2
mov ax, word [eax + esi*2]
add ax, word [ebx + 0x10]
pop esi
mov word [ecx], ax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x424570
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x424580
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42457d
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x42457d
mov edx, 0x10b
cmp word [eax + 0x18], dx
sete al
ret

Function at 0x427460
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
mov edx, 0x1400
cmp dx, si
je 0x427503
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 9
lea eax, [ebp - 0x18]
push eax
movzx edi, si
push 0x59
push edi
call ebx
cmp eax, 1
jle 0x427503
dec eax
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.0040a9a0
mov ecx, dword [ebp - 0x1c]
call fcn.004052c0
and esi, 0xfc00
xor edx, edx
cmp dx, si
je 0x4274f0
push 9
lea eax, [ebp - 0x18]
push eax
push 0x5a
push edi
call ebx
cmp eax, 1
jle 0x4274f0
dec eax
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0040a9a0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0045759d
mov esp, ebp
pop ebp
ret
Function at 0x42fc13
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push eax
push eax
push 0x42fc09
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
pop ebp
ret

Function at 0x430536
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push dword [ebp + 0x14]
call fcn.00433932
pop ecx
test al, al
jne 0x4305ee
push esi
call fcn.0040a8b0
mov esi, eax
mov eax, dword [esi]
push str.CHROME_RESTART
mov ecx, esi
call dword [eax + 8]
test al, al
jne 0x43056f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x4305ed
push edi
push 0x4cb6b4
lea ecx, [ebp - 0x2c]
call fcn.00401ce0
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push str.CHROME_CRASHED
mov ecx, esi
call dword [eax + 0xc]
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402b50
push 0x40
lea eax, [ebp - 0x6c]
push edi
push eax
mov dword [ebp - 0x70], 0x44
call fcn.00457450
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
push edi
push 0x400
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4305e4
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0xc]
call edi
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
pop edi
pop esi
mov al, 1
leave
ret
Function at 0x4320be
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 1
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x43212d
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x432124
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret

Function at 0x43213d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00457450
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
je 0x4321a6
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x4321a6
cmp dword [ebp - 0x11c], 6
jae 0x4321a6
xor eax, eax
inc eax
jmp 0x4321bb
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x4321a1
call fcn.004320be
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045759d
leave
ret

Function at 0x432310
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x24], eax
call fcn.00450a73
movzx eax, al
pop ecx
neg eax
sbb eax, eax
push 1
add eax, 0x80000002
push edi
push eax
lea ecx, [ebp - 0x2c]
xor bl, bl
call fcn.00413a00
cmp dword [ebp - 0x2c], 0
je 0x4323bf
push esi
lea ecx, [ebp - 0x20]
call fcn.0040a920
push str.new_360chrome.exe
lea ecx, [ebp - 0x20]
call fcn.00411b00
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x432378
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43239b
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push 0x4e2db0
call fcn.00413c80
test eax, eax
jne 0x43239b
mov bl, 1
jmp 0x4323b3
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push 0x4e2e70
call fcn.00413c80
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00402df0
lea ecx, [ebp - 0x2c]
call fcn.00413b90
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret
Function at 0x4328de
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00457450
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x244]
call fcn.0040a920
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004325bb
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x244]
call fcn.00402c50
push ebx
push 1
lea ecx, [ebp - 0x260]
call fcn.00402df0
push str.User_Data_v3updateconfig_v3update.ini
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004322db
mov eax, dword [ebp - 0x224]
add esp, 0xc
cmp dword [ebp - 0x210], 8
jae 0x4329a8
lea eax, [ebp - 0x224]
push eax
push ebx
mov edi, str.flag
push edi
mov esi, 0x4cbc00
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x4329f5
cmp eax, 2
je 0x4329f5
xor esi, esi
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00402df0
push ebx
push 1
lea ecx, [ebp - 0x244]
call fcn.00402df0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret
cmp dword [ebp - 0x210], 8
mov eax, dword [ebp - 0x224]
jae 0x432a0a
lea eax, [ebp - 0x224]
push eax
push 0x4cbbfc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor esi, esi
inc esi
jmp 0x4329c8
Function at 0x4387e4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
push edi
add eax, ebx
push eax
push edi
push 0x8000004
push edi
push 0xffffffffffffffff
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x14], eax
cmp eax, edi
jne 0x43881a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43891f
push edi
push edi
push 6
lea ecx, [ebp + 0x10]
push ecx
push dword [esi]
mov dword [ebp + 0x10], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x43880f
push edi
push edi
push edi
push 6
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x43880f
add eax, ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.004386cf
mov eax, dword [ebp + 0x10]
add esp, 0xc
push 4
push 0x579f50
push str.g_shared_section
mov ecx, esi
mov dword [0x579f50], eax
call fcn.004387ac
mov dword [0x579f50], edi
cmp eax, edi
je 0x438891
cmp eax, 1
je 0x43880f
xor eax, eax
inc eax
jmp 0x43891f
push 4
push 0x579fc8
push str.g_shared_IPC_size
mov ecx, esi
mov dword [0x579fc8], ebx
call fcn.004387ac
mov dword [0x579fc8], edi
cmp eax, edi
jne 0x438884
mov eax, dword [ebp + 0x14]
push 4
push 0x579fcc
push str.g_shared_policy_size
mov ecx, esi
mov dword [0x579fcc], eax
call fcn.004387ac
mov dword [0x579fcc], edi
cmp eax, edi
jne 0x438884
push 0x34
call fcn.00457344
pop ecx
cmp eax, edi
je 0x4388fc
push dword [ebp + 8]
mov ecx, eax
push dword [esi + 0x20]
push dword [esi + 0x18]
push dword [esi + 8]
push dword [esi]
call fcn.0043b873
jmp 0x4388fe
xor eax, eax
push 0x400
push ebx
push dword [ebp - 4]
mov ecx, eax
mov dword [esi + 0x1c], eax
call fcn.0043bb76
test al, al
jne 0x43891a
push 8
pop eax
jmp 0x43891f
mov dword [esi + 4], edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x438a30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push eax
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2f4], ecx
call fcn.0045838c
push edi
mov dword [esi + 0x28], eax
call fcn.0045838c
pop ecx
pop ecx
mov dword [ebp - 0x2ec], eax
test ebx, ebx
je 0x438a86
push ebx
call fcn.0045838c
pop ecx
mov edi, eax
jmp 0x438a88
xor edi, edi
mov dword [ebp - 0x2f0], edi
mov dword [ebp - 0x2e8], 0x40c
call fcn.00417470
cmp eax, 5
jge 0x438aac
mov dword [ebp - 0x2e8], 0x100040c
push 0x40
lea eax, [ebp - 0x334]
push 0
push eax
mov dword [ebp - 0x338], 0x44
call fcn.00457450
add esp, 0xc
test ebx, ebx
je 0x438ad3
mov dword [ebp - 0x330], edi
and dword [ebp - 0x2e0], 0
xor eax, eax
lea edi, [ebp - 0x2dc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2e0]
push eax
xor ebx, ebx
lea eax, [ebp - 0x338]
push eax
push ebx
push ebx
push dword [ebp - 0x2e8]
push ebx
push ebx
push ebx
push dword [ebp - 0x2ec]
push dword [ebp - 0x2e4]
push dword [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x438b4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push ebx
lea ecx, [ebp - 0x2f0]
call fcn.004428a4
push ebx
lea ecx, [ebp - 0x2ec]
call fcn.004428a4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret 0x10
push dword [ebp - 0x2e0]
call fcn.00438936
pop ecx
push dword [ebp - 0x2e0]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x438b82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x2e0]
push eax
call fcn.004386aa
pop ecx
jmp 0x438b21
push dword [esi + 0x10]
lea eax, [ebp - 0x2dc]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x438b6b
lea eax, [ebp - 0x2d0]
push eax
push dword [ebp - 0x2dc]
mov dword [ebp - 0x2d0], 0x1003f
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x438b6b
mov eax, dword [ebp - 0x2e0]
push dword [ebp - 0x220]
mov dword [esi], eax
mov eax, dword [ebp - 0x2dc]
push dword [ebp - 0x2e4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2d8]
mov dword [esi + 8], eax
call fcn.00438709
mov edi, dword [ebp - 0x2f4]
mov dword [esi + 0x24], eax
lea esi, [ebp - 0x2e0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
movsd dword es:[edi], dword [esi]
pop ecx
xor esi, esi
jmp 0x438b21