joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6962c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xf40000
lea edi, [esi - 0x23f000]
push edi
jmp 0x6962da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6962e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6962d0
mov eax, 1
add ebx, ebx
jne 0x6962f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x696304
jne 0x696323
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x696323
dec eax
add ebx, ebx
jne 0x696310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6962e8
add ebx, ebx
jne 0x69631f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x696375
xor ecx, ecx
sub eax, 3
jb 0x69633b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6963aa
sar eax, 1
mov ebp, eax
jmp 0x696346
add ebx, ebx
jne 0x696346
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x696314
inc ecx
add ebx, ebx
jne 0x696354
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x696314
add ebx, ebx
jne 0x696361
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x696356
jne 0x696372
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x696356
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x696394
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x696386
jmp 0x6962d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x696394
add edi, ecx
jmp 0x6962d6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6963b2
cmp byte [edi], 0x11
jne 0x6963b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6963b7
lea edi, [esi + 0x28f000]
mov eax, dword [edi]
or eax, eax
je 0x69642f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x453728]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4538a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6963e4
mov ecx, edi
jns 0x696413
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 + 0x4538a8]
or eax, eax
je 0x696429
mov dword [ebx], eax
add ebx, 4
jmp 0x696401
call dword [esi + 0x4538b8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x696460
cmp al, 0xef
ja 0x696453
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x696435
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x696442
mov ebp, dword [esi + 0x4538ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x696494
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x56a70512
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x46d905a7
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x401c66
pop dword [ebp - 0x10]
mov eax, 0x2e623376
sub eax, 0x2e221710
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x7930961c
add dword [ebp - 0x20], 0xd521af2f
mov dword [ebp - 0x1c], 0x620eb5ad
add dword [ebp - 0x1c], 0xd0249698
mov dword [ebp - 0x18], 0xef5b2b6b
add dword [ebp - 0x18], 0x5cf118c3
mov dword [ebp - 0x14], 0xe8fd01c0
add dword [ebp - 0x14], 0x1702fe40
lea eax, [ebp - 0x20]
push eax
mov eax, 0x6a720f1b
sub eax, 0x6a31dec7
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x72facd4b
add dword [ebp - 0x20], 0x1779c0b
mov dword [ebp - 0x1c], 0xf8c55965
sub dword [ebp - 0x1c], 0xb758f7f0
mov dword [ebp - 0x18], 0x742cedb0
sub dword [ebp - 0x18], 0x10bd8144
mov dword [ebp - 0x14], 0xe76ecc20
sub dword [ebp - 0x14], 0xe76ecc20
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x37056
push 0
call eax
mov ecx, 0x309553b2
sub ecx, 0x30950989
xor edx, edx
add edx, eax
mov esi, 0xd261e515
sub esi, 0xd2217515
add esi, dword [ebp - 0x10]
mov ebx, 0xa94b0aca
add ebx, 0x832b05a1
xor dword [ebp - 4], ebx
mov edi, dword [esi]
xor dword [ebp - 8], 0x252c4927
sub edi, ebx
add dword [ebp - 0xc], 0xd8243a31
mov dword [edx], edi
sub dword [ebp - 4], eax
add edx, 0xe3d30f92
add edx, 0x1c2cf072
add esi, 0xe4d0a7ce
sub esi, 0xe4d0a7ca
loop 0x401d85
add eax, 0x11b77
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x63d4829d
sub ecx, 0x6394829d
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x401150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp - 0x114]
mov ebx, eax
sub esp, 0x124
mov dword [ebp - 0x110], 0x104
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x20119
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftCryptography
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
sub esp, 0x14
cmp eax, 5
je 0x401250
lea eax, [ebp - 0x110]
lea esi, [ebp - 0x10c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.MachineGuid
mov eax, dword [ebp - 0x114]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x114]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
je 0x401249
mov eax, dword [str.9d20fd8d05ed2b8455d125d0bf6d6a70]
mov byte [ebx + 0x20], 0x5f
add ebx, 0x21
mov dword [ebx - 0x21], eax
mov eax, dword [0x418844]
mov dword [ebx - 0x1d], eax
mov eax, dword [0x418848]
mov dword [ebx - 0x19], eax
mov eax, dword [0x41884c]
mov dword [ebx - 0x15], eax
mov eax, dword [0x418850]
mov dword [ebx - 0x11], eax
mov eax, dword [0x418854]
mov dword [ebx - 0xd], eax
mov eax, dword [0x418858]
mov dword [ebx - 9], eax
mov eax, dword [0x41885c]
mov dword [ebx - 5], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_strcpy
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 8], esi
mov dword [esp + 4], str.SoftwareMicrosoftCryptography
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
add dword [0x42b008], 1
sub esp, 0xc
jmp 0x4011a2
Function at 0x407220
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x7f0
mov dword [ebp - 0x7e4], ecx
mov dword [edx], 0
mov dword [ebp - 0x7e8], eax
xor eax, eax
lea esi, [esi]
mov byte [ebp + eax - 0x7dc], al
add eax, 1
cmp eax, 0x7d0
jne 0x407248
lea eax, [ebp - 0x7e0]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8001
mov eax, dword [0x42b014]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CryptCreateHash]
sub esp, 0x14
mov edi, eax
test eax, eax
je 0x40741d
call fcn.00412e10
mov dword [eax], 0x41605d
mov dword [eax + 4], 0x138
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str._08lx_n
mov dword [esp + 8], eax
call fcn.00401ac0
lea eax, [ebp - 0x7dc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x7d0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x7e0]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CryptHashData]
sub esp, 0x10
mov edi, eax
call fcn.00412e10
mov dword [eax], 0x41605d
mov dword [eax + 4], 0x13a
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str._08lx_n
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00401ac0
test edi, edi
jne 0x40732b
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x7e4]
shl eax, 0x10
or eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x7e0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x7e8]
mov dword [esp + 4], eax
mov eax, dword [0x42b014]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CryptDeriveKey]
sub esp, 0x14
mov ebx, eax
call fcn.00412e10
mov dword [eax], 0x41605d
mov dword [eax + 4], 0x13d
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str._08lx_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00401ac0
test ebx, ebx
je 0x407321
mov dword [ebp - 0x7e4], 0x7d0
lea eax, [ebp - 0x7e4]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x7dc]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 2
mov eax, dword [ebp - 0x7e0]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CryptGetHashParam]
sub esp, 0x14
mov ebx, eax
call fcn.00412e10
mov dword [eax], 0x41605d
mov dword [eax + 4], 0x141
mov eax, dword [esi + 0x34]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str._08lx_n
call fcn.00401ac0
mov eax, dword [ebp - 0x7e0]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CryptDestroyHash]
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00412e10
mov dword [eax], 0x41605d
mov dword [eax + 4], 0x135
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov dword [esp + 4], str._08lx_n
mov dword [esp + 8], edx
cmp dword [eax + 0x34], 0x80090008
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00401ac0
jmp 0x407321
Function at 0x413ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00413b80
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jle 0x40103a
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [edi + ebx]
mov ecx, esi
shr ecx, 8
xor cl, al
add eax, esi
imul esi, eax, 0xce6d
mov byte [edx], cl
add esi, 0x58bf
inc edx
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x401016
pop esi
pop ebx
sub edx, dword [ebp + 0x14]
mov eax, edx
pop edi
pop ebp
ret

Function at 0x4042c2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push edi
mov edi, dword [ebp + 0x98]
mov edx, 0x953de599
push 0x4ee5d0
push 0x76c721b2
mov ecx, 0x84eb379e
call fcn.004010f9
pop ecx
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40437c
push esi
lea eax, [ebp - 0x80]
mov dword [ebp - 0x78], 1
push eax
push edi
lea eax, [ebp - 0x78]
mov dword [ebp - 0x80], 0x10
push eax
push 0
push 0x44dad381
mov edx, 0xa72017a3
mov ecx, 0xb6f6c59e
call fcn.004010f9
pop ecx
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x7c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x404377
cmp dword [ebp - 0x78], 1
je 0x40437c
xor eax, eax
mov word [edi], ax
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop edi
call fcn.004b94b6
lea esp, [ebp + 0x90]
pop ebp
ret

Function at 0x404392
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
mov esi, dword [ebp + 0x90]
mov edx, 0xd9a1d270
push 0x4ee5d0
push 0x3a5b165b
mov ecx, 0xc8770059
call fcn.004010f9
pop ecx
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x404464
test esi, esi
je 0x40443c
mov ecx, esi
push edi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4043ff
sub ecx, edx
mov edx, 0x3f1521c6
sar ecx, 1
lea eax, [ecx*2 + 2]
mov ecx, 0x2ec3f381
push eax
push esi
push 1
push edi
push 0xdcefe5e4
call fcn.004010f9
pop ecx
push eax
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
jmp 0x40445b
push 0xa771a97
mov edx, 0xe98ddeb5
mov ecx, 0xf85b0cc6
call fcn.004010f9
pop ecx
push eax
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
pop esi
call fcn.004b94b6
lea esp, [ebp + 0x88]
pop ebp
ret
Function at 0x4048dd
Capabilities:
Enumerate files on windows
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x488], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x5000
mov dword [esp + 0x1c], eax
xor ebx, ebx
call fcn.00404d58
mov esi, eax
pop ecx
test esi, esi
je 0x404ae6
lea ecx, [esp + 0x288]
call fcn.0040d960
push 0x6ec999a2
mov edx, 0x8d335d83
mov ecx, 0x9ce58f70
mov edi, eax
call fcn.004010f9
pop ecx
mov ecx, eax
mov edx, edi
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x404941
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x404a99
lea eax, [esp + 0x4c]
sub edi, eax
mov dword [esp + 0x270], edi
lea ecx, [esp + 0x4c]
movzx eax, word [ecx]
mov word [edi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x404981
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
je 0x404a77
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x404a70
test eax, eax
je 0x404a70
cmp eax, 0x5000
jbe 0x4049f0
push 2
push 0
push 0xffffb000
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x5000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404a70
cmp dword [esp + 0x14], 0
jbe 0x404a70
xor ecx, ecx
mov word [esp + 0x278], 0x6f6c
xor eax, eax
mov byte [esp + 0x280], cl
mov byte [esp + 0x27a], 0x67
lea edi, [esp + 0x281]
mov dword [esp + 0x27c], 0x7478742e
stosd dword es:[edi], eax
push ecx
push ecx
push dword [esp + 0x1c]
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
mov al, byte [esp + 0x5c]
mov byte [esp + 0x28b], al
lea eax, [esp + 0x288]
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xa4]
call fcn.0041e6a9
mov edi, dword [esp + 0x1c]
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [esp + 0x270]
test eax, eax
jne 0x40497d
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, esi
call fcn.004044ea
test eax, eax
je 0x404adf
xor ecx, ecx
mov dword [esp + 0x270], 0x2e676572
push ecx
push ecx
push eax
push esi
lea eax, [esp + 0x280]
mov dword [esp + 0x284], 0x696e69
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xa4]
call fcn.0041e6a9
inc ebx
push esi
call fcn.00404d44
pop ecx
mov ecx, dword [esp + 0x494]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b94b6
mov esp, ebp
pop ebp
ret
Function at 0x404bf4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xorps xmm0, xmm0
lea ecx, [ebp - 4]
xor edx, edx
movlpd qword [ebp - 0x14], xmm0
call fcn.0040d8e5
cmp eax, 1
jne 0x404c55
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0xb
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 8
push eax
lea eax, [ebp - 0xc]
mov edx, 0x6d544f96
push eax
push 0
push 0xf8e3036
mov ecx, 0x53f22e0e
call fcn.00401557
pop ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4076e5
Capabilities:
Terminate thread

Disassembly:
push dword [0x529b48]
mov dword [0x529a74], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [0x529bd8]
test ecx, ecx
je 0x40770a
call fcn.00407b27
push 0x2710
push dword [0x529b44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407730
push 0
push dword [0x529b44]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x529b44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov ecx, fcn.00407cac
jmp fcn.00407d45

Function at 0x407ae1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x407ac5
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x407b1f
push eax
call edi
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
call edi
pop edi
pop esi
pop ecx
ret
Function at 0x407e4c
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x72c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x728], eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov edi, edx
push 0x35
push ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 0x7f01
mov esi, eax
call fcn.00407ddc
push eax
push 1
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov eax, 0x3e8
push eax
push eax
push ebp
call dword [sym.imp.USER32.dll_SetTimer]
push 0x3c
push 0xffffffffffffffeb
push ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov al, byte [edi + 0x6a]
mov ecx, edi
mov esi, dword [edi + 0x74]
mov byte [esp + 0x13], al
call fcn.004251e6
mov ebx, eax
cmp esi, 0x20
je 0x408025
cmp esi, 0x1a
je 0x408025
cmp esi, 0x21
jne 0x407f28
mov ecx, dword [0x529a90]
lea eax, [esp + 0x20]
mov esi, 0x104
push esi
push eax
push 0x1b
call fcn.00420e3f
test eax, eax
jne 0x407f10
movzx edx, word [0x51e8f0]
lea eax, [esp + 0x20]
push esi
push eax
xor edx, 0x2525
mov ecx, 0x51e8f2
call fcn.00412531
pop ecx
pop ecx
mov ecx, dword [0x529a98]
lea eax, [esp + 0x228]
push eax
call fcn.0040dbe1
jmp 0x408075
push 0
push 4
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x529a90]
mov eax, ebx
shr eax, 0x14
and ebx, 0xfffff
mov dword [esp + 0x14], eax
mov esi, 0x104
movzx eax, bl
mov edi, ebx
mov dword [esp + 0x1c], eax
mov ebp, ebx
push esi
lea eax, [esp + 0x24]
shr edi, 0x10
push eax
shr ebp, 8
and edi, 0xf
push 0x1c
and ebp, 0xff
call fcn.00420e3f
test eax, eax
jne 0x407f9e
movzx edx, word [0x51e91e]
lea eax, [esp + 0x20]
push esi
push eax
xor edx, 0x2525
mov ecx, 0x51e920
call fcn.00412531
pop ecx
pop ecx
push dword [esp + 0x14]
mov edx, 0x95d2cce3
mov ecx, 0x158187ef
push 0x22f9b039
call fcn.00401282
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
pop ecx
push eax
lea eax, [esp + 0x230]
push eax
call esi
add esp, 0xc
lea eax, [esp + eax*2 + 0x228]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x407fff
push dword [esp + 0x1c]
mov edx, 0x85504855
mov ecx, 0x5030351
push ebp
push edi
push 0x327b3482
call fcn.00401282
pop ecx
push eax
push dword [esp + 0x24]
call esi
add esp, 0x14
lea eax, [esp + 0x228]
push eax
movzx eax, byte [esp + 0x17]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x43c]
push eax
call esi
mov ebp, dword [esp + 0x28]
add esp, 0x10
jmp 0x408093
mov ecx, dword [0x529a90]
lea eax, [esp + 0x20]
mov esi, 0x104
push esi
push eax
push 0x1a
call fcn.00420e3f
test eax, eax
jne 0x408060
movzx edx, word [0x51e8b0]
lea eax, [esp + 0x20]
push esi
push eax
xor edx, 0x2525
mov ecx, 0x51e8b2
call fcn.00412531
pop ecx
pop ecx
mov ecx, dword [0x529a98]
lea eax, [esp + 0x228]
push 0
push eax
call fcn.0040da29
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x438]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x430]
push eax
push 0x32
push ebp
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [esp + 0x738]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x72c
ret