joyce8/EMBER2024-capa huggingface dataset:
Function at 0x598e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ad24
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6f8458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0x10]
sub edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
sub esi, dword [ebp + 0xc]
lea ecx, [edi + 1]
lea ebx, [esi + 1]
test ecx, ecx
je 0x598f2b
test ebx, ebx
je 0x598f2b
push 0x40
call fcn.005ab7cc
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x598ec0
mov ecx, eax
call fcn.0059d120
mov ecx, eax
jmp 0x598ec2
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
lea eax, [edi + 1]
cmp ebx, eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x10]
cmovle esi, edi
inc esi
mov dword [ecx + 0x24], esi
movzx eax, word [eax + 0x8c]
imul eax, dword [ebp + 0xc]
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
add eax, edx
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x59d280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ae9d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6f8458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x7857f8], edi
lea esi, [edi + 0x6c]
mov dword [edi], vtable.CSoundManager.0
push 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005ab7cc
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x43480000
mov dword [edi + 0x1c], 0x447a0000
mov dword [edi + 0x20], 0x3f800000
mov dword [edi + 0x24], 0x3f800000
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5af640
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
xor dl, dl
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 8], eax
push ebp
push esi
push edi
test bl, 3
jne 0x5af771
test al, 3
jne 0x5af771
mov edi, ecx
mov dword [esp + 0x10], 0
shr edi, 2
xor esi, esi
test edi, edi
je 0x5af72c
cmp edi, 8
jb 0x5af6f5
mov ebp, dword [esp + 0x20]
mov edx, edi
mov dword [esp + 0x14], ebx
and edx, 0xfffffff8
add eax, 0x10
xorps xmm3, xmm3
sub dword [esp + 0x14], ebp
xorps xmm2, xmm2
mov ebp, dword [esp + 0x14]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + esi*4]
add esi, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + ebp - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp esi, edx
jb 0x5af6a4
mov eax, dword [esp + 0x20]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd dword [esp + 0x10], xmm2
cmp esi, edi
jae 0x5af730
mov ebp, ebx
lea edx, [eax + esi*4]
sub ebp, eax
mov dword [esp + 0x14], ebp
mov ebp, edi
mov ebx, dword [esp + 0x14]
sub ebp, esi
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, dword [edx + ebx]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
or edi, eax
sub ebp, 1
jne 0x5af712
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
jmp 0x5af734
xor edi, edi
jmp 0x5af734
mov edi, dword [esp + 0x10]
shl esi, 2
sub ecx, esi
jne 0x5af748
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
add ebx, esi
mov ebp, dword [esp + 0x20]
mov edx, eax
shr eax, 0x10
add ebp, esi
shr edx, 0x18
or dl, al
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
shr eax, 8
or dl, al
mov eax, ebp
or dl, byte [esp + 0x10]
xor edi, edi
test ecx, ecx
je 0x5af830
cmp ecx, 0x20
jb 0x5af80a
mov esi, ecx
xorps xmm3, xmm3
and esi, 0xffffffe0
xorps xmm2, xmm2
mov dword [esp + 0x1c], esi
mov esi, ebx
sub esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [ebx + edi + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, esi
jb 0x5af7a5
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
mov ebp, dword [esp + 0x14]
cmp edi, ecx
jae 0x5af830
sub ebx, ebp
lea esi, [edi + ebp]
sub ecx, edi
nop dword [eax]
mov al, byte [ebx + esi]
lea esi, [esi + 1]
xor al, byte [esi - 1]
or dl, al
sub ecx, 1
jne 0x5af820
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x5ceaf0
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x74c35c], 0
jne 0x5ceafe
call fcn.005dbe30
cmp byte [0x74c365], 0
je 0x5ceb1c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.005ddbf0
add esp, 0x10
ret
jmp fcn.005cce30

Function at 0x5d2630
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64c2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6f8458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push 0
push 0
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x5d26a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 1
push 0
push str.Crypto_RNG
push esi
mov ebx, eax
call edi
test eax, eax
jne 0x5d26a6
push 0x28
push 1
push eax
push str.Crypto_RNG
push esi
call edi
test eax, eax
je 0x5d26c4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ab78d
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.CryptAcquireContext
lea ecx, [ebp - 0x28]
call fcn.0044fa80
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.005d2790
push 0x6d3534
lea eax, [ebp - 0x50]
push eax
call fcn.005df2e7
int3

Function at 0x6016e2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00601393

Function at 0x6016ed
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0060151d

Function at 0x60acb0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0060a803
Function at 0x617fc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fbc2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6f8458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0050eb10
mov dword [edi], vtable.CSkyObject.0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea esi, [edi + 0x134]
mov byte [ebp - 4], 1
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005ab7cc
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0x3f800000
mov dword [edi + 0x1cc], 0x3f800000
mov dword [edi + 0x1d0], 0x3f800000
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0xf
mov byte [edi + 0x1d8], 0
lea ecx, [edi + 0x1f4]
mov byte [ebp - 4], 3
call fcn.0051c980
mov dword [edi + 0x174], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x178], 0x3f800000
mov dword [edi + 0x164], 0x3f800000
mov dword [edi + 0x150], 0x3f800000
mov dword [edi + 0x13c], 0x3f800000
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x1b8], 0x3f800000
mov dword [edi + 0x1a4], 0x3f800000
mov dword [edi + 0x190], 0x3f800000
mov dword [edi + 0x17c], 0x3f800000
mov byte [ebp - 4], 4
mov dword [edi + 0xf8], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xfc], 0x3f800000
mov dword [edi + 0xe8], 0x3f800000
mov dword [edi + 0xd4], 0x3f800000
mov dword [edi + 0xc0], 0x3f800000
mov ecx, dword [0x785768]
call fcn.004fb550
mov dword [edi + 0x130], eax
mov eax, edi
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov word [edi + 0x1f0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420b5b
Capabilities:
Parse pe header

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

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x14df5ed3
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x3d0c297e
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x419f89
Capabilities:
Create directory

Disassembly:
sub esp, 0x21c
push ebp
push edi
push esi
push ebx
mov ebp, dword [esp + 0x230]
mov edi, dword [esp + 0x234]
add esp, 0xfffffff8
push 0
push 0
push edi
push ebp
push 0
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
mov esi, eax
add esp, 8
cmp esi, 0x104
jg 0x419fd0
add esp, 0xfffffff8
push esi
lea ebx, [esp + 0x1c]
push ebx
push edi
push ebp
push 0
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
mov word [ebx + esi*2], 0
push 0
push ebx
call sub.KERNEL32.dll_CreateDirectoryW
add esp, 8
jmp 0x419fd2
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x21c
ret
Function at 0x41a4a9
Capabilities:
Delete directory

Disassembly:
sub esp, 0x21c
push ebp
push edi
push esi
push ebx
mov ebp, dword [esp + 0x230]
mov edi, dword [esp + 0x234]
add esp, 0xfffffff8
push 0
push 0
push edi
push ebp
push 0
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
mov ebx, eax
add esp, 8
cmp ebx, 0x104
jg 0x41a507
add esp, 0xfffffff8
push ebx
lea esi, [esp + 0x1c]
push esi
push edi
push ebp
push 0
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
mov word [esi + ebx*2], 0
add esp, 0xfffffffc
push esi
call fcn.00419d64
add esp, 0x10
test eax, eax
jne 0x41a507
add esp, 0xfffffff4
push esi
call sub.KERNEL32.dll_RemoveDirectoryW
add esp, 0xc
test eax, eax
setne al
and eax, 0xff
jmp 0x41a509
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x21c
ret
Function at 0x41cc58
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x28
push ebx
cmp byte [0x50f800], 0
je 0x41cc95
add esp, 0xfffffff8
lea eax, [esp + 0x24]
push eax
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x20
push eax
call sub.crtdll.dll_fgetpos
add esp, 0xfffffffc
push 0
push 0
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x20
push eax
call sub.crtdll.dll_fseek
add esp, 0x20
jmp 0x41cc9d
mov dword [esp + 0x1c], 0
cmp byte [0x50f910], 0
je 0x41ccd6
add esp, 0xfffffff8
lea eax, [esp + 0x20]
push eax
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x40
push eax
call sub.crtdll.dll_fgetpos
add esp, 0xfffffffc
push 0
push 0
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x40
push eax
call sub.crtdll.dll_fseek
add esp, 0x20
jmp 0x41ccde
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test eax, eax
jg 0x41ccee
test edx, edx
jle 0x41cd5f
add esp, 0xfffffff8
push 1
lea eax, [edx + eax + 2]
push eax
call sub.crtdll.dll_calloc
mov ebx, eax
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x20
push eax
push 1
push dword [esp + 0x34]
push ebx
call sub.crtdll.dll_fread
mov edx, dword [esp + 0x3c]
mov byte [edx + ebx], 0xa
add esp, 0x20
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x40
push eax
push 1
push dword [esp + 0x20]
lea eax, [edx + ebx + 1]
push eax
call sub.crtdll.dll_fread
add esp, 0x10
cmp dword [0x4dffac], 0
jne 0x41cd53
push 0
push 0x41cc50
push ebx
push 0
call sub.USER32.dll_MessageBoxA
add esp, 0xfffffff4
push ebx
call sub.crtdll.dll_free
add esp, 0x10
pop ebx
add esp, 0x28
ret
Function at 0x41db20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
push ebp
push edi
push esi
push ebx
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
add esp, 0xfffffff4
push 0
lea edi, [esp + 0x2c]
push edi
push 4
lea eax, [esp + 0x30]
push eax
push dword [0x4dff10]
call sub.KERNEL32.dll_ReadFile
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41db93
add esp, 0xfffffff4
inc eax
push eax
call sub.crtdll.dll_malloc
mov ebx, eax
add esp, 0xfffffff4
push 0
push edi
push dword [esp + 0x3c]
push ebx
push dword [0x4dff10]
call sub.KERNEL32.dll_ReadFile
mov eax, dword [esp + 0x34]
mov byte [eax + ebx], 0
add esp, 0x1c
jmp 0x41db95
xor ebx, ebx
cmp dword [esp + 0x14], 0
jne 0x41dbae
test ebx, ebx
je 0x41dbae
add esp, 0xfffffff4
push ebx
call sub.crtdll.dll_free
xor ebx, ebx
add esp, 0x10
cmp ebp, 0x7f
ja 0x41dbba
mov esi, dword [ebp*4 + 0x4ef980]
test esi, esi
je 0x41dbd5
mov dword [esi], ebx
mov eax, dword [esp + 0x14]
mov dword [esi + 8], eax
add esp, 0xfffffff4
push dword [esi + 4]
call fcn.0041f910
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x1c
ret

Function at 0x41dc74
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push ebx
cmp dword [0x4dff0c], 0
jne 0x41dc93
add esp, 0xfffffff4
push 0x41dbe0
call fcn.0041b138
jmp 0x41dd9c
push 0
push dword [esp + 0x34]
push dword [0x4dfef4]
push dword [0x4dff74]
call sub.USER32.dll_PostMessageA
add esp, 0xfffffff4
push 0
call sub.KERNEL32.dll_SetLastError
push 0
lea ebx, [esp + 0x2c]
push ebx
push 4
lea eax, [esp + 0x50]
push eax
push dword [0x4dff0c]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x41dcdb
cmp dword [esp + 0x1c], 4
je 0x41dceb
add esp, 0xfffffff4
push 0x41dc22
call fcn.0041f898
add esp, 0x10
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x41dd2a
add esp, 0xfffffff4
push 0
push ebx
push eax
push dword [esp + 0x4c]
push dword [0x4dff0c]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x41dd1a
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x1c], eax
je 0x41dd2a
add esp, 0xfffffff4
push 0x41dc3b
call fcn.0041f898
add esp, 0x10
add esp, 0xfffffff4
push 0
push ebx
push 4
lea eax, [esp + 0x58]
push eax
push dword [0x4dff0c]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x41dd50
cmp dword [esp + 0x1c], 4
je 0x41dd60
add esp, 0xfffffff4
push 0x41dc57
call fcn.0041f898
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x41dd9f
add esp, 0xfffffff4
push 0
push ebx
push eax
push dword [esp + 0x54]
push dword [0x4dff0c]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x41dd8f
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x1c], eax
je 0x41dd9f
add esp, 0xfffffff4
push 0x41dc3b
call fcn.0041f898
add esp, 0x10
pop ebx
add esp, 0x28
ret
Function at 0x41de7c
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push ebx
cmp dword [0x4dff0c], 0
jne 0x41dea0
add esp, 0xfffffff4
push 0x41ddc0
call fcn.0041b138
jmp 0x41e01e
push 0
push dword [esp + 0x34]
push dword [0x4dfef8]
push dword [0x4dff74]
call sub.USER32.dll_PostMessageA
add esp, 0xfffffff4
push 0
call sub.KERNEL32.dll_SetLastError
push 0
lea ebx, [esp + 0x2c]
push ebx
push 4
lea eax, [esp + 0x50]
push eax
push dword [0x4dff0c]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x41dee8
cmp dword [esp + 0x1c], 4
je 0x41def8
add esp, 0xfffffff4
push 0x41dc22
call fcn.0041f898
add esp, 0x10
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x41df37
add esp, 0xfffffff4
push 0
push ebx
push eax
push dword [esp + 0x4c]
push dword [0x4dff0c]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x41df27
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x1c], eax
je 0x41df37
add esp, 0xfffffff4
push 0x41dc3b
call fcn.0041f898
add esp, 0x10
add esp, 0xfffffff4
push 0
push ebx
push 4
lea eax, [esp + 0x58]
push eax
push dword [0x4dff0c]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x41df5d
cmp dword [esp + 0x1c], 4
je 0x41df6d
add esp, 0xfffffff4
push 0x41dc22
call fcn.0041f898
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x41dfac
add esp, 0xfffffff4
push 0
push ebx
push eax
push dword [esp + 0x54]
push dword [0x4dff0c]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x41df9c
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x1c], eax
je 0x41dfac
add esp, 0xfffffff4
push 0x41de20
call fcn.0041f898
add esp, 0x10
add esp, 0xfffffff4
push 0
push ebx
push 4
lea eax, [esp + 0x60]
push eax
push dword [0x4dff0c]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x41dfd2
cmp dword [esp + 0x1c], 4
je 0x41dfe2
add esp, 0xfffffff4
push 0x41de40
call fcn.0041f898
add esp, 0x10
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x41e021
add esp, 0xfffffff4
push 0
push ebx
push eax
push dword [esp + 0x5c]
push dword [0x4dff0c]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x41e011
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x1c], eax
je 0x41e021
add esp, 0xfffffff4
push 0x41de5f
call fcn.0041f898
add esp, 0x10
pop ebx
add esp, 0x28
ret

Function at 0x41e038
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
mov eax, dword [0x4dff0c]
test eax, eax
je 0x41e050
add esp, 0xfffffff4
push eax
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
mov dword [0x4dff0c], eax
push 0x1000
push 0
push 0x4dff14
push 0x4dff10
call sub.KERNEL32.dll_CreatePipe
test eax, eax
jne 0x41e086
add esp, 0xfffffff4
push 0x41e026
call fcn.0041f898
add esp, 0x10
push dword [0x4dff14]
call sub.KERNEL32.dll_GetCurrentProcess
push eax
push dword [0x4dff08]
push dword [0x4dff74]
call sub.USER32.dll_PostMessageA
add esp, 0xc
ret
Function at 0x41e210
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
cmp eax, dword [0x4dfeec]
jne 0x41e230
add esp, 0xfffffff4
push 0
call sub.crtdll.dll_exit
lea esi, [esi]
cmp eax, dword [0x4dff00]
jne 0x41e2b3
cmp dword [0x50f7d0], 0
jne 0x41e29c
add esp, 0xfffffff4
push dword [0x4dff74]
call sub.USER32.dll_IsWindow
add esp, 0xc
test eax, eax
je 0x41e29c
add esp, 0xfffffff8
lea eax, [esp + 8]
push eax
push dword [0x4dff74]
call sub.USER32.dll_GetClientRect
add esp, 0xfffffff4
push 6
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
sub edx, eax
mov eax, edx
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
sub edx, eax
mov eax, edx
push eax
push 0
push 0
push 0
push dword [0x4dff70]
call sub.USER32.dll_SetWindowPos
add esp, 0x14
add esp, 0xfffffffc
push 0
push 0
push dword [0x4dff70]
call sub.USER32.dll_InvalidateRect
add esp, 4
jmp 0x41e30c
cmp eax, dword [0x4dfef0]
jne 0x41e2e5
cmp dword [0x50f7d0], 0
jne 0x41e30c
add esp, 0xfffffffc
push 6
push dword [edx + 0xc]
push dword [edx + 8]
push 0
push 0
push 0
push dword [0x4dff70]
call sub.USER32.dll_SetWindowPos
add esp, 4
jmp 0x41e30c
cmp eax, dword [0x4dfefc]
jne 0x41e2f8
add esp, 0xfffffff4
push edx
call fcn.0041db20
jmp 0x41e309
cmp eax, dword [0x4dff04]
jne 0x41e30c
add esp, 0xfffffff4
push edx
call fcn.0041e038
add esp, 0x10
add esp, 0x1c
ret