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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4adbc4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4adb04]
cmp eax, dword [ecx + 4]
jg 0x40d46c
mov edx, dword [0x4ac04c]
mov ecx, dword [0x4ac038]
push esi
cmp edx, 8
jb 0x40d35c
test ecx, ecx
je 0x40d387
cmp edx, 8
mov eax, 0x4ac038
cmovae eax, ecx
cmp word [eax], 0
je 0x40d387
cmp edx, 8
mov eax, 0x4ac038
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d457
lea eax, [ebp - 0x18]
push eax
call fcn.0040f9e0
mov esi, eax
add esp, 4
cmp esi, 0x4ac038
je 0x40d421
mov edx, dword [0x4ac04c]
cmp edx, 8
jb 0x40d3e1
mov ecx, dword [0x4ac038]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d3d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d4a2
push edx
push ecx
call fcn.0041b36a
add esp, 8
mov dword [0x4ac048], 0
xor eax, eax
mov dword [0x4ac04c], 7
mov word [0x4ac038], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4ac038], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4ac048], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40d457
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d44d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d4a2
push edx
push ecx
call fcn.0041b36a
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4ac038
call fcn.00401840
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4adb04
call fcn.0041b72b
add esp, 4
cmp dword [0x4adb04], 0xffffffff
jne 0x40d346
push 0x4858e0
call fcn.0041b607
push 0x4adb04
call fcn.0041b6e1
add esp, 8
jmp 0x40d346
call fcn.0044be7f
int3
Function at 0x40d4b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4adbc4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4adb08]
cmp eax, dword [ecx + 4]
jg 0x40d5fc
mov edx, dword [0x4ac064]
mov ecx, dword [0x4ac050]
push esi
cmp edx, 8
jb 0x40d4ec
test ecx, ecx
je 0x40d517
cmp edx, 8
mov eax, 0x4ac050
cmovae eax, ecx
cmp word [eax], 0
je 0x40d517
cmp edx, 8
mov eax, 0x4ac050
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d5e7
lea eax, [ebp - 0x18]
push eax
call fcn.0040fc30
mov esi, eax
add esp, 4
cmp esi, 0x4ac050
je 0x40d5b1
mov edx, dword [0x4ac064]
cmp edx, 8
jb 0x40d571
mov ecx, dword [0x4ac050]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d567
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d632
push edx
push ecx
call fcn.0041b36a
add esp, 8
mov dword [0x4ac060], 0
xor eax, eax
mov dword [0x4ac064], 7
mov word [0x4ac050], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4ac050], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4ac060], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40d5e7
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d5dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d632
push edx
push ecx
call fcn.0041b36a
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4ac050
call fcn.00401840
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4adb08
call fcn.0041b72b
add esp, 4
cmp dword [0x4adb08], 0xffffffff
jne 0x40d4d6
push 0x485940
call fcn.0041b607
push 0x4adb08
call fcn.0041b6e1
add esp, 8
jmp 0x40d4d6
call fcn.0044be7f
int3

Function at 0x40e840
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040d320
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40e862
test ecx, ecx
je 0x40e88f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40e88f
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 0x40e88f
mov bl, 1
jmp 0x40e891
xor bl, bl
cmp edx, 8
jb 0x40e8c1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e8b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8c8
push edx
push ecx
call fcn.0041b36a
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044be7f
int3
Function at 0x40e8d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040d4b0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40e8f2
test ecx, ecx
je 0x40e91f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40e91f
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 0x40e91f
mov bl, 1
jmp 0x40e921
xor bl, bl
cmp edx, 8
jb 0x40e951
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e947
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e958
push edx
push ecx
call fcn.0041b36a
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044be7f
int3

Function at 0x410900
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x410913
mov ecx, dword [esi]
test ecx, ecx
je 0x41093a
mov ecx, esi
cmp eax, 8
jb 0x410920
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x41093a
mov ecx, esi
cmp eax, 8
jb 0x41092f
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410976
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x410944
mov eax, dword [esi]
push 0
push 0
push 1
push eax
call fcn.00435090
add esp, 0x10
cmp eax, 0xffffffff
je 0x410976
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x410967
mov esi, dword [esi]
push esi
call fcn.004355d0
test eax, eax
je 0x410976
mov al, 1
pop esi
pop ebp
ret
xor al, al
pop esi
pop ebp
ret

Function at 0x411140
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x41116a
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x411110
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x41116a
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x411170
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4111a8
push 0x927c0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411198
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 0x413ae0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x413af0
xor al, al
pop ebp
ret
cmp dword [eax + 0x14], 8
jb 0x413af8
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 0x413b23
test esi, esi
je 0x413b1e
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 0x418d70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482965
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.0040ff60
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x418dae
test ecx, ecx
je 0x418e21
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x418e21
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418e1b
push esi
push 0
lea ecx, [ebp - 0x3c]
call fcn.00465230
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.0043b850
push esi
call fcn.00418d30
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.004656a0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
pop esi
jmp 0x418e23
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x418e53
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418e49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418e64
push edx
push ecx
call fcn.0041b36a
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.0044be7f
int3
Function at 0x419950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48299d
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.0040ff60
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x419992
test ecx, ecx
je 0x419b50
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
cmp word [eax], 0
je 0x419b50
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419b4a
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.004284e0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00418c50
add esp, 0x14
test al, al
je 0x419ad4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x419a35
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x419a35
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040c2a0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x419a50
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x419a50
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040c2a0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x419a84
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419a7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b93
push edx
push ecx
call fcn.0041b36a
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 0x419aca
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419ac0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b93
push edx
push ecx
call fcn.0041b36a
add esp, 8
mov edx, dword [ebp - 0x2c]
mov bl, 1
mov ecx, dword [ebp - 0x40]
jmp 0x419b52
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x419b08
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419afe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b93
push edx
push ecx
call fcn.0041b36a
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 0x419b4a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419b40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b93
push edx
push ecx
call fcn.0041b36a
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
xor bl, bl
cmp edx, 8
jb 0x419b82
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419b78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b98
push edx
push ecx
call fcn.0041b36a
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.0044be7f
call fcn.0044be7f
int3
Function at 0x41ace0
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.00436d00
add esp, 0x10
push 0
push 0
push 1
push esi
call fcn.004135f0
cmp eax, 1
jne 0x41ad36
mov eax, dword [0x4adb38]
test eax, eax
je 0x41ad2f
push 0x814
push eax
call fcn.0041b36a
add esp, 8
xor esi, esi
jmp 0x41aeca
push ebx
push edi
call fcn.0041ac50
mov ebx, dword [ebp + 8]
mov dword [eax + 4], ebx
call fcn.0041ac50
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], 0x41ac10
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.0041ac50
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.0041ac50
add eax, 0x14
push eax
call fcn.0041ac50
add eax, 0x414
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x41ae45
call fcn.0041ac50
push 2
push esi
mov dword [eax + 0x10], esi
call fcn.00433e30
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.0041ac50
mov ecx, eax
call fcn.00411140
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 0x41aea2
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 0x41ae86
call fcn.0041ac50
mov ecx, eax
call fcn.00411170
mov eax, dword [0x4adb38]
pop edi
pop ebx
test eax, eax
je 0x41aec7
push 0x814
push eax
call fcn.0041b36a
add esp, 8
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dword [0x4adb38], 0
cmp edx, 8
jb 0x41af0a
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41af00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41af13
push edx
push ecx
call fcn.0041b36a
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.0044be7f
int3
Function at 0x41ee40
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.0041eed0
add esp, 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x41ee72
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x41eec6
mov eax, dword [ebp - 4]
and eax, 0x800000ff
jns 0x41ee8b
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 0x41eea5
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 0x41ee69
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x423e90
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 0x423ec1
cmp dword [ebp + 0xc], 0
je 0x423ec1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x423ec1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423ec8
xor eax, eax
jmp 0x423fb2
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x423ef1
xor eax, eax
jmp 0x423fb2
lea edx, [ebp - 8]
push edx
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x423faf
push 0x44
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.00449450
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x58], str.winsta0default
mov dword [ebp - 0x34], 1
mov dx, word [ebp + 0x18]
mov word [ebp - 0x30], dx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
je 0x423faf
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x14], 0
je 0x423f8f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0
je 0x423f9f
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x423faf
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4240a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00449450
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov dx, word [ebp + 0x10]
mov word [ebp - 0x28], dx
mov dword [ebp - 0x50], str.WinSta0default
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42411d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x424152
cmp dword [ebp - 0x10], 0
je 0x42412d
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x42414d
cmp dword [ebp + 0x14], 0
je 0x424143
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x42414d
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x425a20
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x423e50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x425a85
push 0xea60
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x425a74
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x425a87
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4274d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00454eb0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040c130
push 0xb
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00449450
add esp, 0xc
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x42ed70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483abd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
lea ecx, [ebp - 0x78]
call fcn.0041d890
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.0042e0b0
add esp, 8
lea edx, [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 8
jb 0x42edc8
mov dword [ebp - 0x20], 1
jmp 0x42edcf
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x42edeb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x42eeb3
lea eax, [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x42ee1f
mov dword [ebp - 0x28], 1
jmp 0x42ee26
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x42ee42
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
test edx, edx
je 0x42eeb3
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x42ee76
mov dword [ebp - 0x30], 1
jmp 0x42ee7d
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
je 0x42ee99
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42eed6
lea edx, [ebp - 0x78]
push edx
call fcn.0042eb70
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00422580
mov eax, dword [ebp - 0x5c]
jmp 0x42eeef
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00422580
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret