joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066900
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100892ad
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100fa00c]
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, edx
mov ebx, ecx
mov al, byte [0x10104020]
test al, al
jne 0x100669a6
mov edx, dword [ebx]
lea ecx, [ebp - 0x30]
call fcn.10066a50
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x10066951
mov eax, dword [eax]
push 0
mov edx, esi
mov ecx, eax
call fcn.10052640
mov edx, dword [ebp - 0x1c]
add esp, 4
mov bl, al
cmp edx, 0x10
jb 0x10066995
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006698b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066a40
push edx
push ecx
call fcn.10068c94
add esp, 8
test bl, bl
je 0x10066a22
mov byte [0x10104020], 1
jmp 0x10066a22
cmp al, 1
jne 0x10066a22
mov al, 0x10
mov byte [ebp - 0x14], 0
mov ah, 0x3e
mov byte [ebp - 0x14], 0
mov cl, al
mov byte [ebp - 0x18], ah
mov dl, al
xor cl, ah
xor dl, ah
mov byte [ebp - 0x16], cl
xor al, ah
mov byte [ebp - 0x15], dl
push 0
mov edx, esi
mov byte [ebp - 0x17], al
lea ecx, [ebp - 0x17]
call fcn.10052640
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 4
mov esi, 1
push esi
call edi
inc esi
cmp esi, 0xe7
jle 0x100669e6
mov esi, 1
push esi
call edi
inc esi
cmp esi, 0xe7
jle 0x100669f7
mov esi, 1
push esi
call edi
test ax, ax
je 0x10066a19
mov dword [ebx], esi
mov byte [0x10104020], 0
inc esi
cmp esi, 0xe7
jle 0x10066a08
mov al, 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.10068c51
mov esp, ebp
pop ebp
ret
call fcn.1006c5cc
int3
Function at 0x1006cdb5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100844a0
mov eax, dword [0x100fa00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100783e0
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1006cdf7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1006cf53
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100843f0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100fbbf8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100785f0
mov ecx, dword [esi*4 + 0x100fbbf8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x1006cf4c
cmp eax, dword [edi + ecx + 0x24]
jne 0x1006cf4c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006cf4c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100785f0
add esp, 0x14
test edx, edx
jl 0x1006cf4c
jg 0x1006cec2
test eax, eax
jb 0x1006cf4c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1006cf4c
jl 0x1006cedc
cmp dword [ebp - 0x1008], eax
ja 0x1006cf4c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1006cefa
test ebx, ebx
je 0x1006cf33
cmp ecx, edi
jae 0x1006cf33
mov al, byte [ecx]
cmp al, 0xd
jne 0x1006cf14
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1006cf20
cmp byte [ecx + 1], 0xa
jne 0x1006cf20
inc ecx
jmp 0x1006cf20
movzx eax, al
movsx eax, byte [eax + 0x100fa1c0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1006cefa
cmp edx, ebx
jne 0x1006cefa
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1006cf51
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10068c51
leave
ret
Function at 0x1007866c
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 + 0x100fbbf8]
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 0x100786ac
cmp byte [ebx], 0xa
jne 0x100786ac
or byte [eax + edi + 0x28], 4
jmp 0x100786b1
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100787af
mov al, byte [edx]
cmp al, 0x1a
je 0x10078791
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100786e0
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x10078705
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1007870f
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 0x100786c2
jmp 0x100787af
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 0x1007878c
cmp dword [ebp - 0xc], 0
je 0x1007878c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x100fbbf8]
test byte [eax + edi + 0x28], 0x48
je 0x10078766
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10078751
mov byte [esi], dl
jmp 0x10078762
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100fbbf8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100787af
cmp byte [ebp - 1], 0xa
jne 0x10078775
cmp esi, ebx
jne 0x10078775
mov byte [esi], 0xa
jmp 0x100787ae
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1007860e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100787af
mov byte [esi], 0xd
jmp 0x100787ae
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x100fbbf8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100787ab
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100787af
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100787b8
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 + 0x100fbbf8]
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 0x100787fb
cmp word [esi], dx
jne 0x100787fb
or byte [edi + eax + 0x28], 4
jmp 0x10078800
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 0x10078953
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 0x10078933
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x10078842
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10078878
cmp eax, edx
jae 0x10078884
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 0x1007881a
jmp 0x10078953
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 0x1007892f
cmp dword [ebp - 0x14], 0
je 0x1007892f
mov eax, dword [ebx*4 + 0x100fbbf8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x10078907
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100788d0
mov word [esi], cx
jmp 0x10078903
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x100fbbf8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x100fbbf8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x100fbbf8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x10078953
pop ebx
cmp word [ebp - 4], bx
jne 0x10078918
cmp esi, dword [ebp + 0xc]
jne 0x10078918
mov word [esi], bx
jmp 0x10078950
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1007860e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x10078953
push 0xd
jmp 0x1007894c
mov ecx, dword [ebx*4 + 0x100fbbf8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1007894a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10078953
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 0x10079519
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1008cca0
push 0x1008cc98
push str.FlsAlloc
push 0x1e
call fcn.10079437
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1007954d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1008a1e8]
call esi
jmp 0x10079553
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10079597
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1008ccb0
push 0x1008cca8
push str.FlsGetValue
push 0x20
call fcn.10079437
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100795ce
push dword [ebp + 8]
mov ecx, esi
call dword [0x1008a1e8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1007ddd1
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 0x1007de6e
push ebx
push esi
call fcn.1007dd9a
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.1007dce3
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1007de1b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1007de6d
push edi
push eax
call fcn.1007a79c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1007de3b
call fcn.100792e4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1007de6c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1007dce3
add esp, 0x20
test eax, eax
jne 0x1007de5a
push edi
call fcn.100792e4
jmp 0x1007de62
push ebx
call fcn.100792e4
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 0x10082dd1
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.10082d4d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10082f49
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10082f49
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10082ef8
jg 0x10082e2a
test eax, eax
je 0x10082eee
push 1
push 0x1000
call fcn.10079287
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10082e50
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x10082ee5
push 0x8000
push ebx
call fcn.10082c7e
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 0x10082e7c
jg 0x10082e77
cmp ecx, 0x1000
jb 0x10082e7c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1007a232
add esp, 0x10
cmp eax, 0xffffffff
je 0x10082ec1
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 0x10082e77
jl 0x10082ea8
test ecx, ecx
jne 0x10082e69
push dword [ebp - 0xc]
push ebx
call fcn.10082c7e
push esi
call fcn.100792e4
add esp, 0xc
xor edi, edi
jmp 0x10082f5a
cmp byte [edi + 0x24], 0
je 0x10082ed8
cmp dword [edi + 0x20], 5
jne 0x10082ed8
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10082ee3
mov edi, dword [edi + 0x18]
jmp 0x10082ee5
xor edi, edi
push esi
call fcn.100792e4
pop ecx
jmp 0x10082f5a
test ecx, ecx
jg 0x10082eba
jl 0x10082ef8
test eax, eax
jae 0x10082eba
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1007860e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10082f1b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10082eba
jmp 0x10082f52
push ebx
call fcn.1007f4ad
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10082eba
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 0x10082f5a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10082f57
mov edi, dword [edi + 0x18]
jmp 0x10082f5a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1007860e
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 1
jne 0x401014
mov eax, dword [0x4390cc]
mov dword [ebp + 8], eax
jmp loc.0045cb1c

Function at 0x401300
Capabilities:
Inspect load icon resource
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12d
mov dword [ebp - 0x28], 0x17
mov dword [ebp - 0x7f4], str.222TWARE11asses
mov dword [ebp - 0x7a4], str.22sid09474572_b2fb_11d1_a1a1_0000f875b132inprocserver32
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12c
mov dword [ebp - 0x28], 0x16
mov dword [ebp - 0x824], 2
mov dword [ebp - 0x820], 3
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 0
mov dword [ebp - 0x7fc], str.asdf
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea edx, [ebp - 0x824]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea edx, [ebp - 0x824]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0x1d83
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x40145d
xor eax, eax
jmp 0x401775
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [0x4390c8], ecx
mov edx, dword [ebp - 0x7f4]
mov byte [edx], 0x53
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 1], 0x4f
mov ecx, dword [ebp - 0x7f4]
mov byte [ecx + 2], 0x46
mov edx, dword [ebp - 0x7f4]
mov byte [edx + 9], 0x43
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 0xa], 0x6c
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x7f4]
push edx
jmp loc.0045de16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401780
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str.55222
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x4017fa
jmp loc.0045c2fa
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x40185c
mov dword [ebp - 0x120], 0x3c41
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4390b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4390d0], edx
mov dword [ebp - 0x120], 0x3c41
mov dword [ebp - 0x120], 0x3c41
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [0x4390cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401ae0
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x4017fa
mov esp, ebp
pop ebp
ret

Function at 0x401860
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x40187c
xor eax, eax
jmp 0x401945
push ebp
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
add eax, 0x3c41
jmp loc.0045cdd2
mov esp, ebp
pop ebp
ret

Function at 0x401b20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4390c0], 0x24e1
mov eax, dword [0x4390c0]
sub eax, 0x24e1
mov dword [0x4390c0], eax
mov ecx, 1
test ecx, ecx
je 0x401bcb
mov edx, dword [0x4390c0]
cmp edx, dword [ebp + 0xc]
jb 0x401b57
jmp 0x401bcb
jmp 0x45d5f4
mov esp, ebp
pop ebp
ret
Function at 0x29a0e298
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x29a0e2a7
pop dword [ebp - 0x4c]
mov eax, 0x29a0e2a7
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x51fc2833
add dword [ebp - 0x5c], 0xfc561d18
mov dword [ebp - 0x58], 0x9641872b
sub dword [ebp - 0x58], 0x640e3ae6
mov dword [ebp - 0x54], 0xc7fcdbc7
add dword [ebp - 0x54], 0x844f6867
mov dword [ebp - 0x50], 0xd1b35f88
sub dword [ebp - 0x50], 0xd1b35f88
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x9c1c9939
sub eax, 0x727b58ad
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xc6651ba9
add dword [ebp - 0x5c], 0xae0d4dad
mov dword [ebp - 0x58], 0x1575f7a0
add dword [ebp - 0x58], 0x2bf669d5
mov dword [ebp - 0x54], 0xc609be4c
add dword [ebp - 0x54], 0x9d65ae20
mov dword [ebp - 0x50], 0x20fcdbbb
add dword [ebp - 0x50], 0xdf032445
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x8deb7de
add eax, 0x20c28866
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a70e
push 0
call eax
mov ecx, 0xca1577a7
add ecx, 0x35ead130
xor edi, edi
add edi, eax
mov edx, 0x595d4ca5
sub edx, 0x2fbb1ca5
add edx, dword [ebp - 0x4c]
mov esi, 0x912cadac
mov dword [ebp - 0xc], 0xc70054cb
mov ebx, dword [edx]
add dword [ebp - 0x1c], 0x1b0195d0
xor ebx, esi
add dword [ebp - 0x10], esi
mov dword [edi], ebx
sub dword [ebp - 0x28], 0x94292db5
add edi, 4
add edx, 4
loop 0x29a0e3c0
add eax, 0x1162f
mov ebx, eax
add eax, 0xe42f5c83
sub eax, 0xe42f5c7e
mov ecx, 0x7705d77c
sub ecx, 0x4d65d77c
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4022cb
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
jmp 0x4022e4
nop
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x402303
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4022fa
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4022f2
mov eax, ebx
leave
ret

Function at 0x402329
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 4
mov esp, ebp
pop ebp
jmp 0x40234b
nop
pop edx
pop eax
pop ecx
push edx
pushal
mov ebx, eax
mov edi, ecx
xor al, al
scasb al, byte es:[edi]
jne 0x402357
dec edi
sub edi, ecx
xchg ecx, edi
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
lea esi, [esi + ebx + 0x18]
lodsd eax, dword [esi]
xchg edx, eax
lodsd eax, dword [esi]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
lodsd eax, dword [esi]
xchg ebp, eax
add eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
dec edx
je 0x4023a6
mov esi, dword [eax + edx*4]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x402392
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x40237c
shl edx, 1
add ebp, edx
movzx eax, word [ebp + ebx]
shl eax, 2
add eax, dword [esp]
mov eax, dword [ebx + eax]
add eax, ebx
pop ecx
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x40855f
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
jmp 0x408578
nop
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x408597
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40858e
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x408586
mov eax, ebx
leave
ret

Function at 0x4085bd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 4
mov esp, ebp
pop ebp
jmp 0x4085df
nop
pop edx
pop eax
pop ecx
push edx
pushal
mov ebx, eax
mov edi, ecx
xor al, al
scasb al, byte es:[edi]
jne 0x4085eb
dec edi
sub edi, ecx
xchg ecx, edi
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
lea esi, [esi + ebx + 0x18]
lodsd eax, dword [esi]
xchg edx, eax
lodsd eax, dword [esi]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
lodsd eax, dword [esi]
xchg ebp, eax
add eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
dec edx
je 0x40863a
mov esi, dword [eax + edx*4]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x408626
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x408610
shl edx, 1
add ebp, edx
movzx eax, word [ebp + ebx]
shl eax, 2
add eax, dword [esp]
mov eax, dword [ebx + eax]
add eax, ebx
pop ecx
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x411e0e
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
jmp 0x411e27
nop
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x411e46
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x411e3d
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x411e35
mov eax, ebx
leave
ret

Function at 0x411e88
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 4
mov esp, ebp
pop ebp
jmp 0x411eaa
nop
pop edx
pop eax
pop ecx
push edx
pushal
mov ebx, eax
mov edi, ecx
xor al, al
scasb al, byte es:[edi]
jne 0x411eb6
dec edi
sub edi, ecx
xchg ecx, edi
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
lea esi, [esi + ebx + 0x18]
lodsd eax, dword [esi]
xchg edx, eax
lodsd eax, dword [esi]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
lodsd eax, dword [esi]
xchg ebp, eax
add eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
dec edx
je 0x411f05
mov esi, dword [eax + edx*4]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x411ef1
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x411edb
shl edx, 1
add ebp, edx
movzx eax, word [ebp + ebx]
shl eax, 2
add eax, dword [esp]
mov eax, dword [ebx + eax]
add eax, ebx
pop ecx
mov dword [esp + 0x1c], eax
popal
ret