joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475140
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4751fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404bb0
mov eax, dword [0x4c79d4]
cmp byte [eax], 0
je 0x4751af
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404f10
mov eax, dword [ebx]
call fcn.00404d3c
push eax
mov eax, dword [ebx]
call fcn.00404d2c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404d3c
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404f10
jmp 0x4751e1
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409078
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404d1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475201
lea eax, [ebp - 0x3f0]
call fcn.004044a4
ret

Function at 0x475208
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00409078
add esp, 0x3ec
pop ebx
ret

Function at 0x4753c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x47548e
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0044d38c
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.00475084
mov edi, eax
test edi, edi
je 0x475427
mov al, byte [0x47549c]
cmp al, bl
jne 0x475427
mov edx, edi
mov eax, ebp
call fcn.00474fbc
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x47548e
cmp byte [ebp + 0x161], 2
jne 0x475452
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4c7ce0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00437478
test eax, eax
jne 0x47548e
jmp 0x475489
mov edx, dword [0x4c7c0c]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x475489
test byte [eax + 0x2f4], 8
jne 0x475489
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4c7c0c]
mov eax, edx
mov edx, 0xb006
call fcn.00437478
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47b790
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4c7ce0]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x47b836
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x47b7d5
cmp eax, dword [esp]
pop edx
pop eax
jae 0x47b811
jmp 0x47b7d9
pop edx
pop eax
jge 0x47b811
mov eax, dword [0x4c7ce0]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004761bc
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x47b836
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x47b836
cmp dword [ebx + 0x11c], 0
je 0x47b836
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042dc5c
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x486384
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4863aa
push 0
mov eax, dword [ebx + 0x94]
call fcn.0043cae8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x486464
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4865d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4865ba
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409078
mov dl, 1
mov eax, dword [0x45c2c8]
call fcn.0045c320
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x4133fc]
call fcn.004036c8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.0045c39c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4865b7
mov dl, 1
mov eax, dword [0x45d8e0]
call fcn.0045d948
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x4865ec
call fcn.0045cb04
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004047b0
xor eax, eax
push ebp
push 0x4865b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0045dc48
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004865f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4865b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004036f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004036f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004036f8
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4865dc
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004044c8
ret
Function at 0x48bd84
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x48bdae
cmp dword [ebx + 0x64], 0
jne 0x48bdae
cmp dword [ebx + 0x6c], 0
jne 0x48bdae
mov esi, edi
jmp 0x48be3c
cmp esi, 0xffffffff
jne 0x48bdb9
dec esi
jmp 0x48be3c
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x48be3c
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0048b3e8
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x48be04
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x48be09
mov word [edx], 0
dec eax
test eax, eax
jne 0x48bdea
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x48be30
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x48be35
mov word [edx], 0
dec eax
test eax, eax
jne 0x48be16
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x48be9a
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0048bb0c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x48be85
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x48be9a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x48bd8e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4905f0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4c9e64
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x490612
shr eax, 1
xor eax, 0xedb88320
jmp 0x490614
shr eax, 1
dec edx
jne 0x490600
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4905f9
mov byte [0x4ca264], 1
pop esi
pop ebx
ret

Function at 0x490630
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4ca264], 0
jne 0x490647
call fcn.004905f0
mov eax, edi
dec eax
test eax, eax
jl 0x490670
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c9e64]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x490651
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x492be4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x492c15
dec al
je 0x492c51
dec al
je 0x492c95
dec al
je 0x492d00
jmp 0x492d8a
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x492d8a
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x492c25
jmp 0x492d8a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x492d8a
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x492c61
jmp 0x492d8a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x492d8a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x492cc3
xor ebp, ebp
jmp 0x492cd4
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x492cdd
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x492ca5
jmp 0x492d8a
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x492d8a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x492d58
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00490678
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x492d14
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a1170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4a1185
add esp, 0xfffffff0
call fcn.00403a30
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404954
xor eax, eax
push ebp
push 0x4a1260
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0049b4d0
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00413bfc
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00413bfc
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00413bfc
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00413bfc
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00413c24
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1267
lea eax, [ebp - 4]
call fcn.004044a4
ret
Function at 0x4a72d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a744b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4a7464
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.004044f8
push 0xffffffffffffffff
mov ecx, 0x4a7474
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x4a7490
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x34], eax
mov ecx, 0x4a74b0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00498064
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4a74cc
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00497f50
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4a74e0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00497f50
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4a74f8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00497f50
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x4a7514
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00498064
mov byte [ebx + 0x48], al
mov ecx, 0x4a7528
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0049b01c
mov byte [ebx + 0x49], al
push 0xffffffffffffffff
mov ecx, 0x4a753c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x4c], eax
push 0xffffffffffffffff
mov ecx, 0x4a755c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x50], eax
push 0
mov ecx, 0x4a7580
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x54], eax
push 0
mov ecx, 0x4a759c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x58], eax
push 0xff
mov ecx, 0x4a75b8
mov edx, dword [ebx + 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7452
lea eax, [ebp - 4]
call fcn.004044a4
ret
Function at 0x4b36b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b36de
mov eax, ebx
call fcn.004b4164
cmp dword [ebx + 0x40], 0
je 0x4b36d7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b374f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b3741
cmp dword [ebx + 8], 0
je 0x4b3700
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4b3712
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b3741
cmp dword [ebx + 8], 0
je 0x4b36f3
cmp eax, 3
je 0x4b3725
dec eax
jne 0x4b36f3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4b36f3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b36f3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b376d
cmp dword [ebx + 0x14], 0xcc
je 0x4b376d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b3778
pop ebx
ret
Function at 0x401900
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x12c
lea ecx, [esp]
mov dword [0x40800c], eax
push 0x12c
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp]
push edx
push str._scopyfstq.exe
push 0x408020
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x4074cc
push 0x408020
call fcn.00401b00
add esp, 0x14
mov dword [0x407ed8], eax
test eax, eax
je 0x401959
mov dword [0x407030], 0
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
push 0x4017d0
push 0
push 0x64
push 0
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov eax, 1
add esp, 0x12c
ret 0x10

Function at 0x4035a9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407588
cmp edx, dword [eax]
je 0x4035cb
add eax, 8
inc ecx
cmp eax, 0x407618
jl 0x4035bc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407588]
jne 0x4036f9
mov eax, dword [0x407d2c]
cmp eax, 1
je 0x4036d3
test eax, eax
jne 0x4035fc
cmp dword [0x4074d4], 1
je 0x4036d3
cmp edx, 0xfc
je 0x4036f9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403633
lea eax, [ebp - 0x1a4]
push 0x406420
push eax
call fcn.004026f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404ac0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403676
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404ac0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40641c
push edi
call fcn.00404bd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x406400
push eax
call fcn.004026f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402700
lea eax, [ebp - 0xa0]
push 0x4063fc
push eax
call fcn.00402700
push dword [esi + 0x40758c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402700
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4063d4
push eax
call fcn.00404b3b
add esp, 0x2c
pop edi
jmp 0x4036f9
lea eax, [ebp + 8]
lea esi, [esi + 0x40758c]
push 0
push eax
push dword [esi]
call fcn.00404ac0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401158
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00401158
xor esi, esi
mov ecx, 0x46
push esi
dec ecx
jne 0x401172
mov edx, 0x405738
call fcn.00403fcc
lea ebx, [ebp - 0x19c]
mov ecx, 0x104
call fcn.00403e8f
push 0
lea ebx, [ebp - 0x19c]
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
je 0x4011c4
push 0xb7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jne 0x4011cb
jmp 0x4011d5
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4012fe
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.004012fe
xor esi, esi
xor edi, edi
mov ecx, 0x91
push esi
dec ecx
jne 0x40131a
mov dword [ebp - 0xa4], 0
mov eax, 0x224
mov dword [ebp - 0x2c8], eax
push dword [ebp + 8]
push 8
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
fldcw word [ebp - 0x10]
mov esi, eax
lea ebx, [ebp - 0x2c8]
push ebx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_Module32First]
fldcw word [ebp - 0x10]
mov edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
fild dword [0x4057f0]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
je 0x4013e4
xor eax, eax
lea ebx, [ebp - 0x1a8]
call fcn.00403e46
xor ecx, ecx
xchg ecx, eax
call fcn.00402149
mov eax, 1
mov edx, dword [ebp + 0xc]
call fcn.00403fb5
mov dword [ebp - 0x30], ecx
xor ecx, ecx
xchg ecx, eax
call fcn.00402149
mov eax, ecx
call fcn.00402016
cmp eax, dword [ebp - 0x30]
jle 0x4013ca
mov dword [ebp - 0xa4], 1
jmp 0x4013e4
lea ebx, [ebp - 0x2c8]
push ebx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_Module32Next]
fldcw word [ebp - 0x10]
mov edi, eax
jmp 0x401360
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
fldcw word [ebp - 0x10]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x98], eax
call fcn.00403ee5
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8