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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, 0x49a238
push esi
sub eax, 0xbc
push edi
mov dword [esp + 0x14], 0xbc
mov dword [esp + 0x1c], eax
jmp 0x446908
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx]
mov eax, esi
mov dword [esp + 0x10], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446918
sub eax, edx
mov edi, eax
shr eax, 5
inc eax
mov ebx, edi
mov dword [esp + 0x18], edi
mov ecx, edi
cmp edi, eax
jb 0x446956
movzx edx, byte [esi + ecx - 1]
mov esi, ebx
shl esi, 5
add edx, esi
mov esi, ebx
shr esi, 2
add edx, esi
mov esi, dword [esp + 0x10]
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x446933
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
dec ecx
and ecx, ebx
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x4469d6
jmp 0x446970
cmp dword [edx + 0xc], edi
jne 0x4469d0
test edi, edi
je 0x44697f
test byte [edx + 7], 0x10
jne 0x4469d0
mov eax, edi
lea ecx, [edx + 0x10]
cmp edi, 4
jb 0x4469a4
lea esp, [esp]
mov ebx, dword [esi]
cmp ebx, dword [ecx]
jne 0x4469c8
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x446990
test eax, eax
je 0x446a16
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x4469c8
cmp eax, 1
jbe 0x446a16
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x4469c8
cmp eax, 2
jbe 0x446a16
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x446a16
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, dword [edx]
test edx, edx
jne 0x446970
mov edx, dword [ebp + 8]
push ebx
push edi
push esi
push edx
call fcn.00448000
add esp, 0x10
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [edx + 0x10]
mov dword [ecx + esi], eax
mov eax, dword [edx + 0x10]
mov eax, dword [ecx + eax]
or byte [eax + 5], 0x20
add ecx, 4
mov dword [esp + 0x14], ecx
cmp ecx, 0x10c
jl 0x446904
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov al, byte [edx + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx ecx, al
and ecx, 3
not ebx
test bl, cl
je 0x446a34
xor al, 3
mov byte [edx + 5], al
mov eax, edx
jmp 0x4469e5
Function at 0x4480d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, edi
shr eax, 5
inc eax
mov edx, edi
mov dword [esp + 0xc], edi
mov ecx, edi
cmp edi, eax
jb 0x448111
mov esi, dword [ebp + 0xc]
movzx esi, byte [esi + ecx - 1]
mov ebx, edx
shl ebx, 5
add esi, ebx
mov ebx, edx
shr ebx, 2
add esi, ebx
sub ecx, eax
xor edx, esi
cmp ecx, eax
jae 0x4480ef
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x448184
cmp dword [eax + 0xc], edi
jne 0x44817e
test edi, edi
je 0x448135
test byte [eax + 7], 0x10
jne 0x44817e
mov esi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x448156
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x44817a
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x448142
test ecx, ecx
je 0x44819d
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x44817a
cmp ecx, 1
jbe 0x44819d
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x44817a
cmp ecx, 2
jbe 0x44819d
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x44819d
mov edx, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x448126
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push edi
push eax
push ecx
call fcn.00448000
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov cl, byte [eax + 5]
movzx edx, byte [edx + 0x14]
movzx ebx, cl
not edx
and ebx, 3
test bl, dl
je 0x448196
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4481d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
add edx, edx
mov eax, edx
shr eax, 5
push ebx
push esi
inc eax
push edi
mov esi, edx
mov dword [ebp - 4], edx
mov ecx, edx
cmp edx, eax
jb 0x448211
lea ebx, [ebx]
mov edi, dword [ebp + 0xc]
movzx edi, byte [edi + ecx - 1]
mov ebx, esi
shl ebx, 5
add edi, ebx
mov ebx, esi
shr ebx, 2
add edi, ebx
sub ecx, eax
xor esi, edi
cmp ecx, eax
jae 0x4481f0
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x448283
cmp dword [eax + 0xc], edx
jne 0x44827d
test edx, edx
je 0x448235
test byte [eax + 7], 0x10
je 0x44827d
mov edi, dword [ebp + 0xc]
mov ecx, edx
lea esi, [eax + 0x10]
cmp edx, 4
jb 0x448256
mov ebx, dword [edi]
cmp ebx, dword [esi]
jne 0x44827a
sub ecx, 4
add esi, 4
add edi, 4
cmp ecx, 4
jae 0x448242
test ecx, ecx
je 0x4482a0
mov bl, byte [esi]
cmp bl, byte [edi]
jne 0x44827a
cmp ecx, 1
jbe 0x4482a0
mov bl, byte [esi + 1]
cmp bl, byte [edi + 1]
jne 0x44827a
cmp ecx, 2
jbe 0x4482a0
mov cl, byte [esi + 2]
cmp cl, byte [edi + 2]
je 0x4482a0
mov esi, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
jne 0x448226
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ecx
call fcn.00448000
add esp, 0x10
mov byte [eax + 7], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x448299
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
mov edi, dword [eax*4 + 0x499fe8]
mov dword [esp + 0x10], edi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x448a26
sub edi, ecx
mov eax, edi
shr eax, 5
inc eax
mov ebx, edi
mov dword [esp + 0xc], edi
mov ecx, edi
cmp edi, eax
jb 0x448a64
mov edx, dword [esp + 0x10]
movzx edx, byte [edx + ecx - 1]
mov esi, ebx
shl esi, 5
add edx, esi
mov esi, ebx
shr esi, 2
add edx, esi
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x448a41
mov dword [esp + 0xc], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
dec ecx
and ecx, ebx
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x448af2
lea esp, [esp]
cmp dword [edx + 0xc], edi
jne 0x448aec
test edi, edi
je 0x448a8f
test byte [edx + 7], 0x10
jne 0x448aec
mov esi, dword [esp + 0x10]
mov eax, edi
lea ecx, [edx + 0x10]
cmp edi, 4
jb 0x448ab4
lea ecx, [ecx]
mov ebx, dword [esi]
cmp ebx, dword [ecx]
jne 0x448ae8
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x448aa0
test eax, eax
je 0x448b79
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x448ae8
cmp eax, 1
jbe 0x448b79
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x448ae8
cmp eax, 2
jbe 0x448b79
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x448b79
mov ebx, dword [esp + 0xc]
mov edx, dword [edx]
test edx, edx
jne 0x448a80
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push ebx
push edi
push edx
push eax
call fcn.00448000
add esp, 0x10
mov ecx, dword [esp + 0x14]
or byte [eax + 5], 0x20
lea edx, [ecx + 1]
inc ecx
mov byte [eax + 6], dl
mov dword [esp + 0x14], ecx
cmp ecx, 0x20
jl 0x448a14
mov ebx, dword [ebp + 8]
push 2
push 0x49d7c4
push ebx
call fcn.004480d0
mov byte [eax + 6], 0xc
mov ecx, dword [0x49a0c0]
add esp, 0xc
test ecx, ecx
je 0x448b72
mov esi, 0x49a0c0
mov eax, ecx
add esi, 4
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448b50
sub eax, edi
push eax
push ecx
push ebx
call fcn.004480d0
or byte [eax + 5], 0x20
mov byte [eax + 6], 0x2e
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
jne 0x448b47
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov al, byte [edx + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx ecx, al
and ecx, 3
not ebx
test bl, cl
je 0x448b97
xor al, 3
mov byte [edx + 5], al
mov eax, edx
jmp 0x448b05
Function at 0x45e9a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4b19fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x45e9f6
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x45ea60
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x48]
mov esi, eax
cmp edx, dword [ecx + 0x44]
jb 0x45ea18
call fcn.00437ff0
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.004480d0
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.00425000
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x45ea69
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.004751eb
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x45ea9f
cmp eax, edi
je 0x45e9f0
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x45eaf9
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x48]
mov esi, eax
cmp edx, dword [ecx + 0x44]
jb 0x45eac3
call fcn.00437ff0
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.004480d0
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.00421c30
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x45eb76
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja case.0x45eb2f.6
jmp dword [eax*4 + 0x45eb8c]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x45eb5f
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x45eb5f
mov eax, dword [esi]
call fcn.004364d0
jmp 0x45eb5f
call fcn.00438220
test eax, eax
je 0x45eb5d
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x45eb5f
xor eax, eax
test eax, eax
jne 0x45eb76
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fa81
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0046fa81
mov esp, ebp
pop ebp
ret
Function at 0x4628f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x40]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x462933
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x46292c
mov esi, dword [eax + 0x20]
jmp 0x462933
test bl, bl
jns 0x462933
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x10], esi
mov esi, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
cmp si, word [eax + 6]
jae 0x462a00
lea ebx, [ecx + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x40]
mov ecx, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ecx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x462988
mov ecx, dword [ebx]
test cl, 0x40
je 0x462981
mov edi, dword [eax + 0x20]
jmp 0x462988
test cl, cl
jns 0x462988
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x4629b7
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x4629b7
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00462840
test eax, eax
je 0x462a1e
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x4629df
mov eax, dword [ebx]
test eax, 0x2000000
je 0x4629ce
test dword [ebp - 0x10], 0x2000000
je 0x4629ce
or dword [ebp - 0x10], eax
jmp 0x4629d9
or eax, dword [ebp - 0x10]
and eax, 0xfdffffff
mov dword [ebp - 0x10], eax
sub edi, dword [ebp - 0x1c]
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, esi
jl 0x462960
lea ecx, [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.00462840
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46fa81
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b19fc]
jne 0x46fa8b
repz ret
jmp fcn.004794cc

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x47304d
call fcn.0047392b
mov dword [eax], esi
call fcn.00473918
push 0x16
pop esi
mov dword [eax], esi
call fcn.004732f3
mov eax, esi
jmp 0x4730a2
test dword [ebp + 0xc], 0xfffffff9
jne 0x473033
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47307a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0047393e
pop ecx
call fcn.00473918
mov eax, dword [eax]
jmp 0x4730a2
test al, 0x10
jne 0x4730a0
test al, 1
je 0x4730a0
test byte [ebp + 0xc], 2
je 0x4730a0
call fcn.0047392b
mov dword [eax], 5
call fcn.00473918
mov dword [eax], 0xd
jmp 0x473071
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4830fb
call fcn.0047392b
mov dword [eax], esi
call fcn.00473918
push 0x16
pop esi
mov dword [eax], esi
call fcn.004732f3
mov eax, esi
jmp 0x483150
test dword [ebp + 0xc], 0xfffffff9
jne 0x4830e1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x483128
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0047393e
pop ecx
call fcn.00473918
mov eax, dword [eax]
jmp 0x483150
test al, 0x10
jne 0x48314e
test al, 1
je 0x48314e
test byte [ebp + 0xc], 2
je 0x48314e
call fcn.0047392b
mov dword [eax], 5
call fcn.00473918
mov dword [eax], 0xd
jmp 0x48311f
xor eax, eax
pop esi
pop ebp
ret
Function at 0x489187
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b19fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0047bd83
and dword [ebp - 0x14], 0
cmp dword [0x4b42f4], 0
mov dword [ebp - 0x18], eax
jne 0x48923a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4892e2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x498be0
push ebx
call edi
test eax, eax
je 0x4892e2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x498bd0
push ebx
mov dword [0x4b42f4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b42f8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b42fc], eax
call edi
push eax
call esi
mov dword [0x4b4304], eax
test eax, eax
je 0x48923a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b4300], eax
mov eax, dword [0x4b4300]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x489293
cmp dword [0x4b4304], ecx
je 0x489293
push eax
call esi
push dword [0x4b4304]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x489293
test ebx, ebx
je 0x489293
call edi
test eax, eax
je 0x48928a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48928a
test byte [ebp - 8], 1
jne 0x489293
or dword [ebp + 0x10], 0x200000
jmp 0x4892c6
mov eax, dword [0x4b42f8]
cmp eax, dword [ebp - 0x18]
je 0x4892c6
push eax
call esi
test eax, eax
je 0x4892c6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4892c6
mov eax, dword [0x4b42fc]
cmp eax, dword [ebp - 0x18]
je 0x4892c6
push eax
call esi
test eax, eax
je 0x4892c6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b42f4]
call esi
test eax, eax
je 0x4892e2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4892e4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fa81
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5df750c8
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x35f64e79
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x408931
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
mov ecx, 0xd8e70995
call main
or eax, ecx
mov eax, 0x3b5864e3
xor dword [ebx], edx
inc ebx
cmp ebx, edi
jne fcn.00408931
sub ecx, eax
dec ecx
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401d70
Capabilities:
Create process on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x688
mov ebx, dword [ecx + 8]
mov esi, dword [ecx]
cmp ebx, 0x1a1
je 0x401ea8
jbe 0x401de8
cmp ebx, 0x1a2
je 0x401ef0
cmp ebx, 0x1a3
jne 0x401f7d
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], 9
call dbg.MAIN_MessageBoxIDS
mov eax, 1
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp ebx, 1
je 0x401e20
cmp ebx, 2
jne 0x401f7d
mov dword [esp + 4], 2
mov dword [esp], esi
call sym._EndDialog_8
sub esp, 8
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea edi, [ebp - 0x418]
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], edi
mov dword [esp + 4], 0x1a0
mov dword [esp], esi
call sym._GetDlgItemTextA_16
sub esp, 0x10
mov dword [esp + 4], 0x1a1
mov dword [esp], esi
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
mov eax, 2
cmovne ebx, eax
mov dword [esp], edi
mov dword [esp + 4], ebx
call dword [sym.imp.kernel32.dll_WinExec]
mov eax, dword [0x4090c0]
sub esp, 8
test eax, eax
jne 0x401f68
mov dword [esp], esi
mov dword [esp + 4], 1
call sym._EndDialog_8
mov eax, 1
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp], esi
mov dword [esp + 4], 0x1a1
call sym._IsDlgButtonChecked_8
sub esp, 8
test eax, eax
sete al
mov dword [esp], esi
movzx eax, al
mov dword [esp + 4], 0x1a1
mov dword [esp + 8], eax
call sym._CheckDlgButton_12
mov eax, 1
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea ebx, [ebp - 0x67a]
mov ecx, str..exe_.pif_.com_.bat
mov edx, 0x14
mov byte [ebp - 0x418], 0
lea eax, [ebp - 0x680]
mov dword [ebp - 0x680], ebx
call dbg.DIALOG_AddFilterItem
mov edx, 0x13
lea eax, [ebp - 0x680]
mov ecx, 0x407018
call dbg.DIALOG_AddFilterItem
lea edx, [ebp - 0x418]
mov eax, ebx
call sym._DIALOG_Browse.constprop.0
test eax, eax
je 0x401e09
lea eax, [ebp - 0x418]
mov dword [esp + 4], 0x1a0
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._SetDlgItemTextA_12
sub esp, 0xc
jmp 0x401e09
mov eax, dword [0x409088]
mov dword [esp], eax
call sym._CloseWindow_4
sub esp, 4
jmp 0x401e7f
xor eax, eax
jmp 0x401dd3
Function at 0x404220
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x400]
push ebx
sub esp, 0x41c
mov eax, dword [0x4090b0]
mov dword [esp + 0x10], 0x3e8
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Autostart
mov dword [esp + 4], str.AutoStart
mov dword [esp], str.Settings
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
sub esp, 0x18
call dbg.GROUP_FirstGroup
test eax, eax
je 0x4042d4
mov ebx, eax
jmp 0x404286
mov dword [esp], ebx
call dbg.GROUP_NextGroup
mov ebx, eax
test eax, eax
je 0x4042d4
mov dword [esp], ebx
call dbg.GROUP_GroupName
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_lstrcmpA]
sub esp, 8
test eax, eax
jne 0x404278
mov dword [esp], ebx
call dbg.PROGRAM_FirstProgram
mov edi, eax
test eax, eax
je 0x404278
mov dword [esp], edi
call sym._PROGRAM_ExecuteProgram
mov dword [esp], edi
call dbg.PROGRAM_NextProgram
mov edi, eax
test eax, eax
jne 0x4042b0
mov dword [esp], ebx
call dbg.GROUP_NextGroup
mov ebx, eax
test eax, eax
jne 0x404286
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x404a70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x814]
lea esi, [ebp - 0x418]
push ebx
lea ebx, [ebp - 0x800]
sub esp, 0x84c
mov eax, dword [0x4090b0]
mov dword [esp + 0x10], 0x3e8
mov dword [esp + 0x14], eax
mov eax, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x407250
mov dword [esp + 4], str.Order
mov dword [esp], str.Settings
mov dword [ebp - 0x82c], eax
call eax
sub esp, 0x18
jmp 0x404b41
cmp eax, 1
jne 0x404b92
mov eax, dword [ebp - 0x81c]
mov dword [esp + 4], str.Group_d
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf.constprop.0
mov eax, dword [0x4090b0]
mov dword [esp + 0x10], 0x400
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x82c]
mov dword [esp + 8], 0x407250
mov dword [esp + 4], edi
mov dword [esp], str.Groups
call eax
sub esp, 0x18
cmp byte [ebp - 0x418], 0
je 0x404b3d
mov dword [esp], esi
call dbg.GRPFILE_ReadGroupFile
add ebx, dword [ebp - 0x818]
cmp ebx, esi
jae 0x404b92
lea eax, [ebp - 0x818]
mov dword [esp + 4], str._d_n
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x81c]
mov dword [esp + 8], eax
mov dword [esp], ebx
call dbg.sscanf
test eax, eax
jne 0x404ad0
mov eax, dword [0x4090b0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], eax
mov dword [esp], 0xa
call dbg.MAIN_MessageBoxIDS_s
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret