joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413c70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d2f14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea edx, [ebp - 0x20]
push edx
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x24], esi
xor ecx, ecx
push 3
push eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], esi
mov word [ebp - 0x20], cx
call fcn.0041bb30
add esp, 0xc
cmp dword [ebp - 0x10], esi
je 0x413cdf
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
jae 0x413cbf
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, dword [ebp - 0x24]
mov esi, eax
push esi
push edx
mov ecx, edi
call fcn.00413b70
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc], 8
jb 0x413cf1
mov eax, dword [ebp - 0x20]
push eax
call fcn.0046f1de
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046fb84
mov esp, ebp
pop ebp
ret 4

Function at 0x413d10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d2f14]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d451c], 0
je 0x413d39
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fb84
mov esp, ebp
pop ebp
ret
push 0x24
call fcn.0046f8fb
add esp, 4
test eax, eax
je 0x413d57
push 0
mov ecx, eax
call fcn.00413690
mov dword [0x4d451c], eax
jmp 0x413d61
mov dword [0x4d451c], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [ebp - 0x20], cx
mov ecx, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x413d81
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004022c0
mov ecx, dword [0x4d451c]
lea edx, [ebp - 0x20]
push edx
call fcn.00413c70
cmp dword [ebp - 0xc], 8
pop esi
jb 0x413dbc
mov eax, dword [ebp - 0x20]
push eax
call fcn.0046f1de
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0046fb84
mov esp, ebp
pop ebp
ret
Function at 0x413ed0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x4d2f14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x124], ebx
push edi
mov dword [esi], ebx
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x413f42
lea ecx, [ebp - 0x124]
push ecx
push edi
mov dword [ebp - 0x124], ebx
call eax
test eax, eax
jne 0x413f37
mov eax, 2
jmp 0x413f42
xor eax, eax
cmp dword [ebp - 0x124], eax
setne al
push 0x118
lea edx, [ebp - 0x11c]
push 0
push edx
mov dword [esi + 0x24], eax
mov dword [ebp - 0x120], 0x11c
call fcn.0046f980
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x114]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp eax, 5
jne 0x413faa
test ecx, ecx
jle 0x41406d
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x41406d
cmp eax, 6
jne 0x414018
sub ecx, ebx
je 0x414010
dec ecx
je 0x414008
cmp dword [0x4d44e0], 1
jne 0x414000
call fcn.0040f4c0
cmp eax, 3
jg 0x414000
mov ecx, dword [esi + 8]
push str.version_number_.minor__2
push 2
push ecx
call fcn.00413ea0
add esp, 0xc
test eax, eax
je 0x414000
push eax
push 3
push 0x35
push str.winwindows_version.cc
lea ecx, [ebp - 0x1f8]
call fcn.0040fef0
lea ecx, [ebp - 0x1f8]
call fcn.00410380
mov dword [esi], 5
jmp 0x41406d
mov dword [esi], 4
jmp 0x41406d
mov dword [esi], 3
jmp 0x41406d
jle 0x41406d
cmp dword [0x4d44e0], 1
jne 0x414057
call fcn.0040f4c0
cmp eax, 3
jg 0x414057
push 3
push 0x3b
push str.winwindows_version.cc
lea ecx, [ebp - 0x1f8]
mov ebx, 1
call fcn.0040fd60
add eax, 8
push str.Check_failed:_false.
push eax
call fcn.00402850
add esp, 8
test bl, 1
je 0x414067
lea ecx, [ebp - 0x1f8]
call fcn.00410380
mov dword [esi], 6
movzx eax, word [ebp - 0xa]
movzx edx, word [ebp - 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
lea ecx, [ebp - 0x148]
xor edi, edi
push ecx
mov dword [esi + 0x10], edx
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x148]
cmp eax, edi
je 0x4140e9
cmp eax, 6
je 0x4140e0
cmp eax, 9
jne 0x4140ec
mov dword [esi + 0x18], 1
jmp 0x4140ec
mov dword [esi + 0x18], 2
jmp 0x4140ec
mov dword [esi + 0x18], edi
mov eax, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x20], eax
pop edi
mov dword [esi + 0x1c], edx
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fb84
mov esp, ebp
pop ebp
ret
Function at 0x418dc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d2f14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x418efa
cmp byte [edi + 0x49], bl
je 0x418efa
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x418e08
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fb84
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x20], bl
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 8
cmp ecx, 0x10
jae 0x418e2a
lea eax, [ebp - 0x20]
mov byte [eax + 8], bl
push esi
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc]
mov edx, eax
cmp ebx, 0x10
jae 0x418e40
lea edx, [ebp - 0x20]
mov eax, edx
add edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x24]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x418e7f
dec eax
je 0x418e83
sub eax, 2
lea ecx, [ebp - 0x20]
je 0x418ee2
call fcn.00401a60
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fb84
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov ecx, eax
cmp ebx, 0x10
jae 0x418e93
lea ecx, [ebp - 0x20]
mov esi, dword [ebp - 0x24]
sub esi, ecx
je 0x418ebc
cmp ebx, 0x10
jae 0x418ea2
lea eax, [ebp - 0x20]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0047100a
add esp, 0x10
cmp esi, eax
jne 0x418eda
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
cmp byte [edi + 0x49], 0
je 0x418edf
test esi, esi
jne 0x418e34
push esi
push 8
lea ecx, [ebp - 0x20]
call fcn.00401ce0
jmp 0x418e2e
lea ecx, [ebp - 0x20]
jmp 0x418e67
lea ecx, [ebp - 0x20]
call fcn.00401a60
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fb84
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0046fb84
mov esp, ebp
pop ebp
ret

Function at 0x418f10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10004
call fcn.004731e0
mov eax, dword [0x4d2f14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x494ee4
push eax
call fcn.004110f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x418f55
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fb84
mov esp, ebp
pop ebp
ret
push esi
push 0x10000
lea eax, [ebp - 0x10004]
push 1
push eax
call fcn.004731b9
add esp, 0x10
test eax, eax
je 0x418f9e
test edi, edi
je 0x418f83
push eax
lea ecx, [ebp - 0x10004]
push ecx
mov ecx, edi
call fcn.00402730
push esi
push 0x10000
lea edx, [ebp - 0x10004]
push 1
push edx
call fcn.004731b9
add esp, 0x10
test eax, eax
jne 0x418f70
push esi
call fcn.004712a2
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0046fb84
mov esp, ebp
pop ebp
ret
Function at 0x419850
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4d2f14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
test esi, esi
jne 0x419878
mov dword [ebp - 0x40], esi
jmp 0x41988c
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419880
sub eax, edx
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0041ab40
mov edi, 8
add esp, 8
cmp dword [eax + 0x14], edi
jb 0x4198a8
mov eax, dword [eax]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
cmp dword [ebp - 0xc], edi
jb 0x4198c6
mov eax, dword [ebp - 0x20]
push eax
call fcn.0046f1de
add esp, 4
test ebx, ebx
jne 0x4198df
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fb84
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x48], 0
je 0x4199db
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046e6ee
add esp, 4
mov edi, eax
mov dword [ebp - 0x44], esi
test esi, esi
jne 0x419912
mov dword [ebp - 0x40], esi
jmp 0x419923
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419917
sub eax, edx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0041ab40
mov esi, 8
add esp, 8
cmp dword [eax + 0x14], esi
jb 0x41993f
mov eax, dword [eax]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp dword [ebp - 0xc], esi
jb 0x419959
mov edx, dword [ebp - 0x20]
push edx
call fcn.0046f1de
add esp, 4
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, edi
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x419970
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x3c]
call fcn.004022c0
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0041aaf0
mov ecx, dword [ebp - 0x48]
add esp, 8
push eax
call fcn.00403bb0
cmp dword [ebp - 0xc], 0x10
jb 0x4199b4
mov eax, dword [ebp - 0x20]
push eax
call fcn.0046f1de
add esp, 4
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
cmp dword [ebp - 0x28], esi
jb 0x4199d2
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0046f1de
add esp, 4
push edi
call fcn.0046f9fa
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0046fb84
mov esp, ebp
pop ebp
ret 8
Function at 0x41a5c0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10c0
call fcn.004731e0
mov eax, dword [0x4d2f14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x1008], ebx
cmp dword [0x4d44e0], 1
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x100c], eax
jne 0x41a638
call fcn.0040f4c0
cmp eax, 3
jg 0x41a638
cmp dword [ebp - 0x100c], ebx
jne 0x41a638
push 3
push 0xa7
push str.win_registry.cc
lea ecx, [ebp - 0x10c0]
mov ebx, 1
call fcn.0040fd60
add eax, 8
push str.Check_failed:_out_value.
push eax
call fcn.00402850
add esp, 8
test bl, 1
je 0x41a648
lea ecx, [ebp - 0x10c0]
call fcn.00410380
lea ecx, [ebp - 0x1008]
push ecx
mov ecx, dword [esi]
lea edx, [ebp - 0x804]
push edx
lea eax, [ebp - 0x1010]
push eax
push 0
push edi
push ecx
mov dword [ebp - 0x1010], 1
mov dword [ebp - 0x1008], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x41a6b9
mov eax, dword [ebp - 0x1010]
cmp eax, 1
jne 0x41a6ce
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a697
mov ecx, dword [ebp - 0x100c]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x804]
push edx
call fcn.004022c0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fb84
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
jne 0x41a729
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x41a711
cmp eax, 0x400
ja 0x41a711
mov ecx, dword [ebp - 0x100c]
lea edx, [ebp - 0x1004]
push edx
call fcn.00406a30
jmp 0x41a6b9
pop edi
pop esi
mov eax, 0xea
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fb84
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x3f4
pop ebx
call fcn.0046fb84
mov esp, ebp
pop ebp
ret 8

Function at 0x4223b0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp + 8], 0xffffffff
cmp eax, 0xffffffff
jne 0x422404
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp + 8]
push eax
push ecx
call fcn.0040dff0
add esp, 0xc
test eax, eax
je 0x422404
push eax
push 0x12
push str.threading_thread_local_win.cc
lea ecx, [ebp - 0xb0]
call fcn.0040fe00
lea ecx, [ebp - 0xb0]
call fcn.00410380
mov esp, ebp
pop ebp
ret
Function at 0x424f10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x4d2068]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x42501c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x42501b
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 [0x4d2068]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.0046f9fa
add esp, 4
mov ebx, 0x40
mov esi, dword [0x4d5220]
xor edi, edi
xor dl, dl
cmp esi, edi
jle 0x424fab
mov eax, dword [ebp + esi*4 - 0x104]
cmp eax, edi
je 0x424fa6
mov ecx, dword [esi*4 + 0x4d5120]
cmp ecx, edi
je 0x424fa6
push eax
mov dword [ebp + esi*4 - 0x104], edi
call ecx
add esp, 4
mov dl, 1
dec esi
cmp esi, edi
jg 0x424f81
dec ebx
cmp ebx, edi
jle 0x424fb6
test dl, dl
jne 0x424f73
jmp 0x42500b
cmp dword [0x4d44e0], 1
jne 0x424ff8
call fcn.0040f4c0
cmp eax, 3
jg 0x424ff8
push 3
push 0x8d
push str.threading_thread_local_storage_win.cc
lea ecx, [ebp - 0x1b4]
mov ebx, 1
call fcn.0040fd60
add eax, 8
push str.Check_failed:_false.
push eax
call fcn.00402850
add esp, 8
jmp 0x424ffb
mov bl, byte [ebp - 4]
test bl, 1
je 0x42500b
lea ecx, [ebp - 0x1b4]
call fcn.00410380
mov edx, dword [0x4d2068]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425e80
Capabilities:
Create pipe

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x78], 0
je 0x425e8d
xor al, al
pop esi
ret
push 0
push 1
push 0
mov dword [esi + 0x78], 2
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x4c], eax
test eax, eax
je 0x425e89
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x90], eax
test eax, eax
je 0x425e89
push 4
push 0xffffffffffffffff
push esi
push 0x425e70
push eax
lea eax, [esi + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x425e89
cmp dword [esi + 0x38], 8
lea eax, [esi + 0x24]
jb 0x425ee3
mov eax, dword [eax]
mov ecx, dword [esi + 0x40]
push ecx
push 0
push 0x40
push 0x40
push 1
push 6
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x44], eax
cmp eax, 0xffffffff
je 0x425e89
mov ecx, esi
call fcn.00425120
xor eax, eax
cmp dword [esi + 0x78], 1
pop esi
setne al
ret
Function at 0x443990
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
xor esi, esi
call fcn.0043ef70
mov eax, dword [ebp + 0xc]
add esp, 4
push esi
push 0x10000080
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x443a40
push 1
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x443a08
push esi
push esi
push 1
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x443a08
xor eax, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
lea esi, [ebp - 0xc]
push 0
push 0
push 0
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
call edi
test esi, esi
je 0x443a40
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 4], eax
test eax, eax
jne 0x443a49
push esi
call edi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0x14], esi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov eax, dword [esi - 4]
mov edx, dword [eax + 0x60]
push edi
lea edi, [esi - 4]
mov ecx, edi
mov dword [ebp - 8], esi
call edx
xor ebx, ebx
mov dword [ebp - 4], eax
test eax, eax
jle 0x44b7bc
mov eax, dword [edi]
mov edx, dword [eax + 0x64]
push ebx
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
push ebx
mov ecx, edi
call edx
mov ecx, eax
xor ecx, esi
and esi, 0xff
test ecx, 0xffffff00
movzx ecx, byte [ebp + 8]
jne 0x44b7a6
cmp esi, ecx
jg 0x44b7b3
jmp 0x44b7aa
cmp esi, ecx
jle 0x44b7f6
and eax, 0xff
cmp ecx, eax
jle 0x44b7f6
inc ebx
cmp ebx, dword [ebp - 4]
jl 0x44b774
mov esi, dword [ebp - 8]
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 4]
test eax, eax
je 0x44b866
xor edi, edi
test eax, eax
jle 0x44b866
push edi
call fcn.00457b60
mov cl, byte [eax + 4]
movsx edx, cl
test cl, cl
jns 0x44b7e7
mov edx, dword [eax + 0xc]
test edx, edx
je 0x44b847
test byte [eax + 5], 2
je 0x44b801
add eax, 8
jmp 0x44b804
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax + 0x10]
movzx ecx, word [eax]
mov ebx, ecx
and ebx, 0xfffff800
cmp ebx, 0xd800
jne 0x44b843
test ecx, 0x400
jne 0x44b843
cmp edx, 1
jle 0x44b843
movzx eax, word [eax + 2]
mov edx, eax
and edx, 0xfffffc00
cmp edx, 0xdc00
jne 0x44b843
add ecx, 0xffff2809
shl ecx, 0xa
add ecx, eax
mov eax, ecx
jmp 0x44b84c
mov eax, 0xffff
movzx ecx, byte [ebp + 8]
and eax, 0xff
cmp eax, ecx
je 0x44b7f6
mov ecx, dword [esi + 0x24]
inc edi
cmp edi, dword [ecx + 4]
jl 0x44b7d4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46fb84
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d2f14]
jne 0x46fb8e
repz ret
jmp fcn.00478ef1

Function at 0x48a63b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d2f14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00478878
and dword [ebp - 0x14], 0
cmp dword [0x4d8660], 0
mov dword [ebp - 0x18], eax
jne 0x48a6ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x48a796
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4cd6f8
push ebx
call edi
test eax, eax
je 0x48a796
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4d8660], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d8664], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d8668], eax
call edi
push eax
call esi
mov dword [0x4d8670], eax
test eax, eax
je 0x48a6ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d866c], eax
mov eax, dword [0x4d866c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x48a747
cmp dword [0x4d8670], ecx
je 0x48a747
push eax
call esi
push dword [0x4d8670]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x48a747
test ebx, ebx
je 0x48a747
call edi
test eax, eax
je 0x48a73e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48a73e
test byte [ebp - 8], 1
jne 0x48a747
or dword [ebp + 0x10], 0x200000
jmp 0x48a77a
mov eax, dword [0x4d8664]
cmp eax, dword [ebp - 0x18]
je 0x48a77a
push eax
call esi
test eax, eax
je 0x48a77a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48a77a
mov eax, dword [0x4d8668]
cmp eax, dword [ebp - 0x18]
je 0x48a77a
push eax
call esi
test eax, eax
je 0x48a77a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d8660]
call esi
test eax, eax
je 0x48a796
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x48a798
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fb84
leave
ret
Function at 0x4010b0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [section..data]
cmp eax, 0xffffffff
jne 0x401198
cmp dword [0x406170], 0
je 0x4010cd
mov eax, 1
ret
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x406170], eax
test eax, eax
jne 0x4010e7
mov eax, 2
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetThreadDpiAwarenessContext
push eax
call esi
push str.GetThreadDpiAwarenessContext
push dword [0x406170]
mov dword [0x406178], eax
call esi
push str.GetAwarenessFromDpiAwarenessContext
push dword [0x406170]
mov dword [0x40617c], eax
call esi
push str.GetDpiForSystem
push dword [0x406170]
mov dword [0x406174], eax
call esi
push str.GetDpiForWindow
push dword [0x406170]
mov dword [0x406180], eax
call esi
push str.SetProcessDPIAware
push dword [0x406170]
mov dword [0x406184], eax
call esi
push str.SystemParametersInfoForDpi
push dword [0x406170]
mov dword [0x406188], eax
call esi
push str.GetDpiFromDpiAwarenessContext
push dword [0x406170]
mov dword [0x40618c], eax
call esi
push str.GetSystemMetricsForDpi
push dword [0x406170]
mov dword [0x406190], eax
call esi
mov dword [0x406194], eax
xor eax, eax
mov dword [section..data], 0
pop esi
ret
Function at 0x4034a2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4034e1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4034e1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4034e1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4034e1
cmp dword [ecx + 0x74], 0xe
jbe 0x4034e1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret