joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d4b3
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x1014c68]
push ebx
push esi
mov esi, dword [sym.imp.msvcrt.dll_swprintf]
push edi
movzx edi, word [ebp + 8]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0xcc]
push 0x1002b74
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, eax
push ebx
call fcn.0100d17e
test eax, eax
je 0x100d523
push edi
lea eax, [ebp - 0x2d4]
push 0x1002b64
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
call fcn.0100d1a2
mov esi, eax
cmp esi, 0xffffffff
jne 0x100d527
xor eax, eax
jmp 0x100d544
push 0
lea eax, [ebp - 0x2d4]
push eax
push ebx
push esi
xor ecx, ecx
call fcn.0100d1e0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01012308
leave
ret 4

Function at 0x100dfe0
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1014c68]
mov edx, dword [ebp + 8]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov esi, 0x1025ed8
mov dword [ebp - 0x21c], eax
xor eax, eax
cmp edx, 0xffffffff
mov ecx, 0x400
mov edi, esi
rep stosd dword es:[edi], eax
je 0x100e13d
push 0x16
push 0x1000
push esi
lea eax, [ebp - 0x228]
push eax
push edx
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, 0x80000005
je 0x100e13d
cmp eax, 0xc0000023
je 0x100e13d
mov edi, dword [sym.imp.msvcrt.dll_wcscat]
mov ecx, esi
mov esi, dword [sym.imp.msvcrt.dll_wcscpy]
mov dword [ebp - 0x214], ecx
cmp dword [ecx + 4], 0
jbe 0x100e11d
lea eax, [ecx + 0x18]
call fcn.0100d9ee
test eax, eax
mov dword [ebp - 0x218], eax
je 0x100e11d
push dword [ebp - 0x21c]
mov ebx, dword [sym.imp.msvcrt.dll_wcslen]
call ebx
push dword [ebp - 0x218]
mov dword [ebp - 0x220], eax
call ebx
pop ecx
pop ecx
mov ecx, dword [ebp - 0x220]
add ecx, eax
cmp ecx, 0x103
jae 0x100e11d
push dword [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push 0x1002d84
push eax
call edi
push dword [ebp - 0x218]
lea eax, [ebp - 0x210]
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call fcn.0100d999
mov ebx, eax
test ebx, ebx
je 0x100e11d
lea eax, [ebp - 0x210]
push eax
mov eax, dword [0x1025ed4]
imul eax, eax, 0x220
add eax, dword [0x1025ed0]
push eax
call esi
pop ecx
pop ecx
push ebx
call fcn.0100d9ca
inc dword [0x1025ed4]
mov eax, dword [0x1025ed4]
cmp eax, dword [ebp + 0x10]
jae 0x100e14f
mov ecx, dword [ebp - 0x214]
mov eax, dword [ecx]
test eax, eax
jbe 0x100e12d
add ecx, eax
jmp 0x100e12f
xor ecx, ecx
test ecx, ecx
mov dword [ebp - 0x214], ecx
jne 0x100e05b
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01012308
leave
ret 0xc
xor eax, eax
jmp 0x100e140
Function at 0x100eaf4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
cmp word [ebp + 8], si
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
jne 0x100eb34
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push 2
call fcn.01003d25
test eax, eax
jne 0x100eb28
push 0xaf3
jmp 0x100eb54
mov edi, dword [esi]
xor eax, eax
stosw word es:[edi], ax
inc eax
jmp 0x100ecaa
lea eax, [ebp - 8]
push eax
push 1
push esi
push 0x1002f48
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100eb6a
push 0xafe
push 0x1002ee8
push 0x1002e88
call fcn.01005dcd
xor eax, eax
jmp 0x100ecaa
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push esi
mov ebx, 0x1002f2c
push ebx
push dword [ebp - 8]
call edi
test eax, eax
je 0x100eba5
push 0xb08
push 0x1002ee8
push 0x1002e88
call fcn.01005dcd
xor eax, eax
jmp 0x100eca9
push 2
pop eax
cmp dword [ebp - 4], eax
jae 0x100ebb0
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.01003d25
test eax, eax
jne 0x100ebca
push 0xb10
jmp 0x100eb8f
lea eax, [ebp - 4]
push eax
push dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push dword [ebp - 8]
call edi
test eax, eax
je 0x100ebe7
push 0xb19
jmp 0x100eb8f
mov esi, dword [esi]
cmp word [esi], 0
mov dword [ebp + 0x10], esi
je 0x100ec88
movzx eax, word [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 0xc], eax
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_CharUpperW]
mov dword [ebp + 8], eax
movzx eax, word [esi]
push eax
call ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [ebp - 0x10]
cmp cx, ax
jne 0x100ec77
xor eax, eax
cmp dword [ebp + 8], eax
jle 0x100ec51
mov cx, word [esi + eax*2]
cmp cx, 0x5c
jne 0x100ec3e
lea ecx, [eax + 1]
mov dword [ebp - 0x14], ecx
jmp 0x100ec44
cmp cx, 0x20
je 0x100ec4c
inc eax
cmp eax, dword [ebp + 8]
jl 0x100ec2c
jmp 0x100ec51
and word [esi + eax*2], 0
mov eax, dword [ebp - 0x14]
lea ebx, [esi + eax*2]
push ebx
call edi
lea eax, [eax + eax + 2]
push eax
push ebx
mov ebx, dword [ebp + 0x10]
push ebx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
push ebx
call edi
lea eax, [ebx + eax*2 + 2]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x100ec03
mov eax, dword [ebp + 0x10]
and word [eax], 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100eca6
push 0xb50
jmp 0x100eb8f
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x1012420
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1003c60
call fcn.010125ec
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x101245d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101245d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1012475
cmp eax, 0x20b
je 0x1012462
mov dword [ebp - 0x1c], ebx
jmp 0x1012489
cmp dword [ecx + 0x84], 0xe
jbe 0x101245d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1012483
cmp dword [ecx + 0x74], 0xe
jbe 0x101245d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10314fc], 0xffffffff
or dword [0x1031500], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x10314f4]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x10314f0]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10314f8], eax
call fcn.010129e2
cmp dword [0x1014c70], ebx
jne 0x10124e4
push fcn.010129e2
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010129cb
push 0x1014020
push 0x101401c
call sub.msvcrt.dll__initterm
mov eax, dword [0x10314ec]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x10314e8]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1014018
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x101257a
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x101254e
cmp al, 0x22
jne 0x1012540
cmp byte [esi], 0x22
jne 0x1012557
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1012561
cmp al, 0x20
jbe 0x1012553
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x1012585
movzx eax, word [ebp - 0x50]
jmp 0x1012588
cmp byte [esi], 0x20
jbe 0x1012557
inc esi
mov dword [ebp - 0x20], esi
jmp 0x101257a
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x10125a5
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10125da
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01012627
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x48bc1d16
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3d6a44de
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x422a10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x422a32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422a28
mov eax, 1
add ebx, ebx
jne 0x422a4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422a40
jne 0x422a5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422a40
xor ecx, ecx
sub eax, 3
jb 0x422a70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422ae2
mov ebp, eax
add ebx, ebx
jne 0x422a7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422a88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422aac
inc ecx
add ebx, ebx
jne 0x422a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422a8d
jne 0x422aa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422a8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422abd
jmp 0x422a2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422acc
add edi, ecx
jmp 0x422a2e
pop esi
mov edi, esi
mov ecx, 0x475
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422aea
cmp byte [edi], 6
jne 0x422aea
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 eax, ebx
loop 0x422aef
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x422b67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24954]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24a08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422b1c
mov ecx, edi
jns 0x422b4b
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 + 0x24a0c]
or eax, eax
je 0x422b61
mov dword [ebx], eax
add ebx, 4
jmp 0x422b39
call dword [esi + 0x24a10]
popal
jmp 0x412c77
Function at 0x40b801
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411a00
cmp edx, dword [eax]
je 0x40b823
add eax, 8
inc ecx
cmp eax, 0x411a90
jl 0x40b814
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411a00]
jne 0x40b951
mov eax, dword [0x41911c]
cmp eax, 1
je 0x40b92b
test eax, eax
jne 0x40b854
cmp dword [0x411488], 1
je 0x40b92b
cmp edx, 0xfc
je 0x40b951
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b88b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408740
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408910
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b8ce
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408910
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41050c
push edi
call fcn.00408fa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408740
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408750
lea eax, [ebp - 0xa0]
push 0x4104ec
push eax
call fcn.00408750
push dword [esi + 0x411a04]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408750
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040e2c6
add esp, 0x2c
pop edi
jmp 0x40b951
lea eax, [ebp + 8]
lea esi, [esi + 0x411a04]
push 0
push eax
push dword [esi]
call fcn.00408910
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 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x407ef8
nop
mov ecx, 0x15e614c7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x14bf5025
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401a10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449b1d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x88
mov eax, dword [0x45f580]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x14]
push eax
call fcn.00407760
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x401a8a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004282d8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.0040e150
push eax
mov dword [ebp - 0x78], 0x5a5370ea
mov dword [ebp - 0x74], 0x466f772c
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x78], 0x2209acc0
mov dword [ebp - 0x74], 0x458fcd97
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x78], 0x283c02af
mov dword [ebp - 0x74], 0x466f575e
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x78], 0x2209acc0
mov dword [ebp - 0x74], 0x458fcd97
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x74]
movaps xmm1, xmmword [ebp - 0x30]
push eax
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x70]
xorps xmm1, xmmword [ebp - 0x90]
push eax
mov dword [ebp - 4], 0
movaps xmmword [ebp - 0x30], xmm1
call fcn.00401850
add esp, 0x14
lea ecx, [ebp - 0x58]
call fcn.00404b90
mov dword [ebp - 0x78], 0x474e70ea
mov dword [ebp - 0x74], 0x466f572c
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x78], 0x2209acc0
mov dword [ebp - 0x74], 0x458fcd97
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x78], 0x283c02af
mov dword [ebp - 0x74], 0x466f575e
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x2209acc0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x74], 0x458fcd97
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x88], eax
xorps xmm1, xmmword [ebp - 0x90]
movaps xmmword [ebp - 0x40], xmm1
call fcn.0040a7b0
push 0x10
lea ecx, [ebp - 0x40]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0042d525
int3
Function at 0x40bed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a76d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x45f580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0042803b
mov edi, eax
add esp, 4
test edi, edi
je 0x40bf6d
push 1
mov dword [ebp - 4], 0
call fcn.00425b45
add esp, 4
mov dword [edi + 4], eax
jmp 0x40bf6f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00403280
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x40bfca
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x40bfca
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x40bfe6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x40c009
cmp byte [ebp + 0xc], 0
je 0x40bff5
push esi
call fcn.00426336
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x40c015
mov esi, str.ios_base::badbit_set
jmp 0x40c025
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0040c470
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00404500
push 0x45be38
lea eax, [ebp - 0x28]
push eax
call fcn.0042933d
int3
Function at 0x41b5a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x45f580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x90]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x94], ebx
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
call fcn.00423780
lea ecx, [ebp - 0x90]
call fcn.0041beb0
movups xmm0, xmmword [ebp - 0x38]
xor esi, esi
lea edi, [ebp - 0x28]
movups xmmword [ebp - 0xa8], xmm0
movzx eax, byte [ebp + esi - 0xa8]
push eax
push str._02X
push edi
call fcn.00425210
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x41b622
xorps xmm0, xmm0
mov byte [ebp - 8], 0
movups xmmword [ebx], xmm0
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b660
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
mov ecx, ebx
call fcn.00401d00
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004282d8
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
jbe 0x41be8e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41be9e
xor al, al
pop ebp
ret
shr eax, 4
not al
and al, 1
pop ebp
ret
Function at 0x41d770
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x45f580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x460e98]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24c], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x460930]
cmp eax, dword [ecx + 4]
jg 0x41d937
cmp dword [0x45f4b0], 0
jne 0x41d91a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.0041e550
test al, al
jne 0x41d829
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.00404050
mov esi, eax
add esp, 0xc
cmp esi, 0x45f4a0
je 0x41d911
mov ecx, dword [0x45f4b4]
cmp ecx, 0xf
jbe 0x41d8ce
mov edx, dword [0x45f4a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d8c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d96d
jmp 0x41d8c4
push edi
push 0
push 2
mov dword [ebp - 0x24c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov edi, eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.00429d90
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41d897
cmp dword [ebp - 0x240], esi
je 0x41d88b
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41d870
jmp 0x41d897
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
push str._05d__05d
push eax
call fcn.00404050
add esp, 0x10
mov esi, eax
cmp esi, 0x45f4a0
pop edi
jmp 0x41d7e6
push ecx
push edx
call fcn.0042806b
add esp, 8
mov dword [0x45f4b0], 0
mov dword [0x45f4b4], 0xf
mov byte [0x45f4a0], 0
movups xmm0, xmmword [esi]
movups xmmword [0x45f4a0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x45f4b0], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x1c]
call fcn.00404b90
pop esi
push 0x45f4a0
mov ecx, ebx
call fcn.00403ce0
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004282d8
mov esp, ebp
pop ebp
ret
push 0x460930
call fcn.0042855f
add esp, 4
cmp dword [0x460930], 0xffffffff
jne 0x41d7ad
push 0x44bf50
call fcn.004282c3
push 0x460930
call fcn.0042850e
add esp, 8
jmp 0x41d7ad
call fcn.0042cfff
int3