joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x4a7ddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x4a7ddd
mov eax, 1
test eax, eax
je 0x4a7ddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x4a7ddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x4a7dd3
mov ebx, eax
and eax, 0x80000000
jne 0x4a7d4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x4a7ddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x4a7ddd
mov eax, 1
test eax, eax
je 0x4a7ddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x4a7ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x4a7ca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x4a7ddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x4a7b67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x4a7ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x4a7ca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x4a7e9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x4a7fee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x4a7fee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.004a7ff8
test eax, eax
je 0x4a7fee
add ebx, 0x28
dec ecx
jne 0x4a7fc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x4a809e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x4a80c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x4a812e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x4a80e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x4a812e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x4a8105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x4a812e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x4a8123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x4a812e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x4a816b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x4a8172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4a81a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4a81a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x4a8dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.004a8f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.004a8f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.004a8eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004a8f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004a8ecb
push ecx
push dword [ebp + 8]
call fcn.004a8f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004a8f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004a8ecb
push ecx
push dword [ebp + 8]
call fcn.004a8f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004a8f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004a8ecb
push ecx
push dword [ebp + 8]
call fcn.004a8f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004a8f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004a8ecb
cmp ecx, 0x2b
jne 0x4a8e0f
leave
ret 0xc

Function at 0x4aa4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x4aa544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x50e10
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4aa5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x50e10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x50e10
call fcn.004aa3fa
push 0x50e10
push dword [ebp + 0xc]
call fcn.004a81a8
test eax, eax
jne 0x4aa5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x50e10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004aa5dd
test eax, eax
je 0x4aa5d6
jmp 0x4aa574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4aa5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x4aa60b
Capabilities:
Terminate process

Disassembly:
call fcn.004aa618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4186ca
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041853b

Function at 0x418ac4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407f70
mov eax, dword [0x431040]
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.004167d8
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x418b06
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x418c62
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00423790
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 + 0x47e368]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00419abb
mov ecx, dword [esi*4 + 0x47e368]
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 0x418c5b
cmp eax, dword [edi + ecx + 0x24]
jne 0x418c5b
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 0x418c5b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00419abb
add esp, 0x14
test edx, edx
jl 0x418c5b
jg 0x418bd1
test eax, eax
jb 0x418c5b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418c5b
jl 0x418beb
cmp dword [ebp - 0x1008], eax
ja 0x418c5b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x418c09
test ebx, ebx
je 0x418c42
cmp ecx, edi
jae 0x418c42
mov al, byte [ecx]
cmp al, 0xd
jne 0x418c23
lea eax, [edi - 1]
cmp ecx, eax
jae 0x418c2f
cmp byte [ecx + 1], 0xa
jne 0x418c2f
inc ecx
jmp 0x418c2f
movzx eax, al
movsx eax, byte [eax + 0x431310]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x418c09
cmp edx, ebx
jne 0x418c09
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x418c60
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00407402
leave
ret
Function at 0x418f59
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 + 0x47e368]
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 0x418f99
cmp byte [ebx], 0xa
jne 0x418f99
or byte [eax + edi + 0x28], 4
jmp 0x418f9e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41909c
mov al, byte [edx]
cmp al, 0x1a
je 0x41907e
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x418fcd
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x418ff2
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x418ffc
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 0x418faf
jmp 0x41909c
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 0x419079
cmp dword [ebp - 0xc], 0
je 0x419079
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47e368]
test byte [eax + edi + 0x28], 0x48
je 0x419053
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41903e
mov byte [esi], dl
jmp 0x41904f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47e368]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41909c
cmp byte [ebp - 1], 0xa
jne 0x419062
cmp esi, ebx
jne 0x419062
mov byte [esi], 0xa
jmp 0x41909b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00419ad9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41909c
mov byte [esi], 0xd
jmp 0x41909b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47e368]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x419098
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41909c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4190a5
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 + 0x47e368]
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 0x4190e8
cmp word [esi], dx
jne 0x4190e8
or byte [edi + eax + 0x28], 4
jmp 0x4190ed
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 0x419240
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 0x419220
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41912f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x419165
cmp eax, edx
jae 0x419171
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 0x419107
jmp 0x419240
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 0x41921c
cmp dword [ebp - 0x14], 0
je 0x41921c
mov eax, dword [ebx*4 + 0x47e368]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4191f4
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4191bd
mov word [esi], cx
jmp 0x4191f0
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47e368]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47e368]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47e368]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x419240
pop ebx
cmp word [ebp - 4], bx
jne 0x419205
cmp esi, dword [ebp + 0xc]
jne 0x419205
mov word [esi], bx
jmp 0x41923d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00419ad9
add esp, 0x10
cmp word [ebp - 4], bx
je 0x419240
push 0xd
jmp 0x419239
mov ecx, dword [ebx*4 + 0x47e368]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x419237
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x419240
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 0x425570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edx, str.sioABcuhcuAUIs
mov ecx, 0x47d850
call fcn.00403800
mov edi, eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edi + 0x30]
mov esi, dword [ecx + 4]
mov ecx, esi
mov dword [esp + 0x10], esi
mov edx, dword [esi]
call dword [edx + 4]
lea eax, [esp + 0xc]
push eax
call fcn.00403660
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0xc], al
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
test eax, eax
je 0x4255d8
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0xc]
mov ecx, edi
call fcn.004047b0
mov ecx, edi
call fcn.00403430
push 4
call fcn.00407415
add esp, 4
lea ecx, [esp + 0x18]
mov dword [eax], 0x425440
push ecx
push 0
push eax
push 0x404e30
push 0
push 0
call fcn.0040bc1c
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x4256e8
cmp dword [esp + 0x18], 0
je 0x4256f7
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x4256fe
push 0
push ecx
push dword [esp + 0x1c]
call fcn.00406cd2
add esp, 0xc
test eax, eax
jne 0x425705
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
xor ecx, ecx
movlpd qword [esp + 0x14], xmm0
mov dword [esp + 0x20], ecx
lea edi, [eax + 0x64]
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], eax
mov esi, 2
cmp ecx, eax
je 0x425688
mov dword [ecx], 0
add ecx, 4
mov dword [esp + 0x20], ecx
jmp 0x42569f
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00404960
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub esi, 1
jne 0x425675
sub edi, 1
jne 0x425670
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4256d9
sub eax, edx
mov ecx, edx
and eax, 0xfffffffc
cmp eax, 0x1000
jb 0x4256cf
mov edx, dword [ecx - 4]
add eax, 0x23
sub ecx, edx
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x42570c
push eax
push edx
call fcn.00407445
add esp, 8
cmp dword [esp + 0x18], 0
jne 0x425711
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [esp + 0x1c], 0
call fcn.0040501f
push 1
call fcn.0040501f
push 5
call fcn.0040501f
push 2
call fcn.0040501f
call fcn.0040f26f
call fcn.0040e59b
int3
Function at 0x402230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.user32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.00466324
push eax
lea ecx, [esp + 0x30]
call fcn.0046c521
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.user32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.00466324
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0046c4a9
mov eax, dword [esi + 0x108]
mov ebx, dword [sym.imp.gdi32.dll_BitBlt]
test eax, eax
jne 0x402366
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x104]
call fcn.0046be18
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x114]
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0046c7c9
test edi, edi
je 0x402312
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x108]
push edi
push eax
call fcn.0046bf59
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x108]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x104]
sub ecx, edi
test edx, edx
je 0x402387
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0046c593
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x40acc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x474b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x40ad6a
mov eax, dword [0x49aec0]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00465cc2
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00465d11
push 0x497754
lea ecx, [esp + 0xc]
call fcn.00465c6e
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40ad51
push 0x6a
push esi
call dword [sym.imp.user32.dll_LoadCursorA]
test eax, eax
je 0x40ad51
push eax
call dword [sym.imp.user32.dll_CopyIcon]
mov dword [edi + 0x6c], eax
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00465892
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40ad80
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40ade2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.advapi32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpy]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x40aff0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push 0x4972f0
mov edi, ecx
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b0e2
lea ecx, [esp + 0x10]
push ecx
push 0x497a90
push 0x80000000
mov ecx, edi
call fcn.0040ad80
test eax, eax
jne 0x40b0e2
mov ebx, dword [sym.imp.kernel32.dll_lstrcat]
lea edx, [esp + 0x10]
push 0x497a7c
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, edi
call fcn.0040ad80
test eax, eax
jne 0x40b0e2
lea edx, [esp + 0x10]
push 0x497a74
push edx
call fcn.00441ff4
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b0b3
lea eax, [esp + 0x10]
push 0x497a70
push eax
call fcn.00441ff4
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b0b3
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
lea esi, [esp + eax + 0xf]
jmp 0x40b0b6
mov byte [esi], 0
push 0x497a6c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.kernel32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8