joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ffd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040e9c0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40fff2
test ecx, ecx
je 0x41001f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x41001f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x41001f
mov bl, 1
jmp 0x410021
xor bl, bl
cmp edx, 8
jb 0x410051
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410047
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410058
push edx
push ecx
call fcn.00419c67
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043d73f
int3

Function at 0x410060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040ec00
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x410082
test ecx, ecx
je 0x4100af
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x4100af
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x4100af
mov bl, 1
jmp 0x4100b1
xor bl, bl
cmp edx, 8
jb 0x4100e1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4100d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4100e8
push edx
push ecx
call fcn.00419c67
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043d73f
int3

Function at 0x4100f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040ee40
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x410112
test ecx, ecx
je 0x41013f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x41013f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x41013f
mov bl, 1
jmp 0x410141
xor bl, bl
cmp edx, 8
jb 0x410171
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410167
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410178
push edx
push ecx
call fcn.00419c67
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043d73f
int3
Function at 0x410180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040f2c0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4101a2
test ecx, ecx
je 0x4101cf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x4101cf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x4101cf
mov bl, 1
jmp 0x4101d1
xor bl, bl
cmp edx, 8
jb 0x410201
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4101f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410208
push edx
push ecx
call fcn.00419c67
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043d73f
int3

Function at 0x410210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040f500
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x410232
test ecx, ecx
je 0x41025f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x41025f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x41025f
mov bl, 1
jmp 0x410261
xor bl, bl
cmp edx, 8
jb 0x410291
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410287
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410298
push edx
push ecx
call fcn.00419c67
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043d73f
int3

Function at 0x4102a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040f740
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4102c2
test ecx, ecx
je 0x4102ef
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x4102ef
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x4102ef
mov bl, 1
jmp 0x4102f1
xor bl, bl
cmp edx, 8
jb 0x410321
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410317
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410328
push edx
push ecx
call fcn.00419c67
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043d73f
int3
Function at 0x410330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040f980
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x410352
test ecx, ecx
je 0x41037f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x41037f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x41037f
mov bl, 1
jmp 0x410381
xor bl, bl
cmp edx, 8
jb 0x4103b1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4103a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4103b8
push edx
push ecx
call fcn.00419c67
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043d73f
int3

Function at 0x4103c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040fd80
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4103e2
test ecx, ecx
je 0x41040f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x41040f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x41040f
mov bl, 1
jmp 0x410411
xor bl, bl
cmp edx, 8
jb 0x410441
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410437
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410448
push edx
push ecx
call fcn.00419c67
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043d73f
int3

Function at 0x410450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x410465
mov ecx, dword [esi]
test ecx, ecx
je 0x4104d7
mov ecx, esi
cmp eax, 8
jb 0x410472
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x4104d7
mov ecx, esi
cmp eax, 8
jb 0x410481
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4104d7
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
je 0x4104d7
mov ebx, 5
nop word [eax + eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4104aa
mov eax, dword [edi]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4104b4
mov ecx, dword [esi]
push 1
push eax
push ecx
call fcn.0042e3c0
test eax, eax
jne 0x4104d0
test ebx, ebx
jle 0x4104d7
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
dec ebx
jmp 0x4104a0
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x410830
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x41085a
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x410800
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x41085a
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x410860
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x410898
push 0x927c0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x410888
push 1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
xor eax, eax
pop esi
ret
Function at 0x4130a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x4130b0
xor al, al
pop ebp
ret
cmp dword [eax + 0x14], 8
jb 0x4130b8
mov eax, dword [eax]
push esi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4130e3
test esi, esi
je 0x4130de
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor al, al
pop esi
pop ebp
ret
Function at 0x416430
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bdf5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0040f080
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x41646e
test ecx, ecx
je 0x4164e1
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x4164e1
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4164db
push esi
push 0
lea ecx, [ebp - 0x3c]
call fcn.004566c0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x3c]
test eax, eax
mov byte [ebp - 4], 1
push 1
cmovne esi, eax
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push esi
push eax
call fcn.00431f30
push esi
call fcn.004163f0
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.00456af0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
pop esi
jmp 0x4164e3
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x416513
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416509
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416524
push edx
push ecx
call fcn.00419c67
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0043d73f
int3
Function at 0x416760
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46be2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0040f080
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x4167a2
test ecx, ecx
je 0x416960
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
cmp word [eax], 0
je 0x416960
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41695a
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00424730
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00416310
add esp, 0x14
test al, al
je 0x4168e4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x416845
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x416845
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.00408fe0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x416860
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x416860
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.00408fe0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x416894
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41688a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169a3
push edx
push ecx
call fcn.00419c67
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x4168da
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4168d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169a3
push edx
push ecx
call fcn.00419c67
add esp, 8
mov edx, dword [ebp - 0x2c]
mov bl, 1
mov ecx, dword [ebp - 0x40]
jmp 0x416962
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x416918
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41690e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169a3
push edx
push ecx
call fcn.00419c67
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x41695a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416950
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169a3
push edx
push ecx
call fcn.00419c67
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
xor bl, bl
cmp edx, 8
jb 0x416992
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416988
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169a8
push edx
push ecx
call fcn.00419c67
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0043d73f
call fcn.0043d73f
int3
Function at 0x419580
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 1
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.0042fd10
add esp, 0x10
push 1
push 1
push 1
push esi
call fcn.00412dc0
cmp eax, 1
jne 0x4195d6
mov eax, dword [0x494a50]
test eax, eax
je 0x4195cf
push 0x814
push eax
call fcn.00419c67
add esp, 8
xor esi, esi
jmp 0x41976a
push ebx
push edi
call fcn.004194f0
mov ebx, dword [ebp + 8]
mov dword [eax + 4], ebx
call fcn.004194f0
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, eax
push 0x200
lea ecx, [edi + 0x14]
push ecx
push 0x67
push dword [edi + 4]
call esi
push 0x200
lea eax, [edi + 0x414]
push eax
push 0x68
push dword [edi + 4]
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push ebx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x64], 0x30
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x5c], 0x4194a0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], ebx
call esi
push 0x7f00
push 0
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 6
call fcn.004194f0
push 0x6c
push dword [ebp - 0x50]
add eax, 0x414
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push ebx
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
call fcn.004194f0
add eax, 0x14
push eax
call fcn.004194f0
add eax, 0x414
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x4196e5
call fcn.004194f0
push 2
push esi
mov dword [eax + 0x10], esi
call fcn.00429280
add esp, 8
push 2
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.004194f0
mov ecx, eax
call fcn.00410830
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x34]
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0
push eax
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
call esi
test eax, eax
je 0x419742
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x34]
push eax
call edi
lea eax, [ebp - 0x34]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x419726
call fcn.004194f0
mov ecx, eax
call fcn.00410860
mov eax, dword [0x494a50]
pop edi
pop ebx
test eax, eax
je 0x419767
push 0x814
push eax
call fcn.00419c67
add esp, 8
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dword [0x494a50], 0
cmp edx, 8
jb 0x4197aa
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4197a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197b3
push edx
push ecx
call fcn.00419c67
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.0043d73f
int3
Function at 0x41ce40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.0041ced0
add esp, 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x41ce72
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x41cec6
mov eax, dword [ebp - 4]
and eax, 0x800000ff
jns 0x41ce8b
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
add edx, dword [ebp - 0xc]
and edx, 0x800000ff
jns 0x41cea5
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x41ce69
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x421010
Capabilities:
Check if file exists
Create process on windows
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x421041
cmp dword [ebp + 0xc], 0
je 0x421041
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x421041
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x421048
xor eax, eax
jmp 0x421143
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x421071
xor eax, eax
jmp 0x421143
lea edx, [ebp - 4]
push edx
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x421140
push str.SeCreateSymbolicLinkPrivilege
mov ecx, dword [ebp - 4]
push ecx
call fcn.00420fa0
add esp, 8
push 0x44
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.0043ad10
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x58], str.winsta0default
mov dword [ebp - 0x34], 1
mov ax, word [ebp + 0x18]
mov word [ebp - 0x30], ax
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
je 0x421140
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x14], 0
je 0x421120
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0
je 0x421130
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x421140
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x425cd0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 4], 0
jmp 0x425d16
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x425d6c
movzx ecx, word [ebp - 0x44]
mov edx, dword [ebp - 4]
cmp ecx, dword [edx*8 + 0x4931d0]
jne 0x425d6a
cmp dword [ebp + 8], 0
je 0x425d66
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x4931d4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00446770
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408e70
mov al, 1
jmp 0x425da6
jmp 0x425d0d
cmp dword [ebp + 8], 0
je 0x425da4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*8 + 0x4931cc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00446770
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408e70
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x425db0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov dword [ebp - 4], 0xffffffff
cmp dword [0x493250], 0
je 0x425f08
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.0043ad10
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x425e51
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x80c]
test ecx, ecx
je 0x425e51
push str.SysWOW64
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x425e3a
mov dword [ebp - 8], 1
jmp 0x425e41
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [0x493250], 0
cmp dword [ebp - 4], 1
je 0x425f08
cmp dword [0x495048], 0
jne 0x425e74
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x495048], eax
cmp dword [0x495048], 0
je 0x425f08
cmp dword [0x49504c], 0
jne 0x425ea1
push str.GetSystemWow64DirectoryW
mov edx, dword [0x495048]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x49504c], eax
cmp dword [0x49504c], 0
je 0x425f08
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.0043ad10
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [0x49504c]
test eax, eax
je 0x425f08
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x425ef1
mov dword [ebp - 0xc], 1
jmp 0x425ef8
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [0x493250], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret