joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dd40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x290
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x80], 0x33a631a3
mov dword [esp + 0x84], 0x37573551
mov dword [esp + 0x88], 0x2b7429b5
mov dword [esp + 0x8c], 0x2fa62d49
mov dword [esp + 0x90], 0x23222145
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov byte [esp + 0xa0], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x20
ja 0x41de0b
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
add al, 0xa8
xor al, byte [esp + ecx + 0x80]
add al, 0x68
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x80], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x21
jb 0x41dde0
lea eax, [esp + 0x80]
lea ecx, [esp + 0x5c]
push eax
call fcn.00430f80
shr eax, 0x1f
mov eax, dword [eax*4 + 0x43e284]
mov ecx, 0x732972eb
xor ecx, dword [0x43e28c]
add eax, ecx
inc eax
xor ebx, ebx
jmp eax
add byte [ecx], al
enter 0xffffffffffffff40, 0xffffffffffffffe0
push edi
call fcn.00408560
add esp, 4
mov edi, dword [esi + 0x44]
mov edx, dword [edi]
add edx, 4
xor eax, eax
mov ecx, dword [esi + 0x58]
cmp edx, dword [ecx]
setne al
mov eax, dword [eax*4 + 0x43e70c]
mov ecx, 0xa3a9d9f3
xor ecx, dword [str.LNP8]
add eax, ecx
inc eax
mov dword [edi], edx
mov edi, dword [esi + 0x34]
jmp eax
add byte [ecx], al
enter 0xffffffffffff8940, 0x17
mov edi, dword [esi + 0x34]
jmp eax
Function at 0x42ac90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ebx, esp
sub esp, 0x20
mov edi, esp
and edi, 0xfffffff0
mov esp, edi
push eax
mov dword [esi + 0x28], esp
push eax
mov dword [esi + 0x2c], eax
jmp 0x42acb8
mov byte [esi + 0xf], 0
jmp 0x42acbe
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
jmp 0x42acd2
jmp 0x42acd4
cmp eax, 0
je 0x42ae21
sub esp, 4
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
cmp eax, 0
setne al
jmp 0x42acfb
test al, 1
jne 0x42ad04
jmp 0x42ae13
mov eax, dword [esi + 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esi + 0x1c], eax
jmp 0x42ad18
mov eax, dword [esi + 0x1c]
sub esp, 4
mov dword [esp], eax
call fcn.00408660
add esp, 4
jmp 0x42ad2b
jmp 0x42ad2d
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x42ae02
call fcn.0040ff60
mov ecx, dword [esi + 0x2c]
mov edx, dword [ebx]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x28]
mov bl, byte [eax]
mov byte [esi + 0x18], bl
mov byte [edi], 0x2b
mov byte [edi + 1], 1
mov byte [edi + 2], 0x1b
mov byte [edi + 3], 3
mov byte [edi + 4], 0x16
mov byte [edi + 5], 2
mov byte [edi + 6], 0x17
mov byte [edi + 7], 1
mov byte [edi + 8], 0x10
mov byte [edi + 9], 0x47
mov byte [edi + 0xa], 0xe
mov byte [edi + 0xb], 3
mov byte [edi + 0xc], 0xc
mov byte [edi + 0xd], 0x79
mov dword [edi + 0x12], 0
mov dword [edi + 0xe], 0
mov dword [esi + 0x10], 0
mov ebx, dword [esi + 0x10]
cmp ebx, 0x16
jae 0x42ade5
mov dword [esi + 0x24], edx
jmp 0x42ada9
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
movzx eax, byte [edi + eax]
mov ebx, edx
add ebx, 0xb2f30bee
lea edx, [edx + eax - 0x4d0cf412]
and ebx, eax
add ebx, ebx
sub edx, ebx
add dl, 0x7e
mov eax, dword [esi + 0x10]
mov byte [edi + eax], dl
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cmp eax, 0x16
jb 0x42ada9
mov edx, dword [esi + 0x24]
jmp 0x42ade5
sub esp, 0xc
mov dword [esp], edi
mov eax, dword [esi + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00408e40
and al, 1
mov byte [esi + 0xf], al
jmp 0x42ae02
mov eax, dword [esi + 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42ae13
jmp 0x42ae15
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x42ae1d
jmp 0x42ae1f
jmp 0x42ae21
mov al, byte [esi + 0xf]
jmp 0x42ae26
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x434300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov dword [esp + 0x10], 0x535051a6
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x434365
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
add al, 0xb3
xor al, byte [esp + ecx + 0x10]
add al, 0x1b
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x434340
mov eax, dword [esp + 0x10]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
mov ecx, dword [ecx*4 + 0x4421f4]
mov edx, 0xa40d6aca
xor edx, dword [0x4421fc]
add ecx, edx
inc ecx
jmp ecx
Function at 0x435440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov ebp, dword [esp + 0x5c]
mov eax, 0xfffffffe
cmp word [ebp + eax + 2], 0
lea eax, [eax + 2]
jne 0x435450
mov edi, eax
sar edi, 1
cmp eax, 0xfffffff5
jge 0x43546b
mov eax, 0xffffffff
jmp 0x43546e
add eax, 0xa
push eax
call fcn.00408550
add esp, 4
mov esi, eax
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea eax, [edi + 4]
mov word [esi + 8], 0
mov ecx, esi
add ecx, 8
movzx edx, word [ebp]
test dx, dx
je 0x4354b2
add ebp, 2
mov word [ecx], dx
add ecx, 2
movzx edx, word [ebp]
add ebp, 2
test dx, dx
jne 0x4354a0
mov word [ecx], 0
mov ecx, 3
sub ecx, edi
and ecx, 2
mov edx, eax
and edx, 0xfffd
imul edx, ecx
and edi, 2
or eax, 2
imul eax, edi
add eax, edx
mov word [esp + 0x18], ax
mov ecx, eax
and ecx, 2
xor eax, 2
lea eax, [eax + ecx*2]
mov word [esp + 0x1a], ax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0x40
lea eax, [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [0x4439e4]
mov edi, 0xffffffff
test ecx, ecx
je 0x43562d
mov eax, dword [0x4439e8]
add eax, 8
nop
nop
nop
nop
nop
cmp dword [eax - 8], 0xb1cf12ba
je 0x435554
add eax, 0xc
dec ecx
jne 0x435540
jmp 0x43562d
mov byte [esp + 0x14], 0
mov dword [esp + 0x10], 0x900000c2
mov dword [esp + 0xc], 0xd2ff0000
mov dword [esp + 8], 0xba00
mov dword [esp + 4], 0xb8
lea ebx, [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 5], eax
mov eax, dword [0x4439ec]
mov dword [esp + 0xa], eax
mov word [esp + 0x11], 0x2c
mov dword [esp], 0
mov dword [esp + 0x24], 0x10
lea eax, [esp + 0x24]
mov ebp, esp
push 0x40
push 0x3000
push eax
push 0
push ebp
push 0xffffffffffffffff
call dword [0x4439f0]
mov eax, dword [esp]
lea edx, [esp + 4]
mov ecx, 4
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x10
mov edi, eax
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
lea ecx, [esp + 0x40]
lea eax, [esp + 0x28]
push 0
push 0
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push 0x80
push 0
push ecx
push eax
push dword [esp + 0x88]
push dword [esp + 0x88]
call dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
push 0x8000
push eax
push ebp
push 0xffffffffffffffff
call dword [0x4439f4]
push esi
call fcn.00408560
add esp, 4
mov eax, edi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40b2b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54641a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.004cd7a1
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x40b370
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.0051cebb
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x589200
push eax
call fcn.0051e819
push edi
push esi
call fcn.004cdae9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret 4

Function at 0x40c3d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x40c3d8
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40c3ee
test al, 0x10
jne 0x40c3ee
mov eax, 1
ret
xor eax, eax
ret
Function at 0x40c8b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x5747f4
movzx eax, cx
push eax
push 0
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40c986
push ebx
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov ebx, eax
push 0
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40c984
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0xc]
push edi
push eax
call fcn.0051d9c0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0xc], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x40c966
lea ecx, [esi + 4]
xorps xmm0, xmm0
push ecx
push dword [ebp - 0xc]
movups xmmword [esi], xmm0
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [ecx], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x40c968
xor esi, esi
mov eax, dword [ebp - 0x10]
push ebx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00519876
mov esp, ebp
pop ebp
ret

Function at 0x40d8e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x57486c
push 0x65
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40d96b
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
push esi
test eax, eax
jne 0x40d924
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x40d96b
push ebx
push edi
call fcn.0051a102
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40d959
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push ebx
call fcn.0051d9c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
push ebx
call fcn.004e4090
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546546
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5903c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0051a0cf
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004cd9e6
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c700
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547257
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5903c4]
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 edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [edi + 4], 1
mov dword [ebp - 4], 0
mov dword [edi], vtable.WebMonitor.0
mov dword [edi + 0xc], 0
call fcn.0041be90
lea eax, [edi + 0x30]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x41c76c
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
movups xmm0, xmmword [ebp + 8]
lea ebx, [edi + 0x88]
movups xmmword [edi + 0x5c], xmm0
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], 8
jb 0x41c793
mov eax, dword [ebx]
jmp 0x41c795
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0xa0]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x41c7b2
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0xb8]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x41c7cf
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea esi, [edi + 0xd0]
mov byte [ebp - 4], 4
push 8
mov dword [ebp - 0x18], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
call fcn.0051a0cf
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x41c80c
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [edi + 0xfc]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x41c82c
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
lea esi, [edi + 0x114]
mov byte [ebp - 4], 6
push 0x590f90
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.00432930
mov dword [esi], vtable.LogUploadProtocolClient.0
mov byte [ebp - 4], 7
lea eax, [edi + 0xe4]
push eax
mov dword [edi + 0x58], 9
mov dword [edi + 0x54], 1
mov dword [edi + 0x50], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x70], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0x3e8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov ecx, ebx
mov dword [edi + 0x7c], eax
call fcn.00422ac0
lea eax, [ebp - 0x14]
push eax
push 0
push edi
push 0x41c6e0
push 0
push 0
call fcn.00528e0a
mov dword [edi + 0x78], eax
add esp, 0x18
mov eax, edi
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.00519876
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41d210
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5473d6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5903c4]
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 eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
test eax, eax
je 0x41d39c
push eax
lea edx, [edi + 0xa0]
lea ecx, [ebp - 0x30]
call fcn.00414b10
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00422e00
mov ebx, eax
lea esi, [edi + 0xb8]
cmp esi, ebx
je 0x41d2b0
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x41d289
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00411a50
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41d2a1
mov eax, dword [esi]
jmp 0x41d2a3
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00411360
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x41d2c5
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00411a50
xor ebx, ebx
cmp dword [edi + 0xc8], ebx
jbe 0x41d313
cmp dword [esi + 0x14], 8
jb 0x41d2d9
mov eax, dword [esi]
jmp 0x41d2db
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d313
test al, 0x10
jne 0x41d313
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
cmp dword [esi + 0x14], 8
jb 0x41d2fe
mov esi, dword [esi]
push 1
push 0
push eax
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
mov eax, 0x20
mov dword [ebp - 0x3c], 2
cmp eax, ebx
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea esi, [edi + 0xe4]
movq qword [ebp - 0x18], xmm0
push esi
sbb ebx, ebx
mov dword [ebp - 0x18], vtable.Lock.0
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0xd0]
call fcn.0041f2a0
push esi
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 1
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0x17
mov ecx, edi
call fcn.0041ed70
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x41d399
inc ecx
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
call fcn.00411a50
lea eax, [ebx + 1]
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.00519876
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546546
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5903c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0051a0cf
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004cd9e6
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42d1d0
Capabilities:
Delete file
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi + 0x14], 0x10
jb 0x42d1e5
mov eax, dword [edi]
jmp 0x42d1e7
mov eax, edi
push 0
push 0x80
push 4
push 0
push 7
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42d26d
push 2
push 0
push 0
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x42d226
mov esi, dword [esi]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
mov ecx, 1
push ebx
cmova esi, ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x42d26d
cmp dword [edi + 0x14], 0x10
jb 0x42d266
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4da530
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f2ff0
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4da5c1
lea eax, [ebp - 0x14]
push eax
call fcn.004d9a00
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4da597
mov ecx, dword [esi + 0x6d8]
push 0
call fcn.004db330
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x6d8]
push 0
call fcn.004db330
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00519876
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4da5e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x4da66b
cmp dword [esi + 0x10], 0
je 0x4da66b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0051a8d0
mov ebx, esp
test ebx, ebx
je 0x4da66b
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.004eaaf0
mov ecx, dword [esi + 0x10]
push 1
push 0
push 0
mov eax, dword [ecx]
push 0
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.004e3810
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.004e0040
test al, al
je 0x4da66b
mov ecx, dword [esi + 0x10]
call fcn.004f2ec0
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4dafc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004f5210
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4db057
lea eax, [ebp - 0x14]
push eax
call fcn.004d9a00
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4db02d
mov ecx, dword [esi + 0x6d8]
push 0
call fcn.004db330
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x6d8]
push 0
call fcn.004db330
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00519876
mov esp, ebp
pop ebp
ret 0x14