joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008eac3
Capabilities:
Read file on windows

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

Function at 0x1008f3a5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100ff9f8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1008f3e5
cmp byte [ebx], 0xa
jne 0x1008f3e5
or byte [eax + edi + 0x28], 4
jmp 0x1008f3ea
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1008f4e8
mov al, byte [edx]
cmp al, 0x1a
je 0x1008f4ca
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x1008f419
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x1008f43e
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1008f448
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x1008f3fb
jmp 0x1008f4e8
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008f4c5
cmp dword [ebp - 0xc], 0
je 0x1008f4c5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x100ff9f8]
test byte [eax + edi + 0x28], 0x48
je 0x1008f49f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1008f48a
mov byte [esi], dl
jmp 0x1008f49b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100ff9f8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1008f4e8
cmp byte [ebp - 1], 0xa
jne 0x1008f4ae
cmp esi, ebx
jne 0x1008f4ae
mov byte [esi], 0xa
jmp 0x1008f4e7
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1008ee19
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1008f4e8
mov byte [esi], 0xd
jmp 0x1008f4e7
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x100ff9f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1008f4e4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1008f4e8
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1008f4f1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x100ff9f8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1008f534
cmp word [esi], dx
jne 0x1008f534
or byte [edi + eax + 0x28], 4
jmp 0x1008f539
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x1008f68c
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1008f66c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x1008f57b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1008f5b1
cmp eax, edx
jae 0x1008f5bd
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x1008f553
jmp 0x1008f68c
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008f668
cmp dword [ebp - 0x14], 0
je 0x1008f668
mov eax, dword [ebx*4 + 0x100ff9f8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1008f640
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x1008f609
mov word [esi], cx
jmp 0x1008f63c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x100ff9f8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x100ff9f8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x100ff9f8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x1008f68c
pop ebx
cmp word [ebp - 4], bx
jne 0x1008f651
cmp esi, dword [ebp + 0xc]
jne 0x1008f651
mov word [esi], bx
jmp 0x1008f689
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1008ee19
add esp, 0x10
cmp word [ebp - 4], bx
je 0x1008f68c
push 0xd
jmp 0x1008f685
mov ecx, dword [ebx*4 + 0x100ff9f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1008f683
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1008f68c
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10096306
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100963a3
push ebx
push esi
call fcn.100962cf
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1008cb07
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10096350
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100963a2
push edi
push eax
call fcn.100855cc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10096370
call fcn.100858f5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100963a1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1008cb07
add esp, 0x20
test eax, eax
jne 0x1009638f
push edi
call fcn.100858f5
jmp 0x10096397
push ebx
call fcn.100858f5
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100963a6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100963b7
pop esi
ret
push ebx
push edi
push esi
call fcn.100962cf
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100855cc
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100963df
push ebx
push esi
push edi
call fcn.1006f480
add esp, 0xc
push 0
call fcn.100858f5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10096b2b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10096652
Function at 0x1009b240
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1009b1bc
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1009b3b8
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1009b3b8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1009b367
jg 0x1009b299
test eax, eax
je 0x1009b35d
push 1
push 0x1000
call fcn.10084fdb
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1009b2bf
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1009b354
push 0x8000
push ebx
call fcn.1007f3dc
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1009b2eb
jg 0x1009b2e6
cmp ecx, 0x1000
jb 0x1009b2eb
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1008e39a
add esp, 0x10
cmp eax, 0xffffffff
je 0x1009b330
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1009b2e6
jl 0x1009b317
test ecx, ecx
jne 0x1009b2d8
push dword [ebp - 0xc]
push ebx
call fcn.1007f3dc
push esi
call fcn.100858f5
add esp, 0xc
xor edi, edi
jmp 0x1009b3c9
cmp byte [edi + 0x24], 0
je 0x1009b347
cmp dword [edi + 0x20], 5
jne 0x1009b347
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1009b352
mov edi, dword [edi + 0x18]
jmp 0x1009b354
xor edi, edi
push esi
call fcn.100858f5
pop ecx
jmp 0x1009b3c9
test ecx, ecx
jg 0x1009b329
jl 0x1009b367
test eax, eax
jae 0x1009b329
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1008ee19
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1009b38a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1009b329
jmp 0x1009b3c1
push ebx
call fcn.10090305
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1009b329
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1009b3c9
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1009b3c6
mov edi, dword [edi + 0x18]
jmp 0x1009b3c9
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1008ee19
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401434
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
cmp esi, 0x100000
jge 0x40144a
mov esi, 0x100000
jmp 0x401456
add esi, 0xffff
and esi, 0xffff0000
mov dword [ebx + 4], esi
push 1
push 0x2000
push esi
push 0
call sub.KERNEL32.DLL_SetFileAttributesA
mov edi, eax
mov dword [ebx], edi
test edi, edi
je 0x401493
mov edx, ebx
mov eax, 0x42d450
call fcn.004012e8
test al, al
jne 0x401493
push 0x8000
push 0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_SetFilePointer
xor eax, eax
mov dword [ebx], eax
pop edi
pop esi
pop ebx
ret

Function at 0x401498
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, ecx
mov esi, edx
mov ebp, eax
mov dword [ebx + 4], 0x100000
push 4
push 0x2000
push 0x100000
push ebp
call sub.KERNEL32.DLL_SetFileAttributesA
mov edi, eax
mov dword [ebx], edi
test edi, edi
jne 0x4014e2
add esi, 0xffff
and esi, 0xffff0000
mov dword [ebx + 4], esi
push 4
push 0x2000
push esi
push ebp
call sub.KERNEL32.DLL_SetFileAttributesA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x40150a
mov edx, ebx
mov eax, 0x42d450
call fcn.004012e8
test al, al
jne 0x40150a
push 0x8000
push 0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_SetFilePointer
xor eax, eax
mov dword [ebx], eax
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4015c8
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edx, eax
mov ebp, edx
and ebp, 0xfffff000
add edx, dword [esp]
add edx, 0xfff
and edx, 0xfffff000
mov dword [esp + 8], edx
mov eax, dword [esp + 4]
mov dword [eax], ebp
mov eax, dword [esp + 8]
sub eax, ebp
mov edx, dword [esp + 4]
mov dword [edx + 4], eax
mov esi, dword [0x42d450]
jmp 0x40164a
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0xc]
add edi, ebx
cmp ebp, ebx
jbe 0x40161c
mov ebx, ebp
cmp edi, dword [esp + 8]
jbe 0x401626
mov edi, dword [esp + 8]
cmp edi, ebx
jbe 0x401648
push 4
push 0x1000
sub edi, ebx
push edi
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
jne 0x401648
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
jmp 0x401652
mov esi, dword [esi]
cmp esi, 0x42d450
jne 0x40160e
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4019e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
cmp byte [0x42d428], 0
je 0x401abd
xor edx, edx
push ebp
push 0x401ab6
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [0x42d041], 0
je 0x401a12
push 0x42d430
call sub.KERNEL32.DLL_VirtualQuery
mov byte [0x42d428], 0
mov eax, dword [0x42d488]
push eax
call sub.KERNEL32.DLL_SetEndOfFile
xor eax, eax
mov dword [0x42d488], eax
mov ebx, dword [0x42d450]
jmp 0x401a45
push 0x8000
push 0
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_SetFilePointer
mov ebx, dword [ebx]
cmp ebx, 0x42d450
jne 0x401a33
mov eax, 0x42d450
call fcn.004012e0
mov eax, 0x42d460
call fcn.004012e0
mov eax, 0x42d48c
call fcn.004012e0
mov eax, dword [0x42d448]
test eax, eax
je 0x401a8b
mov edx, dword [eax]
mov dword [0x42d448], edx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
mov eax, dword [0x42d448]
test eax, eax
jne 0x401a74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x401abd
cmp byte [0x42d041], 0
je 0x401aab
push 0x42d430
call sub.KERNEL32.DLL_WaitForSingleObject
push 0x42d430
call sub.KERNEL32.DLL_WriteFile
ret
pop ebx
pop ebp
ret

Function at 0x4025b0
Capabilities:
Get common file path

Disassembly:
test eax, eax
je 0x4025be
call dword [0x42b01c]
or eax, eax
je 0x4025bf
ret
mov al, 1
jmp fcn.0040263c

Function at 0x4025c8
Capabilities:
Get common file path

Disassembly:
test eax, eax
je 0x4025d6
call dword [0x42b020]
or eax, eax
jne 0x4025d7
ret
mov al, 2
jmp fcn.0040263c

Function at 0x4025e0
Capabilities:
Get common file path

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402618
test edx, edx
je 0x402602
push eax
mov eax, ecx
call dword [0x42b024]
pop ecx
or eax, eax
je 0x402611
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.0040263c
mov dword [eax], edx
mov eax, ecx
call dword [0x42b020]
or eax, eax
jne 0x4025fb
ret
mov al, 1
jmp fcn.0040263c
test edx, edx
je 0x40262c
push eax
mov eax, edx
call dword [0x42b01c]
pop ecx
or eax, eax
je 0x402611
mov dword [ecx], eax
ret

Function at 0x40263c
Capabilities:
Get common file path

Disassembly:
and eax, 0x7f
mov ecx, dword [0x42d004]
test ecx, ecx
je 0x40264c
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402665]
jns 0x402660
call fcn.00405974
mov eax, dword [eax + 4]
jmp fcn.004035fc

Function at 0x402bb4
Capabilities:
Get common file path

Disassembly:
test eax, eax
je 0x402bce
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x402bce
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x402bba
mov al, 0xa
jmp fcn.0040263c
ret

Function at 0x402c00
Capabilities:
Get common file path

Disassembly:
cmp dword [0x42d018], 0
je 0x402813
call dword [0x42d018]
mov eax, 0xd2
jmp fcn.004035fc
push eax
push ecx
mov eax, dword [eax]
call fcn.00402bd0
pop ecx
pop eax
je 0x402c0f
jmp ebx
pop ecx
jmp 0x402804

Function at 0x402c18
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.00402bd0
mov eax, ebx
pop ebx
jne 0x402c2d
pop ecx
jmp 0x402804
ret
Function at 0x402d0c
Capabilities:
Get file size

Disassembly:
cmp byte [0x42b008], 0
je 0x402d2b
push eax
push eax
push edx
push esp
push 2
push 0
push 0xeedfae4
call sub.KERNEL32.DLL_GetFileSize
add esp, 8
pop eax
ret

Function at 0x402d54
Capabilities:
Get file size

Disassembly:
push esp
push 1
push 0
push 0xeedfae0
call sub.KERNEL32.DLL_GetFileSize
add esp, 4
pop eax
ret
cmp byte [0x42b008], 1
jbe 0x402d64
push eax
push ebx
jmp 0x402d2c
ret

Function at 0x402dcc
Capabilities:
Get file size

Disassembly:
push eax
push edx
cmp byte [0x42b008], 1
jbe 0x402de6
push esp
push 2
push 0
push 0xeedfae3
call sub.KERNEL32.DLL_GetFileSize
pop edx
pop eax
ret

Function at 0x4035fc
Capabilities:
Get common file path

Disassembly:
pop dword [0x42d038]
jmp fcn.004035f0

Function at 0x403c2c
Capabilities:
Get common file path

Disassembly:
mov al, 1
jmp fcn.0040263c
test edx, edx
je fcn.00403bf0
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00403bf0
push ecx
push edx
push eax
call sub.user32.dll_DispatchMessageA
test eax, eax
je 0x403be8
ret

Function at 0x403c7c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x403cbb
cmp al, 0xb
je 0x403cbb
cmp al, 0xc
je 0x403cc5
cmp al, 0xd
je 0x403cd8
cmp al, 0xe
je 0x403cf6
cmp al, 0xf
je 0x403cbb
cmp al, 0x11
je 0x403cbb
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040263c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x403cbb
jmp 0x403d0a
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x403cc5
jmp 0x403d0a
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x403c7c
dec edi
jg 0x403cdb
pop ebp
jmp 0x403d0a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403c50
dec edi
jg 0x403cf9
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x403c7c

Function at 0x403d10
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x403cbb
cmp al, 0xb
je 0x403cbb
cmp al, 0xc
je 0x403cc5
cmp al, 0xd
je 0x403cd8
cmp al, 0xe
je 0x403cf6
cmp al, 0xf
je 0x403cbb
cmp al, 0x11
je 0x403cbb
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040263c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x403cbb
jmp 0x403d0a
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x403cc5
jmp 0x403d0a
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x403c7c
dec edi
jg 0x403cdb
pop ebp
jmp 0x403d0a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403c50
dec edi
jg 0x403cf9
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x403c7c
Function at 0x403d48
Capabilities:
Get common file path

Disassembly:
cmp ecx, 0
je 0x403e2e
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x403d98
cmp al, 0xb
je 0x403db2
cmp al, 0xc
je 0x403dc9
cmp al, 0xd
je 0x403dd8
cmp al, 0xe
je 0x403df6
cmp al, 0xf
je 0x403e0c
cmp al, 0x11
je 0x403e1b
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.0040263c
cmp ecx, 1
mov eax, ebx
jg 0x403da9
call fcn.00403684
jmp 0x403e2a
mov edx, ecx
call fcn.004036a8
jmp 0x403e2a
cmp ecx, 1
mov eax, ebx
jg 0x403dc0
call fcn.00403bf0
jmp 0x403e2a
mov edx, ecx
call fcn.00403c08
jmp 0x403e2a
mov eax, ebx
add ebx, 0x10
call fcn.0040453c
dec edi
jg 0x403dc9
jmp 0x403e2a
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00403d48
dec edi
jg 0x403ddb
pop ebp
jmp 0x403e2a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403d1c
dec edi
jg 0x403df9
pop ebp
jmp 0x403e2a
mov eax, ebx
add ebx, 4
call fcn.00404d5c
dec edi
jg 0x403e0c
jmp 0x403e2a
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404730
dec edi
jg 0x403e1b
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x403e30
Capabilities:
Get common file path

Disassembly:
mov ecx, 1
jmp fcn.00403d48

Function at 0x403e3c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x403e68
mov edx, eax
add eax, esi
add edx, ebx
call fcn.004026c8
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x403ea7
cmp cl, 0xb
je 0x403eb8
cmp cl, 0xc
je 0x403ec9
cmp cl, 0xd
je 0x403eda
cmp cl, 0xe
je 0x403efa
cmp cl, 0xf
je 0x403f13
cmp cl, 0x11
je 0x403f24
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040263c
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004036d8
mov eax, 4
jmp 0x403f35
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403c2c
mov eax, 4
jmp 0x403f35
lea edx, [esi + eax]
add eax, ebx
call fcn.004041f8
mov eax, 0x10
jmp 0x403f35
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.00403f58
pop eax
jmp 0x403f35
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.00403e3c
pop eax
jmp 0x403f35
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404d74
mov eax, 4
jmp 0x403f35
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040476c
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x403e56
pop ecx
sub ecx, eax
jle 0x403f51
lea edx, [ebx + eax]
add eax, esi
call fcn.004026c8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x403f58
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x403f9e
cmp cl, 0xb
je 0x403fb5
cmp cl, 0xc
je 0x403fc9
cmp cl, 0xd
je 0x403fdd
cmp cl, 0xe
je 0x403ffe
cmp cl, 0xf
je 0x40401b
cmp cl, 0x11
je 0x40402f
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040263c
mov eax, ebx
mov edx, dword [esi]
call fcn.004036d8
add ebx, 4
add esi, 4
dec ebp
jne 0x403f9e
jmp 0x404043
mov eax, ebx
mov edx, dword [esi]
call fcn.00403c2c
add ebx, 4
add esi, 4
dec ebp
jne 0x403fb5
jmp 0x404043
mov eax, ebx
mov edx, esi
call fcn.004041f8
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x403fc9
jmp 0x404043
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.00403f58
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x403fe6
jmp 0x404043
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00403e3c
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x403ffe
jmp 0x404043
mov eax, ebx
mov edx, dword [esi]
call fcn.00404d74
add ebx, 4
add esi, 4
dec ebp
jne 0x40401b
jmp 0x404043
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.0040476c
add ebx, 4
add esi, 4
dec ebp
jne 0x40402f
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x4041b4
Capabilities:
Read clipboard data

Disassembly:
xor edx, edx
mov dx, word [eax]
test edx, 0x4000
jne 0x4041e9
cmp edx, 8
jb 0x4041e9
cmp edx, 0x100
je 0x4041dc
cmp edx, 0x101
jne 0x4041ef
jmp dword [0x42d3e0]
mov word [eax], 0
add eax, 8
jmp fcn.00403684
mov word [eax], 0
ret
push eax
call sub.user32.dll_GetClipboardData
ret

Function at 0x4041f8
Capabilities:
Get common file path
Read clipboard data

Disassembly:
mov al, 0x10
jmp fcn.0040263c
cmp eax, edx
je 0x404290
cmp word [eax], 8
jb 0x404230
push eax
push edx
cmp word [eax], 0x100
je 0x404226
cmp word [eax], 0x101
je 0x40421e
push eax
call sub.user32.dll_GetClipboardData
jmp 0x40422e
call dword [0x42d3e0]
jmp 0x40422e
add eax, 8
call fcn.00403684
pop edx
pop eax
cmp word [edx], 8
jae 0x404247
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x404262
cmp word [edx], 0x101
jne 0x40427c
push eax
call 0x404236
pop eax
jmp dword [0x42d3e8]
mov edx, dword [edx + 8]
or edx, edx
je 0x404273
mov ecx, dword [edx - 8]
inc ecx
jle 0x404273
lock inc dword [edx - 8]
mov word [eax], 0x100
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.user32.dll_GetDC
or eax, eax
jne 0x4041ac
ret

Function at 0x404794
Capabilities:
Read file on windows

Disassembly:
add esp, 0xffffffe4
push 0x1c
lea edx, [esp + 4]
push edx
push eax
call sub.KERNEL32.DLL_ReadFile
cmp dword [esp + 0x10], 0x1000
jne 0x4047b4
mov eax, dword [esp + 4]
jmp 0x4047b6
xor eax, eax
add esp, 0x1c
ret