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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x5e10a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.0043fcd0
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42d945
mov eax, dword [eax]
push str.CfgPath
push eax
lea eax, [ebp - 0x20c]
push 0x57d6f0
push eax
call fcn.00413e30
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d97d
lea eax, [ebp - 0x20c]
push eax
call fcn.00437976
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0043fcd0
push str.Use.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str._s_s
push eax
call fcn.00413e30
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x42d9bc
mov eax, esi
jmp 0x42d9c9
lea eax, [ebp - 0x414]
push eax
call fcn.0045190b
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.004089f0
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0043fcd0
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call fcn.00413e30
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x42da1b
mov eax, esi
jmp 0x42da28
lea eax, [ebp - 0x61c]
push eax
call fcn.0045190b
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.004089f0
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0043fcd0
lea eax, [ebp - 0xa44]
push str.CCYSPath
push eax
call fcn.00437c98
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x42da69
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5d7bb4
push eax
call fcn.00413e30
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00408930
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42daaa
lea eax, [ebp - 0x824]
push eax
call fcn.00437976
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.0043fcd0
push str.UseCache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push str._s_s
push eax
call fcn.00413e30
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x42daf4
lea eax, [ebp - 0xa2c]
push eax
call fcn.0045190b
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.004089f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004273c3
mov esp, ebp
pop ebp
ret
Function at 0x42e0c8
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5772a5
call fcn.00463e69
mov ebx, ecx
call fcn.0042c99d
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.004089a0
mov esi, str.JiKePDFReader.ini
push esi
call fcn.0045190b
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0040b980
push str.jikepdf
push 0x57d738
push str.JiKeApp
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0042ca98
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x42e13e
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004091c0
push str.jikepdf
mov ecx, esi
call fcn.0042e663
test eax, eax
jne 0x42e1ba
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043fcd0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42e16b
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.jikepdf
push eax
push edi
push 0x57d738
push str.JiKeApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42e19c
xor eax, eax
jmp 0x42e1a9
lea eax, [ebp - 0x218]
push eax
call fcn.0045190b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004089f0
jmp 0x42e1bf
mov edi, str.jikepdf
push edi
mov ecx, esi
call fcn.0042e663
test eax, eax
jne 0x42e282
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043fcd0
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.0040b7a0
push str.JiKePDFReader.ini
mov byte [ebp - 4], 1
call fcn.0045190b
pop ecx
push eax
push str.JiKePDFReader.ini
lea ecx, [ebp - 0x230]
call fcn.0040b980
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x57d738
push str.JiKeApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42e253
xor eax, eax
jmp 0x42e260
lea eax, [ebp - 0x218]
push eax
call fcn.0045190b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004089f0
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00408930
push edi
mov ecx, esi
call fcn.0042e663
test eax, eax
jne 0x42e2be
push edi
push 0x57d738
push str.JiKeApp
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0042cbff
push eax
mov ecx, esi
call fcn.0040b720
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00408930
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00408930
call fcn.00463e24
ret

Function at 0x4338ae
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5e10a4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0043fcd0
push str.JiKePDFReader
lea eax, [ebp - 0x20c]
push str.C:log_s.log
push eax
call fcn.00413e30
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004273c3
mov esp, ebp
pop ebp
ret
Function at 0x43390e
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc18
mov eax, dword [0x5e10a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x61c]
push edi
xor esi, esi
push esi
push eax
call fcn.0043fcd0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0044d443
push 0x3e8
lea eax, [ebp - 0xc10]
push esi
push eax
call fcn.0043fcd0
push str.JiKePDFReader
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.004337a7
push edi
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0043fcd0
add esp, 0x40
lea eax, [ebp - 0x20c]
push edi
push esi
push eax
call fcn.0043fcd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0045190b
pop ecx
test eax, eax
je 0x433b02
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0043f264
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x433b02
lea eax, [ebp - 0x20c]
push eax
call fcn.0045190b
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.0044d443
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.004337a7
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc10]
push 0x1f3
push 0x1f4
push eax
call fcn.0040c5b0
xor eax, eax
add esp, 0x38
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call edi
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x57deac
push eax
cmovne esi, ebx
call fcn.0045070d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x433b02
test esi, esi
jne 0x433aa8
push edi
push 2
lea eax, [ebp - 0xc18]
mov dword [ebp - 0xc18], 0xfeff
push ebx
push eax
call fcn.00451d94
add esp, 0x10
lea eax, [ebp - 0xc10]
push eax
call fcn.0045190b
push edi
add eax, eax
push eax
lea eax, [ebp - 0xc10]
push ebx
push eax
call fcn.00451d94
push edi
push 2
lea eax, [ebp - 0xc14]
mov dword [ebp - 0xc14], 0xd
push ebx
push eax
call fcn.00451d94
push edi
push 2
lea eax, [ebp - 0xc14]
mov dword [ebp - 0xc14], 0xa
push ebx
push eax
call fcn.00451d94
push edi
call fcn.0045050b
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004273c3
mov esp, ebp
pop ebp
ret
Function at 0x433b13
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.004273e0
mov eax, dword [0x5e10a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x61c]
push edi
xor esi, esi
push esi
push eax
call fcn.0043fcd0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0044d443
push 0x800
lea eax, [ebp - 0x1028]
push esi
push eax
call fcn.0043fcd0
push str.JiKePDFReader
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.004337a7
push edi
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0043fcd0
add esp, 0x40
lea eax, [ebp - 0x20c]
push edi
push esi
push eax
call fcn.0043fcd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0045190b
pop ecx
test eax, eax
je 0x433d72
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0043f264
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x433d72
lea eax, [ebp - 0x20c]
push eax
call fcn.0045190b
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0044d443
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.004337a7
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.0040c5b0
push esi
call fcn.00447e8e
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.00452076
add esp, 0x40
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test edi, edi
je 0x433d72
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [edi]
mov eax, dword [edi + 0x10]
push dword [edi + 4]
inc eax
push dword [edi + 8]
push dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.004337c5
xor eax, eax
add esp, 0x28
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call ebx
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x57deac
push eax
cmovne esi, ebx
call fcn.0045070d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x433d72
test esi, esi
jne 0x433d18
push edi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.00451d94
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.0045190b
push edi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.00451d94
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.00451d94
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.00451d94
push edi
call fcn.0045050b
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004273c3
mov esp, ebp
pop ebp
ret
Function at 0x433d83
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.004273e0
mov eax, dword [0x5e10a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
call fcn.00447e8e
mov dword [ebp - 0x1014], eax
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 0x1010], edx
call fcn.00452076
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x10]
push edi
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x1004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.004337c5
add esp, 0x28
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
xor ecx, ecx
pop edi
inc ecx
test eax, eax
push 0x57deac
push ebx
cmovne edi, ecx
call fcn.0045070d
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x433e9f
test edi, edi
jne 0x433e42
push esi
push 2
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0xfeff
push 1
push eax
call fcn.00451d94
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call fcn.0045190b
push esi
add eax, eax
push eax
lea eax, [ebp - 0x1004]
push 1
push eax
call fcn.00451d94
push esi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xd
push 1
push eax
call fcn.00451d94
push esi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xa
push 1
push eax
call fcn.00451d94
push esi
call fcn.0045050b
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004273c3
mov esp, ebp
pop ebp
ret
Function at 0x433fe3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov edi, 0xf01ff
mov dword [ebp - 8], ebx
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x434132
lea eax, [ebp - 0x10]
push eax
push 1
push 1
push ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x434132
push str.Kernel32.dll
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x43407d
push str.WTSGetActiveConsoleSessionId
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434076
call eax
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0xc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x434132
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Wtsapi32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x434159
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4340c9
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push ecx
push dword [ebp - 0x14]
call eax
push ebx
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
push dword [ebp - 0xc]
test eax, eax
jne 0x4340c7
call esi
jmp 0x434132
call esi
push 0x44
pop edi
push edi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.0043fcd0
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0043fcd0
add esp, 0x18
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], str.WinSta0Default
mov dword [ebp - 0x3c], 1
push 5
pop eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp - 4]
push 0x430
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x434132
cmp dword [ebp - 4], ebx
je 0x434130
push dword [ebp - 4]
call sub.USERENV.dll_DestroyEnvironmentBlock
mov bl, 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x434141
cmp eax, 0xffffffff
je 0x434141
push eax
call esi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x434150
cmp ecx, 0xffffffff
je 0x434150
push ecx
call esi
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
jne 0x4340c9
push dword [ebp - 8]
jmp 0x4340c3
Function at 0x434259
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x577bc4
call fcn.00463e69
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 0x44], 0
push 0x44
pop ebx
push ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0043fcd0
push 0x10
lea eax, [ebp - 0x58]
mov dword [ebp - 0x9c], ebx
push 0
push eax
call fcn.0043fcd0
add esp, 0x18
xor edx, edx
xor eax, eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x40], ax
or ebx, 0xffffffff
mov byte [ebp - 4], 1
test edi, edi
je 0x434341
cmp word [edi], dx
jne 0x4342d2
mov eax, edx
jmp 0x4342d9
push edi
call fcn.0045190b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004089f0
cmp dword [ebp - 0x30], 0
je 0x434341
mov edi, 0x579900
push edi
call fcn.0045190b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004089f0
xor edi, edi
cmp word [esi], di
jne 0x43430a
mov eax, edi
jmp 0x434311
push esi
call fcn.0045190b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b980
mov esi, 0x579904
push esi
call fcn.0045190b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b980
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040bab0
jmp 0x43435d
xor edi, edi
cmp word [esi], di
jne 0x43434c
mov eax, edi
jmp 0x434353
push esi
call fcn.0045190b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004089f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.00433eb0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push edi
push edi
push edi
push 1
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x43439f
mov esi, edi
jmp 0x4343e7
cmp byte [ebp + 0x10], 0
je 0x4343b7
cmp dword [ebp + 0x14], 0
cmovg ebx, dword [ebp + 0x14]
push ebx
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4343d4
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4343d4
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
xor esi, esi
inc esi
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.00408930
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00408930
mov eax, esi
call fcn.00463e24
ret
Function at 0x43442a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2068
call fcn.004273e0
mov eax, dword [0x5e10a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp byte [ebp + 0x10], 0
push edi
mov edi, dword [ebp + 8]
je 0x434618
push 0x2000
lea eax, [ebp - 0x2004]
mov dword [ebp - 0x2010], esi
push esi
push eax
mov dword [ebp - 0x2008], esi
call fcn.0043fcd0
push ebx
push edi
lea eax, [ebp - 0x2004]
push str.__s___s
push eax
call fcn.00413e30
push str.EXPLORER.EXE
call fcn.0043480c
add esp, 0x20
push eax
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4345e3
lea eax, [ebp - 0x2010]
mov edi, 0xf01ff
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4345e3
lea eax, [ebp - 0x2008]
push eax
push 1
push 1
push esi
push edi
push dword [ebp - 0x2010]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4345e3
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x434537
push str.WTSGetActiveConsoleSessionId
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434530
call eax
push 4
mov dword [ebp - 0x2014], eax
lea eax, [ebp - 0x2014]
push eax
push 0xc
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x4345e3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x2068]
push esi
push eax
call fcn.0043fcd0
push 0x10
lea eax, [ebp - 0x2024]
push esi
push eax
call fcn.0043fcd0
add esp, 0x18
mov dword [ebp - 0x2068], edi
mov dword [ebp - 0x2060], str.WinSta0Default
mov dword [ebp - 0x203c], 1
mov dword [ebp - 0x200c], esi
push 5
pop eax
push esi
push dword [ebp - 0x2008]
mov word [ebp - 0x2038], ax
lea eax, [ebp - 0x200c]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x4345e3
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2068]
push eax
push esi
push dword [ebp - 0x200c]
lea eax, [ebp - 0x2004]
push 0x430
push esi
push esi
push esi
push eax
push esi
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x4345e3
cmp dword [ebp - 0x200c], esi
je 0x4345e3
push dword [ebp - 0x200c]
call sub.USERENV.dll_DestroyEnvironmentBlock
mov eax, dword [ebp - 0x2008]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4345fb
cmp eax, 0xffffffff
je 0x4345fb
push eax
call edi
mov eax, dword [ebp - 0x2010]
test eax, eax
je 0x43460d
cmp eax, 0xffffffff
je 0x43460d
push eax
call edi
test ebx, ebx
jne 0x434614
push esi
call edi
xor al, al
jmp 0x43462a
push esi
push esi
push esi
push ebx
push edi
call fcn.00434259
add esp, 0x14
test eax, eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004273c3
mov esp, ebp
pop ebp
ret
Function at 0x43480c
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x577c2c
call fcn.00463e69
mov eax, dword [ebp + 8]
test eax, eax
je 0x434908
push eax
lea ecx, [ebp - 0x40]
call fcn.004086c0
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0043635a
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.0043fcd0
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4348f9
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4348ee
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x434898
mov eax, ebx
jmp 0x4348a5
lea eax, [ebp - 0x248]
push eax
call fcn.0045190b
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.004089f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0043635a
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042e633
test eax, eax
je 0x43490e
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00408930
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43487b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00408930
mov eax, esi
call fcn.00463e24
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00408930
jmp 0x4348fb

Function at 0x434a2b
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x577c2c
call fcn.00463e69
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x26c]
xor ebx, ebx
push 0x22c
push ebx
push eax
mov edi, ebx
call fcn.0043fcd0
add esp, 0xc
lea ecx, [ebp - 0x40]
push esi
call fcn.004086c0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.0043635a
pop ecx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x434a80
jmp 0x434b21
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x434b0c
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x434ab6
mov eax, ebx
jmp 0x434ac3
lea eax, [ebp - 0x248]
push eax
call fcn.0045190b
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.004089f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0043635a
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042e633
lea ecx, [ebp - 0x28]
push ebx
push 1
test eax, eax
je 0x434b12
mov byte [ebp - 4], bl
call fcn.00408930
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x434a99
jmp 0x434b1a
xor edi, edi
inc edi
call fcn.00408930
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00408930
mov eax, edi
call fcn.00463e24
ret