joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100114b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, edx
mov edx, dword [0x1003a830]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x100114d9
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x100114d0
sub esi, ecx
test edx, edx
je 0x100114e3
inc dword [edx + 0x370]
lea eax, [esi + 1]
push ebx
push eax
call dword [0x10032234]
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
call fcn.10031640
mov esi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x10
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 8], edx
mov ecx, esi
cmp esi, ebx
jae 0x10011672
nop dword [eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x100116a0
cmp al, 0xd
je 0x100116a0
mov esi, ecx
cmp ecx, ebx
jae 0x10011547
mov al, byte [esi]
cmp al, 0xa
je 0x10011547
cmp al, 0xd
je 0x10011547
inc esi
cmp esi, ebx
jb 0x10011538
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x10011664
cmp al, 0x5b
jne 0x1001164b
cmp esi, ecx
jbe 0x1001164b
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x10011648
lea edi, [ecx + 1]
mov byte [ebx], 0
mov eax, ebx
sub eax, edi
push eax
push 0x5d
push edi
call fcn.10031840
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
je 0x100115b3
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call fcn.10031840
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x100115b3
mov eax, dword [ebp - 8]
lea edx, [ecx + 1]
mov dword [ebp - 8], edx
mov byte [eax], 0
jmp 0x100115bb
mov dword [ebp - 8], edi
mov edi, str.Window
mov cl, byte [edi]
or eax, 0xffffffff
mov ebx, dword [0x1003a830]
inc edi
test cl, cl
je 0x100115fe
or ebx, 0xffffffff
nop
cmp cl, 0x23
jne 0x100115df
cmp byte [edi], cl
jne 0x100115df
cmp byte [edi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x10032708]
test cl, cl
jne 0x100115d0
mov ebx, dword [0x1003a830]
mov edx, dword [ebx + 0x2cf4]
xor ecx, ecx
not eax
test edx, edx
jle 0x1001161f
mov edi, dword [ebx + 0x2cfc]
cmp dword [edi + 4], eax
je 0x1001162b
inc ecx
add edi, 0x18
cmp ecx, edx
jl 0x10011612
xor edi, edi
mov ebx, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10011664
test edi, edi
je 0x10011621
push dword [ebp - 8]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 0xc]
call eax
mov ebx, dword [ebp - 4]
mov edx, eax
add esp, 0xc
mov dword [ebp - 8], edx
jmp 0x10011664
mov ebx, dword [ebp - 4]
test edi, edi
je 0x10011664
test edx, edx
je 0x10011664
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 8]
add esp, 0x10
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x10011520
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x10011686
mov eax, dword [0x1003a830]
test eax, eax
je 0x10011686
dec dword [eax + 0x370]
push esi
call dword [0x1003223c]
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
mov byte [eax + 0x2ce0], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x10011520
Function at 0x1002ed80
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1002f170
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1003a7fc], 0
jne 0x1002edbd
cmp dword [0x1003a7f8], 0
je 0x1002edbd
mov eax, dword [0x1003a7f8]
mov dword [0x1003a7fc], eax
cmp dword [0x1003a7fc], 0
je 0x1002ee3a
mov ecx, dword [0x1003a7fc]
cmp dword [ecx + 8], 0
je 0x1002ee3a
mov edx, dword [0x1003a7fc]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1002ee3a
mov ecx, dword [0x1003a7fc]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1002ee3a
mov eax, dword [0x1003a7fc]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1002ee09
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1002ee10
xor eax, eax
jmp 0x1002ef59
mov ecx, dword [0x1003a7fc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.1003162e
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1002ef59
mov edx, dword [0x1003a7f8]
mov dword [0x1003a7fc], edx
jmp 0x1002ee56
mov eax, dword [0x1003a7fc]
mov ecx, dword [eax + 4]
mov dword [0x1003a7fc], ecx
cmp dword [0x1003a7fc], 0
je 0x1002ee96
cmp dword [0x1003a7fc], 0
je 0x1002ee94
mov edx, dword [0x1003a7fc]
cmp dword [edx + 8], 0
je 0x1002ee94
mov eax, dword [0x1003a7fc]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1002ee94
mov edx, dword [0x1003a7fc]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1002ee94
jmp 0x1002edee
jmp 0x1002ee48
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1002ef60
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1002ef57
mov eax, dword [ebp - 0x18]
mov dword [0x1003a7fc], eax
mov ecx, dword [0x1003a7fc]
mov dword [ecx], 0x52727464
mov edx, dword [0x1003a7fc]
mov dword [edx + 8], 0
mov eax, dword [0x1003a7fc]
mov ecx, dword [0x1003a7f8]
mov dword [eax + 4], ecx
mov edx, dword [0x1003a7fc]
mov dword [0x1003a7f8], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1003a7fc]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1002ef27
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1002ef47
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1002ef1e
mov eax, dword [0x1003a7fc]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1002edee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1002945
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100c020]
cmp eax, 0xffffffff
je 0x1002a07
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
mov esi, 0x314
push esi
push 0x100cbc0
push dword [0x100c020]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10029fb
cmp dword [ebp - 4], esi
jne 0x10029fb
cmp dword [0x100cbc0], 0x6e776453
jne 0x10029fb
test dword [0x100cbc8], 0x80000000
jne 0x1002a05
or dword [0x100cbc8], 0x40000000
push 0x100cdd0
push 0x100220c
push 0x103
push 0x100d000
mov byte [0x100cdcf], bl
mov byte [0x100ced3], bl
call dword [sym.imp.msvcrt.dll__snprintf]
add esp, 0x10
cmp dword [0x100cbc4], 0x10000
jne 0x1002a05
test dword [0x100cbc8], 0x3fffffec
jne 0x1002a05
and dword [0x100cbc8], 0xbfffffff
jmp 0x1002a05
or dword [0x100cbc8], 0x80000000
pop esi
pop ebx
leave
ret

Function at 0x1002eb5
Capabilities:
Check if file exists
Delete directory
Delete file
Move file

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0x100d360
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x100c7a4]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1002ede
push eax
call esi
and dword [0x100c7a4], 0
mov eax, dword [0x100c020]
cmp eax, 0xffffffff
je 0x1002ef2
push eax
call esi
or dword [0x100c020], 0xffffffff
mov esi, dword [0x100c004]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edi, 0x100c004
jmp 0x1002f36
mov eax, dword [esi + 4]
test eax, eax
je 0x1002f34
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1002f30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1002f30
cmp eax, 3
je 0x1002f30
push 4
push 0
push dword [esi + 4]
call ebx
and dword [esi + 4], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1002f05
mov esi, dword [0x100c00c]
mov edi, 0x100c00c
jmp 0x1002f78
mov eax, dword [esi + 4]
test eax, eax
je 0x1002f76
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1002f72
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1002f72
cmp eax, 3
je 0x1002f72
push 4
push 0
push dword [esi + 4]
call ebx
and dword [esi + 4], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1002f47
push 0x100d360
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret

Function at 0x10032a7
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
je 0x10032d5
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x100c7c0]
dec edx
inc ecx
test edx, edx
jne 0x10032bb
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10036b3
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [0x100d344]
xor ebx, ebx
cmp eax, ebx
je 0x100372d
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10036e1
push ebx
lea ecx, [ebp - 4]
push ecx
sub eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push dword [ebp + 8]
push dword [0x100d344]
call esi
test eax, eax
je 0x1003730
mov ecx, 0x1002370
mov eax, ecx
push edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1003710
push ebx
lea edx, [ebp - 4]
push edx
sub eax, edi
push eax
push ecx
push dword [0x100d344]
call esi
test eax, eax
pop edi
je 0x1003730
xor ebx, ebx
inc ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x1003a66
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
push esi
push 0x100245c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x1003b38
push ebx
mov ebx, 0x100d5c0
push ebx
push 0x100244c
push 0x100d380
call fcn.01002d05
push esi
push 0x4000002

Function at 0x1003e9a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
call 0xea5dc6f0
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
rol esi, cl
inc ebp
stc
Function at 0x1003ec2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.01003b3f
push eax
push esi
push dword [ebp + 8]
call fcn.01003af4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.01003b3f
push eax
push esi
push dword [ebp + 8]
call fcn.01003af4
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.01003b3f
push eax
push esi
push dword [ebp + 8]
call fcn.01003af4
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.01003b2f
neg dword [edx - 0x62773a72]
jl 0x1003fb4
invalid
invalid

Function at 0x1006da0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1006db3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1006daf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x1006de0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1006e1f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1006e15
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1006e21
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1006e05
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100834d
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 2
test eax, eax
jle 0x100838c
push esi
movzx esi, byte [ecx]
xor ebx, ebx
dec eax
inc ecx
mov bh, byte [ecx]
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or esi, ebx
inc ecx
xor edx, esi
test eax, eax
jg 0x1008367
pop esi
and edi, 3
xor eax, eax
dec edi
je 0x10083a8
dec edi
je 0x10083a1
dec edi
jne 0x10083ad
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
xor eax, edx
pop ebx
pop ebp
ret 0xc
Function at 0x401000
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00418b10
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push esi
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x2004]
push 0x2000
push edx
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00417cae
mov esp, ebp
pop ebp
ret

Function at 0x4014b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp + 0xc]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push edx
push eax
push ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x401503
cmp eax, 0x3e5
je 0x401503
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x401543
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x401521
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 4], 0
jmp 0x40154a
push 1
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x40154a
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x401555
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x1000
push 0x421b30
push ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4015b5
cmp eax, 0x3e5
je 0x4015b5
mov edx, dword [ebp + 8]
mov dword [edx], eax
jmp 0x4015f9
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4015d7
mov eax, dword [ebp + 8]
mov dword [eax], 0x102
mov dword [ebp - 4], 0
jmp 0x401600
push 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x18]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x401600
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x40160b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0x206
mov dword [ebp - 0xc], 1
test edi, edi
je 0x402786
test esi, esi
je 0x402786
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push 0x41b44c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402786
lea ecx, [ebp - 4]
push ecx
push esi
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 8]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402786
mov eax, dword [ebp - 4]
shr eax, 1
cmp word [esi + eax*2], 0
je 0x40278c
xor ecx, ecx
mov word [esi + eax*2], cx
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4027a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
test esi, esi
je 0x4027fb
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push 0x41b44c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4027fb
lea ecx, [ebp - 8]
push ecx
push esi
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.JHI_LOG
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x402801
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x402e80
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419810
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ebp - 0x48]
mov esi, ecx
call fcn.004034f0
mov ecx, esi
lea edi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00403660
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x402ed9
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll__wremove]
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x18], edi
jae 0x402eee
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x402ef9
lea eax, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll__wrename]
add esp, 8
test eax, eax
je 0x402f42
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], edi
jb 0x402f1c
mov eax, dword [ebp - 0x2c]
push eax
call esi
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x402f3e
mov edx, dword [ebp - 0x48]
push edx
call esi
add esp, 4
xor al, al
jmp 0x402f9f
mov eax, dword [ebx + 0x18]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, esi
mov ecx, ebx
call fcn.00403840
mov dword [eax], 2
mov ecx, dword [ebx + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], edi
jb 0x402f7b
mov edx, dword [ebp - 0x2c]
push edx
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x402f9d
mov ecx, dword [ebp - 0x48]
push ecx
call esi
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00417cae
mov esp, ebp
pop ebp
ret

Function at 0x408c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebx
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00408766
adc byte [eax], bh
scasd eax, dword es:[edi]
add eax, 0xff7c858d
invalid