joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434432
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x452e6a
call fcn.0043d3bc
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x434526
cmp byte [esi + 0x49], bl
je 0x434526
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x434467
xor al, al
jmp 0x434528
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040d250
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4344c9
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x4344ce
dec eax
je 0x4344d2
dec eax
dec eax
je 0x434522
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401760
mov al, bl
jmp 0x434528
mov edx, dword [ebp - 0x2c]
jmp 0x434490
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4344de
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x434504
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4344f1
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0043dea0
add esp, 0x10
cmp edi, eax
jne 0x4344b3
cmp byte [esi + 0x49], 0
je 0x434522
test edi, edi
jne 0x434482
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004049f0
jmp 0x434482
mov bl, 1
jmp 0x4344b5
mov al, 1
call fcn.0043d406
ret

Function at 0x43531a
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x3c
mov eax, 0x4531a3
call fcn.0043d3bc
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004353df
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x43527a
lea eax, [ebp - 0x2c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
mov bl, 1
test eax, eax
je 0x4352a1
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401760
mov al, bl
call fcn.0043d406
ret
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.004350c4
pop ecx
pop ecx
mov byte [ebp - 4], 1
xor esi, esi
cmp dword [ebp - 0x38], esi
je 0x4352c8
lea eax, [ebp - 0x48]
push eax
call 0x43524f
mov bl, al
pop ecx
test bl, bl
je 0x435306
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4352d4
lea eax, [ebp - 0x2c]
push eax
call edi
test eax, eax
jne 0x435306
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4352e7
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x435306
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete bl
mov byte [ebp - 4], 0
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.00401760
jmp 0x435289
push ebp
mov ebp, esp
pop ebp
jmp 0x43524f
Function at 0x436fc2
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x450
mov eax, 0x4538a0
call fcn.0043d3bc
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x410
lea eax, [ebp - 0x420]
push ebx
push eax
mov byte [ebp - 0x459], bl
call fcn.0043b860
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
mov esi, 0x208
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4370d4
push esi
lea eax, [ebp - 0x420]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00401410
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.00435323
pop ecx
pop ecx
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x43c]
call fcn.004018b0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4370aa
cmp byte [ebp + 0xc], bl
je 0x4370aa
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00401410
mov byte [ebp - 4], 3
lea eax, [ebp - 0x43c]
push eax
call fcn.0043782c
pop ecx
mov byte [ebp - 0x45a], al
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x43c]
call fcn.004018b0
cmp byte [ebp - 0x45a], bl
je 0x4370c2
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x458]
push eax
mov ecx, edi
call fcn.004015e0
mov byte [ebp - 0x459], 1
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x458]
call fcn.00401760
mov al, byte [ebp - 0x459]
call fcn.0043d406
ret

Function at 0x43782c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp dword [eax + 0x14], 8
jb 0x43783d
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x437856
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x437858
mov bl, 1
mov al, bl
pop ebx
pop ebp
ret
Function at 0x43785d
Capabilities:
Check if file exists

Disassembly:
push 0x470
mov eax, 0x4539fb
call fcn.0043d3bc
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
mov byte [ebp - 0x475], bl
call fcn.0043b860
xor eax, eax
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x42c], ebx
mov word [ebp - 0x43c], ax
mov dword [ebp - 4], ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push eax
push ebx
call fcn.00437796
xor edi, edi
inc edi
add esp, 0x1c
cmp eax, edi
jne 0x43793d
lea eax, [ebp - 0x420]
push eax
call fcn.0043d415
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00401d50
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x458]
call fcn.00401410
mov byte [ebp - 4], 1
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.00435323
pop ecx
pop ecx
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00401560
mov byte [ebp - 4], 1
push ebx
push edi
lea ecx, [ebp - 0x474]
call fcn.00401760
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp - 0x458]
call fcn.004018b0
jmp 0x4379f6
lea eax, [ebp - 0x47c]
push eax
push dword [ebp + 8]
call fcn.004377e5
pop ecx
pop ecx
test al, al
je 0x437a35
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x437a35
lea eax, [ebp - 0x420]
push eax
call fcn.0043d415
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00401d50
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x458]
call fcn.00401410
mov byte [ebp - 4], 3
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.00435323
pop ecx
pop ecx
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.00401560
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x474]
call fcn.00401760
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp - 0x458]
call fcn.004018b0
lea eax, [ebp - 0x47c]
push eax
call fcn.00437803
pop ecx
mov byte [ebp - 0x475], 1
cmp byte [ebp + 0x10], bl
je 0x437a35
cmp dword [ebp - 0x428], 8
mov eax, dword [ebp - 0x43c]
jae 0x437a17
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437a35
lea eax, [ebp - 0x43c]
push eax
call fcn.0043782c
pop ecx
mov byte [ebp - 0x475], al
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x43c]
call fcn.004018b0
mov al, byte [ebp - 0x475]
call fcn.0043d406
ret

Function at 0x43a0d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x468620]
jne 0x43a0df
repz ret
jmp fcn.0044336a
Function at 0x44d79c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x468620]
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.00442c42
and dword [ebp - 0x14], 0
cmp dword [0x46bed0], 0
mov dword [ebp - 0x18], eax
jne 0x44d84f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x44d8f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x44d8f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46bed0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46bed4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46bed8], eax
call edi
push eax
call esi
mov dword [0x46bee0], eax
test eax, eax
je 0x44d84f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46bedc], eax
mov eax, dword [0x46bedc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x44d8a8
cmp dword [0x46bee0], ecx
je 0x44d8a8
push eax
call esi
push dword [0x46bee0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x44d8a8
test ebx, ebx
je 0x44d8a8
call edi
test eax, eax
je 0x44d89f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x44d89f
test byte [ebp - 8], 1
jne 0x44d8a8
or dword [ebp + 0x10], 0x200000
jmp 0x44d8db
mov eax, dword [0x46bed4]
cmp eax, dword [ebp - 0x18]
je 0x44d8db
push eax
call esi
test eax, eax
je 0x44d8db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44d8db
mov eax, dword [0x46bed8]
cmp eax, dword [ebp - 0x18]
je 0x44d8db
push eax
call esi
test eax, eax
je 0x44d8db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46bed0]
call esi
test eax, eax
je 0x44d8f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x44d8f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a0d5
leave
ret
Function at 0x43f8a1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43f8cf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43f8ed
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043f80b
jmp 0x43f8ed
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43f8ed
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043f80b
test edi, edi
mov eax, edi
jne 0x43f8d7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x56a314]
test ecx, ecx
je 0x43f9a0
jmp 0x43f8a0
ret 8

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x9467b7f
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2821150a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
nop
mov ecx, 0xf225a52
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x32ac5799
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4361a0
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5afdec
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x629960]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
push edi
mov eax, dword [0x629960]
xor eax, esp
push eax
lea eax, [esp + 0x3e0]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0048cc29
push 0
lea eax, [edi + 0x1a8]
push eax
lea eax, [edi + 0x1b8]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
call fcn.0048d68d
mov ecx, dword [eax + 8]
call fcn.0046e5f0
lea ecx, [edi + 0xcc]
call fcn.00435c10
test al, al
jne 0x436220
xor eax, eax
jmp 0x4363ed
mov eax, dword [0x64769c]
test al, 1
jne 0x436248
or eax, 1
mov dword [0x6476a0], 0
push 0x5bd8f0
mov dword [0x64769c], eax
call fcn.004a1e6f
add esp, 4
push str.GlobalE999CB55_F408_46D1_B5CB_6D5AF7B5E2A1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x6476a0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
je 0x436271
cmp esi, 5
jne 0x43627c
push str.Singleton_App:_App_Is_Already_Running__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test esi, esi
jne 0x436219
lea ecx, [esp + 0x1c]
call fcn.00437a10
push 0xffffffffffffffff
push esi
push 0x647408
lea ecx, [esp + 0x28]
mov dword [esp + 0x3f4], esi
call fcn.004374f0
push 0xffffffffffffffff
push esi
push 0x647420
lea ecx, [esp + 0x40]
call fcn.004374f0
push 0x27
push str.http:__tj.driverzj.com:8972_api_request
lea ecx, [esp + 0x54]
call fcn.00437370
sub esp, 0x64
lea eax, [esp + 0x80]
mov ecx, esp
push eax
call fcn.004364b0
call fcn.00489da0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
push str.StatisticalMemo
call fcn.00438360
sub esp, 0x18
mov byte [esp + 0x418], 1
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x60c6c0
call fcn.00438360
sub esp, 0x18
mov byte [esp + 0x430], 2
mov ecx, esp
push str.1B17622E_93C4_484D_B1A3_2251F98C4C68
call fcn.00438360
mov byte [esp + 0x430], 0
call fcn.00489fe0
push 0x34c
lea eax, [esp + 0x88]
push esi
push eax
call fcn.004a3440
add esp, 8
lea ecx, [esp + 0x88]
call fcn.00439b10
lea eax, [esp + 0x84]
mov byte [esp + 0x3e8], 3
mov ecx, eax
mov dword [edi + 0x20], eax
call fcn.0048dc65
mov eax, dword [0x6476a0]
test eax, eax
je 0x43637c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x6476a0], esi
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x6474fc
call esi
cmp dword [0x6474f8], 0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x6474fc
sete bl
call edi
test bl, bl
jne 0x4363cb
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x6474fc
call esi
cmp dword [0x6474f8], 0
push 0x6474fc
sete bl
call edi
test bl, bl
je 0x4363a4
lea ecx, [esp + 0x84]
mov byte [esp + 0x3e8], 0
call fcn.00439c90
lea ecx, [esp + 0x1c]
call fcn.00436420
mov eax, 1
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
Function at 0x43bf60
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b07f8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x629960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push eax
push 0x400
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.0043e6e0
lea ecx, [ebp - 0x98]
call fcn.0044a830
cmp dword [esi + 0x14], 8
mov ecx, eax
jb 0x43bfc8
mov esi, dword [esi]
cmp dword [ecx + 0x14], 8
jb 0x43bfd0
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push ecx
push str.__s__defwlp_s
push 0x400
push eax
call fcn.004a235a
add esp, 0x14
cmp dword [ebp - 0x84], 8
jb 0x43c007
push dword [ebp - 0x98]
call fcn.0048c32c
add esp, 4
push 0x44
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004a3440
or dword [ebp - 0x44], 1
lea ecx, [ebp - 0x80]
add esp, 0xc
mov dword [ebp - 0x70], 0x44
xor eax, eax
xorps xmm0, xmm0
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push eax
push 0
movdqu xmmword [ebp - 0x80], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43c099
push 0x3a98
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x43c07e
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43c089
push 1
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x7c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x80]
call esi
cmp dword [ebp - 0x14], 8
jb 0x43c0aa
push dword [ebp - 0x28]
call fcn.0048c32c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
Function at 0x43ced0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0953
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x629960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x40
lea eax, [ebp - 0x674]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004a3440
xor eax, eax
mov dword [ebp - 0x678], 0x44
push 0x647360
mov edx, str.start_typeoutput_res_output_res_path
mov word [ebp - 0x648], ax
lea ecx, [ebp - 0x630]
mov dword [ebp - 0x64c], 0x101
call fcn.00437030
xor eax, eax
mov byte [ebp - 4], 1
push 0x3fe
push eax
mov word [ebp - 0x618], ax
lea eax, [ebp - 0x616]
push eax
call fcn.004a3440
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004a3440
push 0x1ff
push 0x60dc60
lea eax, [ebp - 0x618]
push 0x200
push eax
call fcn.004a3314
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x618]
push 0x200
push eax
call fcn.004a33d2
add esp, 0x44
lea eax, [ebp - 0x618]
push 0x60dc64
push 0x200
push eax
call fcn.004a33d2
cmp dword [ebp - 0x61c], 8
lea eax, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x618]
push 0x200
push eax
call fcn.004a33d2
cmp dword [0x647374], 8
mov eax, 0x647360
push 0x103
cmovae eax, dword [0x647360]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004a3314
add esp, 0x28
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x20
push 1
push 0
push 0
lea eax, [ebp - 0x618]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x43d06e
push 0xb
push 0x60dc6c
lea ecx, [esi + 0x334]
call fcn.00438260
xor bl, bl
jmp 0x43d081
push 0x927c0
push dword [ebp - 0x688]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov bl, 1
cmp dword [ebp - 0x61c], 8
jb 0x43d098
push dword [ebp - 0x630]
call fcn.0048c32c
add esp, 4
xor eax, eax
mov dword [ebp - 0x61c], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x620], 0
mov word [ebp - 0x630], ax
jb 0x43d0c6
push dword [ebp + 8]
call fcn.0048c32c
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret 0x18
Function at 0x43d540
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0a67
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x629960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x60ddcc
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0043f180
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0043e650
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x647674]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4