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

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 4], 0
je 0x411467
mov eax, dword [esi + 0x40]
mov byte [esi + 4], 0
test eax, eax
je 0x411454
push eax
push 0x3e
call fcn.0041d46e
add esp, 8
jmp 0x411467
push 1
lea ecx, [esi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0x3e
mov eax, dword [esi + 0x38]
lea ecx, [eax + 1]
cmp ecx, dword [esi + 0x34]
jle 0x4114c0
lea ebx, [ecx + ecx]
mov edx, 4
xor ecx, ecx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004132c5
mov ecx, dword [esi + 0x38]
mov edi, eax
shl ecx, 2
push ecx
push dword [esi + 8]
push edi
call fcn.00414f40
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
add esp, 0x10
cmp ecx, eax
je 0x4114b5
push ecx
call fcn.004130c3
add esp, 4
mov eax, dword [esi + 0x38]
mov dword [esi + 8], edi
mov dword [esi + 0x34], ebx
jmp 0x4114c3
mov edi, dword [esi + 8]
mov ebp, dword [esp + 0x14]
mov dword [edi + eax*4], ebp
inc dword [esi + 0x38]
cmp dword [esi + 0x48], 0
jge 0x411511
cmp byte [esi + 0x3c], 0
jne 0x411511
cmp byte [esp + 0x18], 0
jne 0x411511
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4114f4
push eax
push 0xa
call fcn.0041d46e
add esp, 8
jmp 0x411507
push 1
lea ecx, [esi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0xa
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x44]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41152c
push eax
push 1
push 1
push 0x438350
call fcn.0041dd3e
add esp, 0x10
jmp 0x411547
push 1
lea ecx, [esi + 0xd0]
call fcn.00411f10
lea ecx, [eax - 1]
mov al, byte [0x438350]
mov byte [ecx], al
mov byte [ecx + 1], 0
mov ebx, ebp
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x411550
mov eax, dword [esi + 0x40]
sub ebx, ecx
test eax, eax
je 0x41157f
push eax
push ebx
push 1
push ebp
call fcn.0041dd3e
add esp, 0x10
mov byte [esi + 4], 1
inc dword [esi + 0x44]
mov byte [esi + 0x3c], 0
pop edi
pop esi
pop ebp
pop ebx
ret 8
push ebx
lea ecx, [esi + 0xd0]
call fcn.00411f10
push ebx
push ebp
lea edi, [eax - 1]
push edi
call fcn.00414f40
add esp, 0xc
mov byte [ebx + edi], 0
inc dword [esi + 0x44]
mov byte [esi + 4], 1
mov byte [esi + 0x3c], 0
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x411630
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4115c7
push eax
push 0x20
call fcn.0041d46e
add esp, 8
jmp 0x4115da
push 1
lea ecx, [ebx + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0x20
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, ebp
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4115e5
mov eax, dword [ebx + 0x40]
sub edi, ecx
test eax, eax
je 0x411604
push eax
push edi
push 1
push ebp
call fcn.0041dd3e
add esp, 0x10
jmp 0x411624
push esi
push edi
lea ecx, [ebx + 0xd0]
call fcn.00411f10
push edi
push ebp
lea esi, [eax - 1]
push esi
call fcn.00414f40
add esp, 0xc
mov byte [edi + esi], 0
pop esi
mov eax, dword [ebx + 0x40]
pop edi
pop ebp
test eax, eax
je 0x411641
push eax
push 2
push 1
push 0x43860c
call fcn.0041dd3e
add esp, 0x10
jmp 0x41165b
push 2
lea ecx, [ebx + 0xd0]
call fcn.00411f10
mov ecx, 0x223d
mov word [eax - 1], cx
mov byte [eax + 1], 0
push 0
push dword [esp + 0x10]
mov ecx, ebx
call fcn.00411150
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x41167e
push eax
push 0x22
call fcn.0041d46e
add esp, 8
pop ebx
ret 8
push 1
lea ecx, [ebx + 0xd0]
call fcn.00411f10
pop ebx
mov word [eax - 1], 0x22
ret 8
Function at 0x4116c3
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
mov edi, ecx
dec dword [edi + 0x44]
dec dword [edi + 0x38]
cmp byte [edi + 4], 0
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 8]
mov ebp, dword [eax + edx*4]
je 0x4116f6
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4116d7
push eax
push 2
push 1
push 0x438610
call fcn.0041dd3e
add esp, 0x10
jmp 0x4117de
push 2
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov ecx, 0x3e2f
mov word [eax - 1], cx
mov byte [eax + 1], 0
jmp 0x4117de
cmp dword [edi + 0x48], 0
jge 0x411734
cmp byte [esp + 0xc], 0
jne 0x411734
mov eax, dword [edi + 0x40]
test eax, eax
je 0x411717
push eax
push 0xa
call fcn.0041d46e
add esp, 8
jmp 0x41172a
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0xa
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x44]
call dword [eax + 0x2c]
mov eax, dword [edi + 0x40]
test eax, eax
je 0x41174f
push eax
push 2
push 1
push 0x438614
call fcn.0041dd3e
add esp, 0x10
jmp 0x411769
push 2
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov ecx, 0x2f3c
mov word [eax - 1], cx
mov byte [eax + 1], 0
push ebx
mov ebx, ebp
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x411770
mov eax, dword [edi + 0x40]
sub ebx, ecx
test eax, eax
je 0x41178f
push eax
push ebx
push 1
push ebp
call fcn.0041dd3e
add esp, 0x10
jmp 0x4117af
push esi
push ebx
lea ecx, [edi + 0xd0]
call fcn.00411f10
push ebx
push ebp
lea esi, [eax - 1]
push esi
call fcn.00414f40
add esp, 0xc
mov byte [ebx + esi], 0
pop esi
mov eax, dword [edi + 0x40]
pop ebx
test eax, eax
je 0x4117cb
push eax
push 1
push 1
push 0x43838c
call fcn.0041dd3e
add esp, 0x10
jmp 0x4117de
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0x3e
mov eax, dword [edi + 0x44]
cmp dword [edi + 0x48], eax
jne 0x4117ed
mov dword [edi + 0x48], 0xffffffff
test eax, eax
jne 0x411825
cmp byte [esp + 0xc], al
jne 0x411825
mov eax, dword [edi + 0x40]
test eax, eax
je 0x411812
push eax
push 0xa
call fcn.0041d46e
add esp, 8
mov byte [edi + 4], 0
pop edi
pop ebp
ret 4
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0xa
mov byte [edi + 4], 0
pop edi
pop ebp
ret 4
Function at 0x41173e
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
mov edi, ecx
dec dword [edi + 0x44]
dec dword [edi + 0x38]
cmp byte [edi + 4], 0
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 8]
mov ebp, dword [eax + edx*4]
je 0x4116f6
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4116d7
push eax
push 2
push 1
push 0x438610
call fcn.0041dd3e
add esp, 0x10
jmp 0x4117de
push 2
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov ecx, 0x3e2f
mov word [eax - 1], cx
mov byte [eax + 1], 0
jmp 0x4117de
cmp dword [edi + 0x48], 0
jge 0x411734
cmp byte [esp + 0xc], 0
jne 0x411734
mov eax, dword [edi + 0x40]
test eax, eax
je 0x411717
push eax
push 0xa
call fcn.0041d46e
add esp, 8
jmp 0x41172a
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0xa
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x44]
call dword [eax + 0x2c]
mov eax, dword [edi + 0x40]
test eax, eax
je 0x41174f
push eax
push 2
push 1
push 0x438614
call fcn.0041dd3e
add esp, 0x10
jmp 0x411769
push 2
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov ecx, 0x2f3c
mov word [eax - 1], cx
mov byte [eax + 1], 0
push ebx
mov ebx, ebp
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x411770
mov eax, dword [edi + 0x40]
sub ebx, ecx
test eax, eax
je 0x41178f
push eax
push ebx
push 1
push ebp
call fcn.0041dd3e
add esp, 0x10
jmp 0x4117af
push esi
push ebx
lea ecx, [edi + 0xd0]
call fcn.00411f10
push ebx
push ebp
lea esi, [eax - 1]
push esi
call fcn.00414f40
add esp, 0xc
mov byte [ebx + esi], 0
pop esi
mov eax, dword [edi + 0x40]
pop ebx
test eax, eax
je 0x4117cb
push eax
push 1
push 1
push 0x43838c
call fcn.0041dd3e
add esp, 0x10
jmp 0x4117de
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0x3e
mov eax, dword [edi + 0x44]
cmp dword [edi + 0x48], eax
jne 0x4117ed
mov dword [edi + 0x48], 0xffffffff
test eax, eax
jne 0x411825
cmp byte [esp + 0xc], al
jne 0x411825
mov eax, dword [edi + 0x40]
test eax, eax
je 0x411812
push eax
push 0xa
call fcn.0041d46e
add esp, 8
mov byte [edi + 4], 0
pop edi
pop ebp
ret 4
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0xa
mov byte [edi + 4], 0
pop edi
pop ebp
ret 4
Function at 0x411880
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
dec eax
cmp byte [edi + 4], 0
mov dword [edi + 0x48], eax
je 0x41186b
mov eax, dword [edi + 0x40]
mov byte [edi + 4], 0
test eax, eax
je 0x411858
push eax
push 0x3e
call fcn.0041d46e
add esp, 8
jmp 0x41186b
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0x3e
cmp byte [esp + 0xc], 0
je 0x41194c
mov eax, dword [edi + 0x40]
test eax, eax
je 0x411891
push eax
push 9
push 1
push str.___CDATA_
call fcn.0041dd3e
add esp, 0x10
jmp 0x4118ba
push 9
lea ecx, [edi + 0xd0]
call fcn.00411f10
movq xmm0, qword [str.___CDATA_]
movq qword [eax - 1], xmm0
lea ecx, [eax - 1]
mov al, byte [0x438348]
mov byte [ecx + 8], al
mov byte [ecx + 9], 0
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, ebp
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4118c5
mov eax, dword [edi + 0x40]
sub ebx, ecx
test eax, eax
je 0x4118e4
push eax
push ebx
push 1
push ebp
call fcn.0041dd3e
add esp, 0x10
jmp 0x411904
push esi
push ebx
lea ecx, [edi + 0xd0]
call fcn.00411f10
push ebx
push ebp
lea esi, [eax - 1]
push esi
call fcn.00414f40
add esp, 0xc
mov byte [ebx + esi], 0
pop esi
mov eax, dword [edi + 0x40]
pop ebp
pop ebx
test eax, eax
je 0x411923
push eax
push 3
push 1
push 0x438380
call fcn.0041dd3e
add esp, 0x10
pop edi
ret 8
push 3
lea ecx, [edi + 0xd0]
call fcn.00411f10
pop edi
lea ecx, [eax - 1]
mov ax, word [0x438380]
mov word [ecx], ax
mov al, byte [0x438382]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
ret 8
push 1
push dword [esp + 0xc]
mov ecx, edi
call fcn.00411150
pop edi
ret 8
Function at 0x4119e5
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 4], 0
je 0x411994
mov eax, dword [edi + 0x40]
mov byte [edi + 4], 0
test eax, eax
je 0x411981
push eax
push 0x3e
call fcn.0041d46e
add esp, 8
jmp 0x411994
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0x3e
cmp dword [edi + 0x48], 0
jge 0x4119d7
cmp byte [edi + 0x3c], 0
jne 0x4119d7
cmp byte [edi + 0x4d], 0
jne 0x4119d7
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4119ba
push eax
push 0xa
call fcn.0041d46e
add esp, 8
jmp 0x4119cd
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0xa
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x44]
call dword [eax + 0x2c]
mov eax, dword [edi + 0x40]
mov byte [edi + 0x3c], 0
test eax, eax
je 0x4119f6
push eax
push 2
push 1
push 0x438334
call fcn.0041dd3e
add esp, 0x10
jmp 0x411a13
push 2
lea ecx, [edi + 0xd0]
call fcn.00411f10
lea ecx, [eax - 1]
mov ax, word [0x438334]
mov word [ecx], ax
mov byte [ecx + 2], 0
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, ebp
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x411a20
mov eax, dword [edi + 0x40]
sub ebx, ecx
test eax, eax
je 0x411a3f
push eax
push ebx
push 1
push ebp
call fcn.0041dd3e
add esp, 0x10
jmp 0x411a5f
push esi
push ebx
lea ecx, [edi + 0xd0]
call fcn.00411f10
push ebx
push ebp
lea esi, [eax - 1]
push esi
call fcn.00414f40
add esp, 0xc
mov byte [ebx + esi], 0
pop esi
mov eax, dword [edi + 0x40]
pop ebp
pop ebx
test eax, eax
je 0x411a7e
push eax
push 2
push 1
push 0x438388
call fcn.0041dd3e
add esp, 0x10
pop edi
ret 4
push 2
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov ecx, 0x3e3f
pop edi
mov word [eax - 1], cx
mov byte [eax + 1], 0
ret 4

Function at 0x411ad2
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
mov al, byte [edx + 0x35]
mov byte [ecx + 0x4c], al
cmp byte [edx + 0x34], 0
je 0x411b11
push edi
mov edi, 0x438314
lea edx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x411ac0
mov eax, dword [ecx + 0x40]
sub edi, edx
test eax, eax
je 0x411ae7
push eax
push edi
push 1
push 0x438314
call fcn.0041dd3e
add esp, 0x10
mov al, 1
pop edi
ret 4
push esi
push edi
add ecx, 0xd0
call fcn.00411f10
push edi
push 0x438314
lea esi, [eax - 1]
push esi
call fcn.00414f40
add esp, 0xc
mov byte [edi + esi], 0
mov al, 1
pop esi
pop edi
ret 4
mov al, 1
ret 4
Function at 0x411cb5
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x18]
test eax, eax
je 0x411c29
xor ebp, ebp
jmp 0x411c33
lea ecx, [esi + 0xc]
call fcn.0040e9e0
mov ebp, eax
cmp byte [edi + 4], 0
je 0x411c64
mov ecx, dword [edi + 0x40]
mov byte [edi + 4], 0
test ecx, ecx
je 0x411c51
push ecx
push 0x3e
call fcn.0041d46e
add esp, 8
jmp 0x411c64
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0x3e
cmp dword [edi + 0x48], 0
jge 0x411ca7
cmp byte [edi + 0x3c], 0
jne 0x411ca7
cmp byte [edi + 0x4d], 0
jne 0x411ca7
mov eax, dword [edi + 0x40]
test eax, eax
je 0x411c8a
push eax
push 0xa
call fcn.0041d46e
add esp, 8
jmp 0x411c9d
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0xa
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x44]
call dword [eax + 0x2c]
mov eax, dword [edi + 0x40]
mov byte [edi + 0x3c], 0
test eax, eax
je 0x411cc6
push eax
push 4
push 1
push str.____
call fcn.0041dd3e
add esp, 0x10
jmp 0x411ce1
push 4
lea ecx, [edi + 0xd0]
call fcn.00411f10
lea ecx, [eax - 1]
mov eax, dword [str.____]
mov dword [ecx], eax
mov byte [ecx + 4], 0
mov ebx, ebp
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x411ce6
mov eax, dword [edi + 0x40]
sub ebx, ecx
test eax, eax
je 0x411d05
push eax
push ebx
push 1
push ebp
call fcn.0041dd3e
add esp, 0x10
jmp 0x411d23
push ebx
lea ecx, [edi + 0xd0]
call fcn.00411f10
push ebx
push ebp
lea esi, [eax - 1]
push esi
call fcn.00414f40
add esp, 0xc
mov byte [ebx + esi], 0
mov eax, dword [edi + 0x40]
test eax, eax
je 0x411d45
push eax
push 3
push 1
push 0x438384
call fcn.0041dd3e
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 3
lea ecx, [edi + 0xd0]
call fcn.00411f10
pop edi
pop esi
pop ebp
lea ecx, [eax - 1]
mov ax, word [0x438384]
mov word [ecx], ax
mov al, byte [0x438386]
mov byte [ecx + 2], al
mov al, 1
mov byte [ecx + 3], 0
pop ebx
ret 4
Function at 0x411e65
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x18]
test eax, eax
je 0x411dd9
xor ebp, ebp
jmp 0x411de3
lea ecx, [esi + 0xc]
call fcn.0040e9e0
mov ebp, eax
cmp byte [edi + 4], 0
je 0x411e14
mov ecx, dword [edi + 0x40]
mov byte [edi + 4], 0
test ecx, ecx
je 0x411e01
push ecx
push 0x3e
call fcn.0041d46e
add esp, 8
jmp 0x411e14
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0x3e
cmp dword [edi + 0x48], 0
jge 0x411e57
cmp byte [edi + 0x3c], 0
jne 0x411e57
cmp byte [edi + 0x4d], 0
jne 0x411e57
mov eax, dword [edi + 0x40]
test eax, eax
je 0x411e3a
push eax
push 0xa
call fcn.0041d46e
add esp, 8
jmp 0x411e4d
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
mov word [eax - 1], 0xa
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x44]
call dword [eax + 0x2c]
mov eax, dword [edi + 0x40]
mov byte [edi + 0x3c], 0
test eax, eax
je 0x411e76
push eax
push 2
push 1
push 0x43834c
call fcn.0041dd3e
add esp, 0x10
jmp 0x411e93
push 2
lea ecx, [edi + 0xd0]
call fcn.00411f10
lea ecx, [eax - 1]
mov ax, word [0x43834c]
mov word [ecx], ax
mov byte [ecx + 2], 0
mov ebx, ebp
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x411e98
mov eax, dword [edi + 0x40]
sub ebx, ecx
test eax, eax
je 0x411eb7
push eax
push ebx
push 1
push ebp
call fcn.0041dd3e
add esp, 0x10
jmp 0x411ed5
push ebx
lea ecx, [edi + 0xd0]
call fcn.00411f10
push ebx
push ebp
lea esi, [eax - 1]
push esi
call fcn.00414f40
add esp, 0xc
mov byte [ebx + esi], 0
mov eax, dword [edi + 0x40]
test eax, eax
je 0x411ef0
push eax
push 0x3e
call fcn.0041d46e
add esp, 8
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 1
lea ecx, [edi + 0xd0]
call fcn.00411f10
pop edi
pop esi
pop ebp
mov word [eax - 1], 0x3e
mov al, 1
pop ebx
ret 4

Function at 0x423f24
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00423d9a
Function at 0x6d7370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x6d738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x700074
push ecx
mov edi, eax
call fcn.006eb198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6d73cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006eb02e
push esi
call fcn.006eafb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6da850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x6da8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x705720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6da8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.006eb1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x6da8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x705720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6da92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.006ec082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6da957
mov word [eax], si
add eax, 2
push eax
call fcn.006ec030
add esp, 4
jmp 0x6da959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x6da8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6da8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x6daff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x6db080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6db0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x700458
push ecx
call fcn.006eb1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006eb1e1
add esp, 0x10
jmp 0x6db0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.006eb20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.006eadff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.006db050
mov eax, dword [0x705728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x6db13b
push esi
call fcn.006dafb0
add esp, 4
mov dword [0x705728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x6db14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.006daff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x6de440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x6de4b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x6de48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x6de471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6de47e
add edx, ecx
cmp ebx, edx
jb 0x6de48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6de467
xor ecx, ecx
jmp 0x6de4a2
test eax, eax
jne 0x6de492
xor ecx, ecx
jmp 0x6de4a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.006de3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x6de8f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x6de921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x6de946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x6de96e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x6de993
push ecx
push esi
call fcn.006de4c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret