joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c855
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.0045c7d1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x45c9cd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x45c9cd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x45c97c
jg 0x45c8ae
test eax, eax
je 0x45c972
push 1
push 0x1000
call fcn.0044ad81
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x45c8d4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x45c969
push 0x8000
push ebx
call fcn.00448639
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 0x45c900
jg 0x45c8fb
cmp ecx, 0x1000
jb 0x45c900
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0044e638
add esp, 0x10
cmp eax, 0xffffffff
je 0x45c945
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 0x45c8fb
jl 0x45c92c
test ecx, ecx
jne 0x45c8ed
push dword [ebp - 0xc]
push ebx
call fcn.00448639
push esi
call fcn.0044adde
add esp, 0xc
xor edi, edi
jmp 0x45c9de
cmp byte [edi + 0x24], 0
je 0x45c95c
cmp dword [edi + 0x20], 5
jne 0x45c95c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x45c967
mov edi, dword [edi + 0x18]
jmp 0x45c969
xor edi, edi
push esi
call fcn.0044adde
pop ecx
jmp 0x45c9de
test ecx, ecx
jg 0x45c93e
jl 0x45c97c
test eax, eax
jae 0x45c93e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00450189
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x45c99f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x45c93e
jmp 0x45c9d6
push ebx
call fcn.0045573d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x45c93e
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 0x45c9de
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x45c9db
mov edi, dword [edi + 0x18]
jmp 0x45c9de
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00450189
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45cda0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45cdcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45cdcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x503590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xac000]
push edi
or ebp, 0xffffffff
jmp 0x5035b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5035b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5035a8
mov eax, 1
add ebx, ebx
jne 0x5035cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5035dc
jne 0x5035fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5035fb
dec eax
add ebx, ebx
jne 0x5035e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5035c0
add ebx, ebx
jne 0x5035f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50364d
xor ecx, ecx
sub eax, 3
jb 0x503613
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x503682
sar eax, 1
mov ebp, eax
jmp 0x50361e
add ebx, ebx
jne 0x50361e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5035ec
inc ecx
add ebx, ebx
jne 0x50362c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5035ec
add ebx, ebx
jne 0x503639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50362e
jne 0x50364a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50362e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50366c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50365e
jmp 0x5035ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50366c
add edi, ecx
jmp 0x5035ae
pop esi
mov edi, esi
mov ecx, 0x3884
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50368a
cmp byte [edi], 0x1e
jne 0x50368a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x50368f
lea edi, [esi + 0x100000]
mov eax, dword [edi]
or eax, eax
je 0x503707
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10a52c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10a650]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5036bc
mov ecx, edi
jns 0x5036eb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10a658]
or eax, eax
je 0x503701
mov dword [ebx], eax
add ebx, 4
jmp 0x5036d9
call dword [esi + 0x10a654]
mov ebp, dword [esi + 0x10a65c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50373b
sub esp, 0xffffff80
jmp 0x481f41
Function at 0x4c80c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7d000]
push edi
jmp 0x4c80da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c80e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c80d0
mov eax, 1
add ebx, ebx
jne 0x4c80f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c8104
jne 0x4c8123
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8123
dec eax
add ebx, ebx
jne 0x4c8110
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c80e8
add ebx, ebx
jne 0x4c811f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c8175
xor ecx, ecx
sub eax, 3
jb 0x4c813b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c81aa
sar eax, 1
mov ebp, eax
jmp 0x4c8146
add ebx, ebx
jne 0x4c8146
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8114
inc ecx
add ebx, ebx
jne 0x4c8154
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8114
add ebx, ebx
jne 0x4c8161
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c8156
jne 0x4c8172
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c8156
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c8194
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c8186
jmp 0x4c80d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c8194
add edi, ecx
jmp 0x4c80d6
pop esi
mov edi, esi
mov ecx, 0x30a8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c81b2
cmp byte [edi], 0x24
jne 0x4c81b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4c81b7
lea edi, [esi + 0xc5000]
mov eax, dword [edi]
or eax, eax
je 0x4c822f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xce018]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xce13c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c81e4
mov ecx, edi
jns 0x4c8213
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xce144]
or eax, eax
je 0x4c8229
mov dword [ebx], eax
add ebx, 4
jmp 0x4c8201
call dword [esi + 0xce140]
mov ebp, dword [esi + 0xce148]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c8263
sub esp, 0xffffff80
jmp 0x467501
Function at 0x47f5b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x49000]
push edi
or ebp, 0xffffffff
jmp 0x47f5d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47f5d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47f5c8
mov eax, 1
add ebx, ebx
jne 0x47f5eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47f5fc
jne 0x47f61b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47f61b
dec eax
add ebx, ebx
jne 0x47f608
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47f5e0
add ebx, ebx
jne 0x47f617
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47f66d
xor ecx, ecx
sub eax, 3
jb 0x47f633
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47f6a2
sar eax, 1
mov ebp, eax
jmp 0x47f63e
add ebx, ebx
jne 0x47f63e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47f60c
inc ecx
add ebx, ebx
jne 0x47f64c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47f60c
add ebx, ebx
jne 0x47f659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47f64e
jne 0x47f66a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47f64e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47f68c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47f67e
jmp 0x47f5ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47f68c
add edi, ecx
jmp 0x47f5ce
pop esi
mov edi, esi
mov ecx, 0x213f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47f6aa
cmp byte [edi], 0xe
jne 0x47f6aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x47f6af
lea edi, [esi + 0x7c000]
mov eax, dword [edi]
or eax, eax
je 0x47f727
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x811f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x81308]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47f6dc
mov ecx, edi
jns 0x47f70b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x81310]
or eax, eax
je 0x47f721
mov dword [ebx], eax
add ebx, 4
jmp 0x47f6f9
call dword [esi + 0x8130c]
mov ebp, dword [esi + 0x81314]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x47f75b
sub esp, 0xffffff80
jmp 0x44692c
Function at 0x401200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0x8000
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x46a000
call fcn.00401cb0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x40122e
mov eax, 1
jmp 0x40133b
push 0x457430
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00410540
add esp, 8
push eax
call fcn.00438fe5
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004105c0
add esp, 4
cmp dword [ebp - 0x14], 0
jne 0x40126b
mov eax, 1
jmp 0x40133b
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x46a000
call fcn.004019f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40128c
or eax, 0xffffffff
jmp 0x40133b
mov edx, dword [ebp - 0xc]
push edx
call fcn.004335d0
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, 1
test eax, eax
je 0x401306
cmp dword [ebp - 4], 0
jne 0x4012ac
jmp 0x401306
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jge 0x4012bc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
jmp 0x4012c2
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x46a000
call fcn.00401d10
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
mov eax, dword [ebp - 0x18]
push eax
call fcn.00439388
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 8]
jge 0x4012fb
jmp 0x401306
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
jmp 0x40129b
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x46a000
call fcn.00401c30
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004390d0
add esp, 4
mov edx, dword [ebp - 0x18]
push edx
call fcn.004335f0
add esp, 4
cmp dword [ebp - 4], 0
je 0x401339
mov eax, 1
jmp 0x40133b
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40b660
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
jmp 0x40b682
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jge 0x40b6ad
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movsx eax, byte [edx]
xor eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4574f0]
mov dword [ebp - 8], ecx
jmp 0x40b679
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret 8

Function at 0x410a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x410a7f
or eax, 0xffffffff
jmp 0x410ab0
cmp dword [ebp + 0xc], 0
jne 0x410a8a
or eax, 0xffffffff
jmp 0x410ab0
cmp dword [ebp + 0x10], 0
jg 0x410a94
xor eax, eax
jmp 0x410ab0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.0043e124
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x410af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
call fcn.00410930
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410b12
or eax, 0xffffffff
jmp 0x410b3f
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.00439388
add esp, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004109f0
add esp, 4
call fcn.0043deb8
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x41b450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x201c
call fcn.00434e80
mov eax, dword [0x46b0e0]
mov ecx, dword [eax + 0x338]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 1
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov word [ebp + eax - 0x201c], cx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 6
ja case.default.0x41b4a5
mov eax, dword [ebp - 0x10]
jmp dword [eax*4 + 0x41b60c]
push 0x1000
lea ecx, [ebp - 0x201c]
push ecx
call fcn.0043c658
add esp, 8
jmp 0x41b5a5
mov edx, dword [0x46b0e0]
mov eax, dword [edx + 0x384]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x41b5a5
push 0x1000
lea ecx, [ebp - 0x201c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x41b5a5
push 0x1000
lea edx, [ebp - 0x201c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x41b5a5
mov eax, dword [0x46b0e0]
mov ecx, dword [eax + 0x368]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x41b5a5
mov dword [ebp - 4], 0x457b26
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x41b5a5
mov edx, dword [0x46b0e0]
add edx, 0x390
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x41b5a5
mov eax, dword [ebp + 8]
and eax, 0x10000
je 0x41b590
push 0
mov ecx, dword [ebp + 8]
and ecx, 0xffff
push ecx
lea edx, [ebp - 0x201c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x41b5a5
mov dword [ebp - 0x18], 3
push 0x466400
lea eax, [ebp - 0x18]
push eax
call fcn.004367dc
cmp dword [ebp - 8], 0
je 0x41b5f1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x201c]
push edx
call fcn.004105e0
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x46b0e0]
add ecx, 0x338
push ecx
call fcn.00413090
add esp, 8
lea edx, [ebp - 0x14]
push edx
call fcn.00410660
add esp, 4
mov eax, dword [0x46b0e0]
mov ecx, dword [eax + 0x338]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 0
je 0x41b605
push 0x5c
mov edx, dword [ebp - 4]
push edx
call fcn.00434220
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41b630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xa
mov eax, dword [ebp + 0x10]
and eax, 2
je 0x41b65a
mov dword [ebp - 8], 2
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x41b712
push 0x3c
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00436600
add esp, 0xc
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00410540
add esp, 8
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00410540
add esp, 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], 1
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41b6f5
lea eax, [ebp - 4]
push eax
call fcn.004105c0
add esp, 4
lea ecx, [ebp - 0xc]
push ecx
call fcn.004105c0
add esp, 4
mov dword [ebp - 0x14], 0xe
push 0x466400
lea edx, [ebp - 0x14]
push edx
call fcn.004367dc
lea eax, [ebp - 4]
push eax
call fcn.004105c0
add esp, 4
lea ecx, [ebp - 0xc]
push ecx
call fcn.004105c0
add esp, 4
jmp 0x41b7e0
mov edx, dword [ebp + 0x10]
and edx, 0x10
je 0x41b754
mov eax, dword [ebp - 8]
push eax
push 0x457b5c
push 0x457b60
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00410540
add esp, 8
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
call fcn.004105c0
add esp, 4
jmp 0x41b7c5
mov ecx, dword [ebp + 0x10]
and ecx, 0x20
je 0x41b799
mov edx, dword [ebp - 8]
push edx
push 0x457b64
push 0x457b68
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00410540
add esp, 8
push eax
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 4]
push edx
call fcn.004105c0
add esp, 4
jmp 0x41b7c5
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00410540
add esp, 8
push eax
call fcn.0041bfa0
add esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
call fcn.004105c0
add esp, 4
cmp dword [ebp - 0x10], 0x20
jge 0x41b7e0
mov dword [ebp - 0x18], 0xe
push 0x466400
lea ecx, [ebp - 0x18]
push ecx
call fcn.004367dc
mov esp, ebp
pop ebp
ret
Function at 0x41be70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x400c
call fcn.00434e80
call fcn.00403f30
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00434320
add esp, 4
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004105e0
add esp, 8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x368
push ecx
call fcn.00413090
add esp, 8
lea edx, [ebp - 8]
push edx
call fcn.00410660
add esp, 4
push 0x104
lea eax, [ebp - 0x200c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x20
lea ecx, [ebp - 0x400c]
push ecx
lea edx, [ebp - 0x200c]
push edx
call fcn.004338d0
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x400c]
push ecx
call fcn.004105e0
add esp, 8
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
add eax, 0x338
push eax
call fcn.00413090
add esp, 8
push 0x5c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x338]
push edx
call fcn.00434220
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x338]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x384
push edx
call fcn.00413090
add esp, 8
push str.hsptv_
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x338]
push ecx
call fcn.004393f0
add esp, 8
lea edx, [ebp - 8]
push edx
call fcn.00410660
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x338]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x388
push edx
call fcn.00413090
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x41bfa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
mov ax, word [ebp + 0xc]
mov word [ebp - 0x24], ax
xor ecx, ecx
mov word [ebp - 0x22], cx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x41df80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [0x46b128]
call fcn.0042a400
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x41df9c
jmp 0x41dfe4
mov dword [ebp - 8], 1
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
je 0x41dfba
mov dword [ebp - 8], 0xffffffff
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [0x46b128]
call fcn.00421c00
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x108], 0
je 0x41dfe4
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00424830
mov esp, ebp
pop ebp
ret