joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468bd5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x468ced
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x468ced
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047fd30
mov esi, eax
test esi, esi
je 0x468ced
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x468ced
mov ecx, esi
call fcn.00468b60
cmp edi, eax
jge 0x468ced
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x468c73
mov dword [esp + 0x34], 1
jmp 0x468cce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x468ced
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004680f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4806d4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48070c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047e78b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047e763
jmp 0x480718
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x481dcb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x481e0d
call fcn.0048787e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x481e0d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x481e04
xor eax, eax
jmp 0x481e15
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00481e1b
pop edi
pop esi
pop ebx
ret 4
Function at 0x487dae
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x487ddc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x487dfa
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00487d14
jmp 0x487dfa
mov eax, dword [esi + 0x14]
test eax, eax
je 0x487dfa
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00487d14
test edi, edi
mov eax, edi
jne 0x487de4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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
mov ebx, 0x407ef8
nop
mov ecx, 0x289c468e
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x4b006751
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x57d7e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x120000]
push edi
jmp 0x57d7fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57d801
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d7f0
mov eax, 1
add ebx, ebx
jne 0x57d813
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57d824
jne 0x57d843
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d843
dec eax
add ebx, ebx
jne 0x57d830
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57d808
add ebx, ebx
jne 0x57d83f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57d895
xor ecx, ecx
sub eax, 3
jb 0x57d85b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57d8ca
sar eax, 1
mov ebp, eax
jmp 0x57d866
add ebx, ebx
jne 0x57d866
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d834
inc ecx
add ebx, ebx
jne 0x57d874
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d834
add ebx, ebx
jne 0x57d881
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57d876
jne 0x57d892
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57d876
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57d8b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57d8a6
jmp 0x57d7f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57d8b4
add edi, ecx
jmp 0x57d7f6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57d8d2
cmp byte [edi], 0x11
jne 0x57d8d2
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 0x57d8d7
lea edi, [esi + 0x176000]
mov eax, dword [edi]
or eax, eax
je 0x57d94f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x215490]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21560c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57d904
mov ecx, edi
jns 0x57d933
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 + 0x215610]
or eax, eax
je 0x57d949
mov dword [ebx], eax
add ebx, 4
jmp 0x57d921
call dword [esi + 0x215620]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57d980
cmp al, 0xef
ja 0x57d973
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57d955
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57d962
mov ebp, dword [esi + 0x215614]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x57d9b4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x647b60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x5a2015
lea edi, [esi - 0x1a1015]
mov dword [edi + 0x2403f0], 0x876be4c6
push edi
or ebp, 0xffffffff
jmp 0x647b8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x647b91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x647b80
mov eax, 1
add ebx, ebx
jne 0x647ba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x647bb4
jne 0x647bd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x647bd3
dec eax
add ebx, ebx
jne 0x647bc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x647b98
add ebx, ebx
jne 0x647bcf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x647c25
xor ecx, ecx
sub eax, 3
jb 0x647beb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x647c5a
sar eax, 1
mov ebp, eax
jmp 0x647bf6
add ebx, ebx
jne 0x647bf6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x647bc4
inc ecx
add ebx, ebx
jne 0x647c04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x647bc4
add ebx, ebx
jne 0x647c11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x647c06
jne 0x647c22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x647c06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x647c44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x647c36
jmp 0x647b86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x647c44
add edi, ecx
jmp 0x647b86
pop esi
mov edi, esi
mov ecx, 0xba80
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x647c62
cmp byte [edi], 0x36
jne 0x647c62
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 0x647c67
lea edi, [esi + 0x245000]
mov eax, dword [edi]
or eax, eax
je 0x647cd6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x247000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24703c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x647c94
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x247044]
or eax, eax
je 0x647cd0
mov dword [ebx], eax
add ebx, 4
jmp 0x647cb1
call dword [esi + 0x247040]
mov ebp, dword [esi + 0x247048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x247d31]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x647d22
sub esp, 0xffffff80
jmp 0x4014a0
Function at 0x6d48c007
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
push edi
push 0
push dword [esp + 0x20]
push esi
call dword [eax + 0x2e0]
mov edi, eax
push edi
push dword [esp + 0x1c]
call dword [sym.imp.advapi32.dll_RegDeleteKeyA]
push 0
push edi
push dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x300]
pop edi
pop esi
mov eax, ebx
pop ebx
ret 0x10

Function at 0x6d48c34e
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.advapi32.dll_CryptAcquireContextA]
push edi
xor ebx, ebx
push ebx
push 1
push ebx
mov edi, str.J2SE
push edi
lea eax, [ebp - 8]
push eax
mov byte [ebp - 1], bl
call esi
test eax, eax
jne 0x6d48c389
push 8
push 1
push ebx
push edi
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
jne 0x6d48c389
xor al, al
jmp 0x6d48c3da
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x2ac]
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x2e0]
mov edi, eax
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptGenRandom]
test eax, eax
je 0x6d48c3bf
mov byte [ebp - 1], 1
mov eax, dword [esi]
push ebx
push edi
push dword [ebp + 0x10]
push esi
call dword [eax + 0x300]
push ebx
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x6d48e410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x6d48e41f
pop dword [ebp - 0x3c]
mov eax, 0x6d48e41f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x4eed623
add dword [ebp - 0x4c], 0x49636f28
mov dword [ebp - 0x48], 0x7e85cadb
add dword [ebp - 0x48], 0xb3ad816a
mov dword [ebp - 0x44], 0x3a00a596
add dword [ebp - 0x44], 0x124b9e98
mov dword [ebp - 0x40], 0xa1267d59
add dword [ebp - 0x40], 0x5ed982a7
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x7a871426
sub eax, 0xd3de306
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x8d297ede
add dword [ebp - 0x4c], 0xe748ea78
mov dword [ebp - 0x48], 0xc67886c
sub dword [ebp - 0x48], 0xcafb26f7
mov dword [ebp - 0x44], 0x80dee69d
add dword [ebp - 0x44], 0xe29085cf
mov dword [ebp - 0x40], 0xfb11cb92
sub dword [ebp - 0x40], 0xfb11cb92
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x1ef5c8a
add eax, 0x6b59d492
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3c2bb
push 0
call eax
mov ecx, 0x5a7f
mov edx, eax
mov ebx, 0x6d49f400
add ebx, dword [ebp - 0x3c]
mov edi, 0xa09867b0
xor dword [ebp - 0x10], esi
mov esi, dword [ebx]
xor esi, edi
xor dword [ebp - 0x1c], 0xc7b4b2bd
mov dword [edx], esi
add edx, 0x2e739e23
add edx, 0xd18c61e1
add ebx, 4
loop 0x6d48e52a
add eax, 0x15ccf
xor ebx, ebx
add ebx, eax
add eax, 0xe23de2c2
add eax, 0x1dc21d43
mov ecx, 0x46dbeaf7
add ecx, 0x266c1509
add ecx, dword [ebp - 0x3c]
call ebx
leave
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
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x29c62590
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4c41cd4
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x407e50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x407e63
xor al, al
pop esi
pop ebp
ret 4
push 0
push 0
push 0
push 0
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x407f10
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
push 0
push 0
mov dword [esi], eax
call fcn.00494dfe
add esp, 0x18
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x407ea0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x407ed9
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407ec9
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x407ee9
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x407efe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
pop esi
pop ebp
ret 4

Function at 0x407f30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x50d488]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 8
push esi
push edi
mov edi, edx
jb 0x407f4c
mov ecx, dword [ecx]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x407fa5
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
test eax, eax
je 0x407f9f
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004944c3
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004944c3
mov esp, ebp
pop ebp
ret

Function at 0x408130
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [eax + 0x14], 8
jb 0x408141
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4081ae
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x408178
mov al, 1
pop esi
pop ebp
ret 4
push 0
push 0
push 0
push 2
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
test eax, eax
je 0x4081a7
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
jne 0x408171
mov ecx, esi
call fcn.004081c0
xor al, al
pop esi
pop ebp
ret 4
Function at 0x408430
Capabilities:
Move file

Disassembly:
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x408440
mov eax, dword [edi]
jmp 0x408442
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x40844a
mov ecx, dword [esi]
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40845d
pop edi
mov al, 1
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x14], 8
jb 0x40846b
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x408473
mov esi, dword [esi]
push eax
push 3
push edi
push esi
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0xbe
push str.utility::ufile::moveFile
call fcn.0040c6c0
add esp, 0x1c
xor al, al
pop edi
pop esi
ret

Function at 0x4085f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x50d488]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov dword [ebp - 0x214], 0
push 0x208
push eax
mov word [ebp - 0x210], ax
mov esi, ecx
lea eax, [ebp - 0x20e]
push eax
call fcn.0049e980
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x210], ax
jne 0x408663
xor ecx, ecx
jmp 0x40867f
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408670
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00407010
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004944c3
mov esp, ebp
pop ebp
ret
Function at 0x4090c0
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x50d488]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x4090e3
mov ecx, dword [edi]
jmp 0x4090e5
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x4090ef
mov edx, dword [esi]
jmp 0x4090f1
mov edx, esi
movzx eax, byte [ebp + 0xc]
push eax
push 1
push ecx
push edx
push str.shell_filename____s___param____s___runas___d__show___d
push 0xb
push str.utility::process::shell
call fcn.0040c6c0
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0049e980
add esp, 0x28
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x409153
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov ecx, str.open
mov eax, str.runas
mov edx, 5
cmovb eax, ecx
xor ecx, ecx
cmp byte [ebp + 0xc], cl
cmovne ecx, edx
cmp dword [edi + 0x14], 8
jb 0x40917c
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x409184
mov esi, dword [esi]
push ecx
push 0
push edi
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
cmp eax, 0x20
jg 0x4091c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_failed____lastError___d
push 0x18
push str.utility::process::shell
call fcn.0040c6c0
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004944c3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004944c3
mov esp, ebp
pop ebp
ret