joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434dac]
jne 0x405a13
repz ret
jmp fcn.00408ffc

Function at 0x40882c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402b62
and dword [ebp - 4], 0
cmp dword [0x43965c], 0
mov ebx, eax
jne 0x4088dd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40898e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40898e
push eax
call fcn.00402af0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43965c], eax
call esi
push eax
call fcn.00402af0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x439660], eax
call esi
push eax
call fcn.00402af0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x439664], eax
call esi
push eax
call fcn.00402af0
pop ecx
mov dword [0x43966c], eax
test eax, eax
je 0x4088dd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402af0
pop ecx
mov dword [0x439668], eax
mov eax, dword [0x439668]
cmp eax, ebx
je 0x408935
cmp dword [0x43966c], ebx
je 0x408935
push eax
call fcn.00402b6b
push dword [0x43966c]
mov esi, eax
call fcn.00402b6b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408935
test edi, edi
je 0x408935
call esi
test eax, eax
je 0x40892c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40892c
test byte [ebp - 0xc], 1
jne 0x408935
or dword [ebp + 0x10], 0x200000
jmp 0x40896e
mov eax, dword [0x439660]
cmp eax, ebx
je 0x40896e
push eax
call fcn.00402b6b
pop ecx
test eax, eax
je 0x40896e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40896e
mov eax, dword [0x439664]
cmp eax, ebx
je 0x40896e
push eax
call fcn.00402b6b
pop ecx
test eax, eax
je 0x40896e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43965c]
call fcn.00402b6b
pop ecx
test eax, eax
je 0x40898e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408990
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4012f7
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4012fd
lea eax, [esp]
push eax
call sub.KERNEL32.dll_GetNativeSystemInfo
lea ebp, [esp]
cmp word [ebp], 0
je 0x401329
mov eax, 1
movzx eax, al
jmp 0x401332
xor eax, eax
movzx eax, al
jmp 0x401332
add esp, 0x24
pop ebp
ret

Function at 0x4023c6
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x40241b
push dword [esp + 0x10]
push 0x402345
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x4057a4]
test esi, esi
je 0x402474
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x402413
cmp byte [esi + 0x10], 0
je 0x402413
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x4023ef
jmp 0x402474
mov esi, dword [0x4057a4]
test esi, esi
je 0x402474
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x40246d
cmp byte [esi + 0x11], 0
je 0x402449
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x402460
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x4057a4
call fcn.0040313f
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x402428
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x402e63
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x402fab
xor ecx, ecx
cmp word [eax], cx
je 0x402fab
push 0x104
push eax
lea eax, [esp + 0x10]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push eax
call sub.MSVCRT.dll_wcslen
add esp, 0x10
lea ecx, [esp + eax*2 + 6]
cmp eax, 2
je 0x402ebc
cmp eax, 3
jne 0x402ef6
cmp word [esp + 0xa], 0x3a
jne 0x402ef6
cmp eax, 2
jne 0x402eda
lea eax, [esp + 8]
push 0x40402c
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x402fab
push 0xfffffffffffffffe
pop edi
jmp 0x402fab
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x402f0b
cmp ax, bx
jne 0x402f15
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x402efe
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x402f54
test byte [esp + 0x21c], 0x10
je 0x402f3b
push 0xfffffffffffffffe
pop edi
jmp 0x402f4b
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x402fa9
cmp word [esp + 0x10], bp
jne 0x402f62
cmp word [esp + 0x12], bp
je 0x402f81
cmp word [esp + 0x10], bx
jne 0x402f70
cmp word [esp + 0x12], bx
je 0x402f81
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x402fa9
cmp word [esp + 0x12], ax
jne 0x402fa9
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x402f96
test al, 0x10
je 0x402fa9
jmp 0x402fa6
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x402fa9
push 0xfffffffffffffffe
pop edi
pop ebp
pop ebx
mov eax, edi
mov edx, esi
pop edi
pop esi
add esp, 0x45c
ret 4
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4c8d251e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
cmp eax, 0
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4f451837
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x406510
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov eax, 0x1fffffff
bsr ecx, eax
push ebx
push ebp
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jbe 0x40653b
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x8a949c]
or eax, 1
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x8a94a4
lea eax, [edi + edi]
push eax
call fcn.00406130
mov eax, dword [0x8a949c]
lea ebx, [edi - 1]
mov dword [0x8a94b0], ebx
mov dword [0x8a94b4], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x40666a
nop
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x8a94a4]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea ebp, [edx + edi*8]
mov dword [esp + 0x1c], ebp
cmp ebx, esi
jne 0x4065d4
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x40663d
mov edx, dword [ebp + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x40660e
mov edx, dword [edx]
mov dword [esp + 0x14], edx
cmp edx, eax
je 0x406609
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x14]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x40663d
cmp ebx, edx
je 0x40661e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x40664e
cmp ebx, edx
jne 0x406612
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x40666a
mov ebx, dword [0x8a94b0]
jmp 0x406580
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x40663d
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x44b510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movsx eax, byte [ebp + 0xc]
and eax, 1
mov dword [ebp - 0x18], eax
movsx ecx, byte [ebp + 0x10]
push ecx
call fcn.0044b0f0
add esp, 4
mov dword [ebp - 0x14], eax
movzx edx, byte [ebp + 0xc]
and edx, 0xf
mov byte [ebp - 1], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x44b54e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 3
ja 0x44b5c2
movsx edx, byte [ebp + 0x10]
mov ecx, dword [ebp - 8]
sar edx, cl
and edx, 1
cmp edx, dword [ebp - 0x18]
jne 0x44b56e
mov dword [ebp - 0xc], 1
jmp 0x44b575
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
jne 0x44b584
mov dword [ebp - 0x10], 0
jmp 0x44b58b
mov dword [ebp - 0x10], 1
mov al, byte [ebp - 0x10]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x44b5ac
movzx edx, byte [ebp - 1]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044b3f0
add esp, 8
jmp 0x44b5c0
movzx ecx, byte [ebp - 1]
xor ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044b3f0
add esp, 8
jmp 0x44b545
movzx eax, byte [ebp - 1]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044b3f0
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x5283ee
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x52842d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x52842d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x52842d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x52842d
cmp dword [ecx + 0x74], 0xe
jbe 0x52842d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x269d596a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x7a4a04cf
nop
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x8e1f18
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e1f1e
pop ebp
sub ebp, 6
sub ebp, 0x4e1f18
jmp 0x8e1f7c
cmp al, 0xb2
movsd dword es:[edi], dword [esi]
inc esi
pop ebp
loopne 0x8e1f54
sbb byte [eax], ch
jg 0x8e1f74
in al, dx
jbe 0x8e1f1e
leave
mov al, 0x7a
or eax, dword [ecx]
add byte [eax], al
add byte [edx + 0x6b], dh
sub ah, byte [edx + 0x200f4e81]
fist dword [ebp + 0x6a56d85a]
mov ebx, dword [esi + 0x486ebe51]
fisub word [edx]
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
or al, 0x3a
aam 0x45
mov dword [0x7e8877e2], eax
invalid
jmp 0x8e1f85
mov eax, 0x4e1f18
add eax, ebp
add eax, 0x93
mov ecx, 0x625
mov edx, 0xadf5374a
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e1f9c
jmp 0x8e1faf
and byte [edx], cl
and cl, byte [edx + 0x5a]
dec edx
dec edx
and cl, byte [edx - 0x7a]
dec dx
jns 0x8e1f47
sbb dh, byte [ebp + 0xe2b76df]
dec edx
sbb al, cl
xchg ecx, eax
ret
Function at 0x40209a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
lea edx, [eax - 1]
mov ebx, eax
and edx, dword [0x403050]
mov eax, 0x403054
call fcn.00401fb9
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402c2f
push edx
sub edi, fcn.004023d9
push edi
xor eax, eax
push fcn.004023d9
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x402105
mov eax, fcn.004023d9
mov ebx, esi
mov edx, edi
call fcn.00401fb9
mov edx, 0x1c000
mov eax, 0x403054
mov ebx, esi
call fcn.00401828
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
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 + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa
Function at 0x40729c
Capabilities:
Get graphical window text

Disassembly:
push 0
push 0
push 0x87
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xd
and eax, 1
ret

Function at 0x408acf
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, eax
push edi
test esi, esi
je 0x408ae0
lea edi, [esi - 0xc0]
jmp 0x408ae2
xor edi, edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 4]
call ebx
call fcn.004081d4
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
call fcn.004082af
push 5
push dword [edi + 4]
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x408f89
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x1c
mov eax, 0x49aa99
call fcn.00486f5e
xor ebx, ebx
cmp esi, ebx
je 0x408fa6
lea eax, [esi - 0xc0]
mov dword [ebp - 0x18], eax
jmp 0x408fa9
mov dword [ebp - 0x18], ebx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
test al, al
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jne 0x409097
xor edi, edi
inc edi
push 0x17
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x408fd7
mov dword [ebp - 0x14], 2
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
seta al
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
cmp byte [esi + 0x14], bl
je 0x408ffc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], 8
jne 0x409010
xor ecx, ecx
cmp al, bl
setne cl
inc ecx
inc ecx
mov dword [ebp - 0x10], ecx
jmp 0x409022
cmp dword [ebp + 8], 0x14
jne 0x409027
xor ecx, ecx
cmp al, bl
setne cl
inc ecx
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x10]
push ebx
push edi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x14]
push 2
push edi
call dword [eax + 0x18]
cmp dword [ebp + 8], 8
je 0x409064
cmp dword [ebp + 8], 0x14
jne 0x409085
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], 0x12
call dword [sym.imp.USER32.dll_TrackMouseEvent]
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x409097
push edi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
call fcn.00487036
ret 8
Function at 0x40c208
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x58
mov eax, 0x4a63ac
call fcn.00486fc7
lea eax, [ebp - 0x2c]
push eax
call fcn.0043fd90
pop ecx
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x64]
push ecx
mov edx, eax
call fcn.00436be0
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
push 0x4b280c
push eax
call fcn.0040ce93
add esp, 0x10
mov byte [ebp - 4], 2
push eax
lea ebx, [ebp - 0x2c]
call fcn.0040c427
mov byte [ebp - 4], 1
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00403ecf
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00403ecf
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40c281
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c2b9
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40c298
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40c2b9
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
call fcn.0040c1a7
mov al, bl
call fcn.0048704a
ret
lea eax, [ebp - 0x2c]
push eax
mov ebx, 0x4da728
call fcn.0043ed90
mov bl, 1
jmp 0x40c2a4

Function at 0x40cc0c
Capabilities:
Hash data using fnv

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x40cc17
mov ecx, dword [eax + 4]
jmp 0x40cc1a
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
push esi
mov eax, 0x811c9dc5
lea edx, [ecx + edx*2]
jmp 0x40cc35
movzx esi, word [ecx]
imul eax, eax, 0x1000193
xor eax, esi
inc ecx
inc ecx
cmp ecx, edx
jne 0x40cc28
mov esi, SysReAllocString
and eax, esi
push 0x1f31d
push eax
call fcn.00482fde
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
pop ecx
sub edx, eax
pop ecx
mov eax, edx
jns 0x40cc61
add eax, esi
pop esi
ret

Function at 0x411ab5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x411acc
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x411b01
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x411afd
cmp edi, eax
jae 0x411b01
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x411aef
cmp edi, eax
jb 0x411b05
xor eax, eax
jmp 0x411b0e
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x41ade1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x41ae2b
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x41ae52
shr eax, 2
test al, 1
je 0x41ae5b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41ae8e
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x4b38ec
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x41ae8d
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret