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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x454db4]
push edi
push str._Windows_Subsystem__Fixing__s_n
call fcn.00409516
push 0x4433a0
push edi
call fcn.00419446
add esp, 0x10
mov esi, eax
test esi, esi
mov byte [ebp - 4], 0x50
mov byte [ebp - 3], 0x45
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
push edi
jne 0x40978b
push str._Windows_Subsystem__Could_not_open_file__s_n
call fcn.00409516
pop ecx
pop ecx
push 1
call fcn.0041901e
push str._Windows_Subsystem__Opened__s_n
call fcn.00409516
pop ecx
xor ebx, ebx
pop ecx
xor edi, edi
push esi
call fcn.0041aecf
pop ecx
push esi
mov dword [ebp - 8], eax
inc ebx
call fcn.0041baee
test eax, eax
pop ecx
jne 0x40985e
mov al, byte [ebp - 8]
cmp al, byte [ebp + edi - 4]
jne 0x4097c1
inc edi
jmp 0x4097c3
xor edi, edi
cmp edi, 4
jne 0x40979b
cmp ebx, 0xffffffff
mov dword [0x454e54], ebx
je 0x409784
lea edi, [ebx + 0x58]
push edi
push 0x58
push ebx
push str._Windows_Subsystem__Found_marker_OK_at__d___d___d__n
call fcn.00409516
xor ebx, ebx
push ebx
push edi
push esi
call fcn.0041c460
add esp, 0x1c
push edi
push str._Windows_Subsystem__Skipped_to_relevant_spot__d_n
call fcn.00409516
push esi
call fcn.0041aecf
add esp, 0xc
push eax
push str._Windows_Subsystem__Was__02X_n
call fcn.00409516
push ebx
push edi
push esi
call fcn.0041c460
add esp, 0x14
push esi
push 2
call fcn.0041bf97
push esi
call fcn.004192e6
add esp, 0xc
push ebx
push edi
push esi
call fcn.0041c460
add esp, 0xc
push esi
call fcn.0041aecf
pop ecx
push eax
push str._Windows_Subsystem__Now__02X_n
call fcn.00409516
push esi
call fcn.004192e6
add esp, 0xc
push esi
call fcn.0041ae53
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.SS_edit___PE_sig
push str.Could_not_find_marker:__s_n
jmp 0x40977d

Function at 0x40994d
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x445504]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push str.perm_all
push esi
call fcn.004198e0
test eax, eax
pop ecx
pop ecx
jne 0x4099ec
push str.Permanent_install_for_all_users_n
call fcn.00409516
pop ecx
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4099b1
cmp dword [ebp - 0x9c], 5
jbe 0x4099b1
push str.PROGRAMDATA
call fcn.0041ad5d
pop ecx
jmp 0x409a14
push str.ALLUSERSPROFILE
call fcn.0041ad5d
mov edi, eax
mov dword [esp], 0x1388
call fcn.004181b0
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.004183e0
push str.Application_Data
call fcn.00409439
add esp, 0xc
push esi
call fcn.0040941a
pop ecx
jmp 0x409a16
push str.perm_user
push esi
call fcn.004198e0
test eax, eax
pop ecx
pop ecx
jne 0x409a04
push str.Permanent_install_for_current_user_n
jmp 0x409a09
push str.Temporary_install_n
call fcn.00409516
pop ecx
call fcn.00409254
mov esi, eax
test esi, esi
jne 0x409a2c
push str.ERROR:_Unable_to_get_shared_dir_
call fcn.00409516
pop ecx
push 1
call fcn.0041901e
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004180c4
leave
ret
Function at 0x40b920
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40b940
push 0xd0
push str.._srchashes_sha2_sha256.c
push 0x4364a8
call fcn.0040daa0
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0x6a09e667
mov dword [esi + 0x284], 0xbb67ae85
mov dword [esi + 0x288], 0x3c6ef372
mov dword [esi + 0x28c], 0xa54ff53a
mov dword [esi + 0x290], 0x510e527f
mov dword [esi + 0x294], 0x9b05688c
mov dword [esi + 0x298], 0x1f83d9ab
mov dword [esi + 0x29c], 0x5be0cd19
xor eax, eax
pop esi
ret

Function at 0x40bec0
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40bedd
push 0x2a
push str.c:users_simplehelpworkspace_runner_nativelibtomlibtomcrypt_srchashes_sha2_sha224.c
push 0x4364a8
call fcn.0040daa0
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0xc1059ed8
mov dword [esi + 0x284], 0x367cd507
mov dword [esi + 0x288], 0x3070dd17
mov dword [esi + 0x28c], 0xf70e5939
mov dword [esi + 0x290], 0xffc00b31
mov dword [esi + 0x294], 0x68581511
mov dword [esi + 0x298], 0x64f98fa7
mov dword [esi + 0x29c], 0xbefa4fa4
xor eax, eax
pop esi
ret
Function at 0x4180c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445504]
jne 0x4180ce
repz ret
jmp fcn.0041d145

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x41c1ab
call fcn.004185ec
mov dword [eax], esi
call fcn.004185d9
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041ef9f
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x41c187
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41c1da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004185ff
pop ecx
call fcn.004185d9
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x41c201
test al, 1
je 0x41c201
test byte [esp + 0xc], 2
je 0x41c201
call fcn.004185ec
mov dword [eax], 5
call fcn.004185d9
mov dword [eax], 0xd
jmp 0x41c1d1
xor eax, eax
pop esi
ret
Function at 0x425e22
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041f026
xor ebx, ebx
cmp dword [0x4489e8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x425ef7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x425e62
xor eax, eax
jmp 0x425fbb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x425e5b
push eax
call fcn.0041efc3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4489e8], eax
call esi
push eax
call fcn.0041efc3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4489ec], eax
call esi
push eax
call fcn.0041efc3
mov dword [0x4489f0], eax
lea eax, [ebp - 8]
push eax
call fcn.00418e4b
test eax, eax
pop ecx
pop ecx
je 0x425ec5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041eea3
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x425ef7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041efc3
cmp eax, ebx
pop ecx
mov dword [0x4489f8], eax
je 0x425ef7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041efc3
pop ecx
mov dword [0x4489f4], eax
mov eax, dword [0x4489f4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x425f70
cmp dword [0x4489f8], esi
je 0x425f70
push eax
call fcn.0041f02f
pop ecx
call eax
cmp eax, ebx
je 0x425f3d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4489f8]
call fcn.0041f02f
pop ecx
call eax
test eax, eax
je 0x425f3d
test byte [ebp - 0x18], 1
jne 0x425f70
lea eax, [ebp - 0xc]
push eax
call fcn.00418e82
test eax, eax
pop ecx
je 0x425f58
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041eea3
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x425f67
or dword [ebp + 0x10], 0x200000
jmp 0x425fa1
or dword [ebp + 0x10], 0x40000
jmp 0x425fa1
mov eax, dword [0x4489ec]
cmp eax, esi
je 0x425fa1
push eax
call fcn.0041f02f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x425fa1
mov eax, dword [0x4489f0]
cmp eax, esi
je 0x425fa1
push dword [ebp - 4]
push eax
call fcn.0041f02f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4489e8]
call fcn.0041f02f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4328f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
not eax
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 8
jbe 0x4329bf
test bl, 7
je 0x432929
nop
movzx ecx, byte [ebx]
dec esi
movzx edx, al
inc ebx
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x438038]
test bl, 7
jne 0x432910
mov edi, esi
and esi, 7
and edi, 0xfffffff8
add edi, ebx
cmp ebx, edi
jae 0x4329bf
nop dword [eax + eax]
xor eax, dword [ebx]
add ebx, 4
mov dword [ebp + 0x10], ebx
add dword [ebp + 0x10], 4
mov ebx, dword [ebx]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x438438]
xor edx, dword [ecx*4 + 0x438838]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x439438]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x439838]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x438038]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x439038]
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
xor edx, dword [ecx*4 + 0x438c38]
xor edx, dword [eax*4 + 0x439c38]
mov eax, edx
cmp ebx, edi
jb 0x432940
test esi, esi
je 0x4329dd
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x438038]
sub esi, 1
jne 0x4329c3
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x4329f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
not eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
not esi
cmp edi, 4
jbe 0x432aea
mov dword [ebp + 0x14], ebx
test bl, 3
je 0x432a47
nop word [eax + eax]
movzx ecx, byte [ebx]
dec edi
movzx edx, al
inc ebx
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x43a038]
xor esi, dword [edx*8 + 0x43a03c]
test bl, 3
jne 0x432a20
mov dword [ebp + 0x14], ebx
mov edx, edi
mov dword [ebp - 8], 0
and edx, 0xfffffffc
mov dword [ebp - 4], 0
and edi, 3
mov dword [ebp + 0xc], edi
lea ecx, [edx + ebx]
add edx, 3
shr edx, 2
cmp ebx, ecx
cmova edx, dword [ebp - 8]
mov dword [ebp - 8], edx
test edx, edx
je 0x432aea
mov edi, edx
mov ebx, dword [ebx]
xor ebx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*8 + 0x43a838]
mov edx, dword [edx*8 + 0x43a83c]
xor eax, dword [ecx*8 + 0x43b038]
xor edx, dword [ecx*8 + 0x43b03c]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*8 + 0x43a038]
xor edx, dword [ecx*8 + 0x43a03c]
movzx ecx, bl
mov ebx, dword [ebp + 0x14]
add ebx, 4
mov dword [ebp + 0x14], ebx
xor eax, dword [ecx*8 + 0x43b838]
xor edx, dword [ecx*8 + 0x43b83c]
xor eax, esi
mov ecx, dword [ebp - 4]
xor edx, 0
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
cmp ecx, edi
jb 0x432a78
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x432b15
nop
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x43a038]
xor esi, dword [edx*8 + 0x43a03c]
sub edi, 1
jne 0x432af0
not esi
not eax
pop edi
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4cd22e4c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x50072d93
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x430003
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
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2ac95778
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7b305a79
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x7f84e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2ca000]
push edi
or ebp, 0xffffffff
jmp 0x7f8502
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7f8509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7f84f8
mov eax, 1
add ebx, ebx
jne 0x7f851b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7f852c
jne 0x7f854b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7f854b
dec eax
add ebx, ebx
jne 0x7f8538
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7f8510
add ebx, ebx
jne 0x7f8547
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7f859d
xor ecx, ecx
sub eax, 3
jb 0x7f8563
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7f85d2
sar eax, 1
mov ebp, eax
jmp 0x7f856e
add ebx, ebx
jne 0x7f856e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7f853c
inc ecx
add ebx, ebx
jne 0x7f857c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7f853c
add ebx, ebx
jne 0x7f8589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7f857e
jne 0x7f859a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7f857e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7f85bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7f85ae
jmp 0x7f84fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7f85bc
add edi, ecx
jmp 0x7f84fe
pop esi
mov edi, esi
mov ecx, 0x3842
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7f85da
cmp byte [edi], 0x15
jne 0x7f85da
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 0x7f85df
lea edi, [esi + 0x3f5000]
mov eax, dword [edi]
or eax, eax
je 0x7f8657
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x408908]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4089cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7f860c
mov ecx, edi
jns 0x7f863b
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 + 0x4089d4]
or eax, eax
je 0x7f8651
mov dword [ebx], eax
add ebx, 4
jmp 0x7f8629
call dword [esi + 0x4089d0]
mov ebp, dword [esi + 0x4089d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x7f868b
sub esp, 0xffffff80
jmp 0x470a51
Function at 0x405b60
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x418498
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 3
push 0
push 0
push accept
push 0x4186c8
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x405c85
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x405c7b
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x405c71
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x405c67
cmp dword [ebp - 0x10], 0x100
jae 0x405bfe
jmp 0x405c67
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040ce00
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x405c15
jmp 0x405c67
mov edx, dword [ebp - 0x10]
sub edx, 0x100
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0xc]
jae 0x405c3a
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040a790
add esp, 4
jmp 0x405c67
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
add ecx, 0x100
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00405c90
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
sub edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], edx
jmp 0x405bed
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x406400
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push 0x412c48
push 1
push 0
push 0x412c68
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x406502
cmp dword [ebp - 8], 0
je 0x406502
push 0x41430c
push 0x41430c
push str._c_start__s__start__sVolDrvConfig.exe
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push str._comspec_
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x50]
call edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x44]
call edx
push 7
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x3c]
call eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x2c]
call edx
lea eax, [ebp - 0xc]
push eax
push 0x412c58
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x4064f4
cmp dword [ebp - 0xc], 0
je 0x4064f4
push 1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov esp, ebp
pop ebp
ret
Function at 0x40b020
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40b059
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40b059
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40b060
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov word [ebp - 0x14], ax
xor ecx, ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
mov edx, 2
mov word [ebp - 0x14], dx
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x411eb0
call fcn.0040b020
add esp, 4
mov dword [ebp - 0x10], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x40b110
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x40b104
xor edx, edx
mov word [ebp - 0x28], dx
xor eax, eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040b120
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret