joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e46f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62625b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
test eax, eax
je 0x5e4827
lea eax, [ebp - 0xa4]
push eax
call fcn.005e3cf0
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000080
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00597610
push eax
mov ecx, edi
call fcn.0059db00
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5e4827
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.005a68f0
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00597040
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
movzx eax, word [ecx + 0x726]
push eax
movzx eax, word [ecx + 0x724]
mov ecx, edi
push eax
call fcn.005e4e10
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.005e4120
mov ecx, dword [edi + 0x10]
push eax
add ecx, 0x1c8
mov dword [ebp - 4], 0
call fcn.0059e520
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0059e480
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 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.0045acaa
mov esp, ebp
pop ebp
ret 4

Function at 0x5e7d25
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x6150a9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00614d69

Function at 0x616ddb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00616c5a
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
nop
mov eax, ebx
nop
cmp eax, 0xddc99759
mov eax, ecx
nop
mov eax, ecx
cmp eax, 0xe274b578
cmp eax, 0x4782b38b
mov eax, 0xf0cace99
nop
mov eax, ebx
mov eax, 0xcb576a84
mov eax, 0xcbc0c609
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
mov eax, ecx
inc eax
mov eax, ecx
nop
cmp eax, 0x4911c2e9
mov eax, ebx
cmp eax, 0x2da23654
cmp eax, 0x4b
cmp eax, 0xab71d4b3
inc eax
inc eax
inc eax
cmp eax, 0x38c7184
mov eax, ecx
nop
mov eax, ecx
nop
nop
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop
cmp eax, 0xffffffa0
mov eax, ebx
cmp eax, 0x6c
mov eax, 0xb213a3ed
mov eax, ecx
cmp eax, 0x2a
cmp eax, 0x7c
cmp eax, 0xfffffff1
mov eax, 0xd456b813
cmp eax, 0x836f6617
mov eax, ecx
inc eax
mov eax, ecx
mov eax, ebx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
inc eax
cmp eax, 0xc4e38679
mov eax, 0xbb566ad7
mov eax, ebx
cmp eax, 0xe2dc65ca
mov eax, 0xb8c7b373
mov eax, 0xef2ec493
mov eax, ecx
inc eax
inc eax
inc eax
cmp eax, 0x538b2d1e
mov eax, ecx
mov eax, ecx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
nop
cmp eax, 0xcc7c5ea6
mov eax, ebx
mov eax, 0x7baf6222
mov eax, 0x39e8bce0
cmp eax, 0x38fc5fb6
mov eax, ebx
cmp eax, 0xffffffec
inc eax
inc eax
cmp eax, 0xfffffff5
cmp eax, 0xe7909611
inc eax
mov eax, ebx
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, ebx
mov eax, ecx
cmp eax, 0xfffffff2
mov eax, 0x45339c03
cmp eax, 0x63
cmp eax, 0xfffffff2
nop
mov eax, 0xfff1f6ac
cmp eax, 0x6a
cmp eax, 0x13e8beda
cmp eax, 0x8ae69241
cmp eax, 0xfffffff8
nop
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10001d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10001dd8
cmp byte [esi + ebx - 1], 0xa
je 0x10001dac
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10002118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

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

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3cab7ea5
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x154f48d6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4039bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x428ed0]
imul esi, esi, 0x7c
add esi, dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 0x18828e7a
add ecx, esi
xor ecx, 0x40
or ecx, 0xc407159f
xor edx, edx
div ecx
pop esi
pop ebp
ret

Function at 0x403ba2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
and eax, dword [ebp + 0xc]
and eax, 0x76
add eax, dword [ebp + 0x10]
or eax, dword [ebp + 8]
or eax, 0x2c
pop ebp
ret
Function at 0xec3d14
Capabilities:
Get hostname
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
pushfd
xor edi, 0xef1d1711
xor edi, 0xef1d1711
popfd
push ebx
push ecx
pop ecx
pop ebx
push 0x6400000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
pushfd
xor ebx, 0xc3498881
xor ebx, 0xc3498881
popfd
pushfd
inc esi
dec esi
popfd
test eax, eax
push ebx
pop ebx
je 0xec49ec
mov edx, edx
nop
mov dword [ebp - 0x41c], eax
mov eax, eax
pushfd
xor esi, 0x89f5e6d6
xor esi, 0x89f5e6d6
popfd
push 0x6400000
push 0
push dword [ebp - 0x41c]
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
push ecx
push esi
pop esi
pop ecx
push ecx
pop ecx
push dword [ebp - 0x41c]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push edx
pop edx
pushfd
inc edx
dec edx
popfd
push 0x400
call dword [sym.imp.kernel32.dll_SetErrorMode]
push ecx
push eax
pop eax
pop ecx
xchg ebx, edx
xchg edx, ebx
push 0
call dword [sym.imp.kernel32.dll_SetErrorMode]
push eax
in al, dx
add byte [ecx + 0x59], dl
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401a60
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp sym.___write_memory.part.0
Function at 0x402180
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053f8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053f0]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x4021d5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4021ce
test esi, esi
je 0x4021ce
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4021b0
mov dword [esp], 0x4053f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4023f0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x402428
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x40241e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40242a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402410
xor eax, eax
pop ebx
pop esi
ret

Function at 0x401426
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
xor eax, eax
mov edi, eax
mov dword [ebp - 0x4c], 0x30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 3
mov dword [0x4041b0], eax
mov eax, edi
mov dword [ebp - 0x44], 0x40132e
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Hall
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x4014f0
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0
push str.moossi
push str.Hall
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4041b8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4041b8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x4014f0
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x4014d5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47ea00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x47ea22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47ea29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47ea18
mov eax, 1
add ebx, ebx
jne 0x47ea3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47ea30
jne 0x47ea4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47ea30
xor ecx, ecx
sub eax, 3
jb 0x47ea60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47ead2
mov ebp, eax
add ebx, ebx
jne 0x47ea6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x47ea78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x47ea9c
inc ecx
add ebx, ebx
jne 0x47ea88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47ea7d
jne 0x47ea99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47ea7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47eabc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47eaad
jmp 0x47ea1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47eabc
add edi, ecx
jmp 0x47ea1e
pop esi
lea edi, [esi + 0x7c000]
mov eax, dword [edi]
or eax, eax
je 0x47eb1b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7e000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7e078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47ead9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7e080]
or eax, eax
je 0x47eb15
mov dword [ebx], eax
add ebx, 4
jmp 0x47eaf6
call dword [esi + 0x7e07c]
mov ebp, dword [esi + 0x7e084]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x47eb4f
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x403110
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 8
xor eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esi]
mov edx, dword [eax + 0x454020]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x40311b
xor eax, eax
mov ecx, 0x100
mov edx, dword [esi + 4]
mov edi, dword [eax + 0x454068]
mov dword [eax + edx], edi
add eax, 4
dec ecx
jne 0x403135
cmp eax, 0x1000
jl 0x403130
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
xor ebp, ebp
mov eax, ecx
cdq
idiv edi
inc ecx
mov al, byte [edx + ebx]
mov byte [esp + 0x23], al
mov eax, ecx
cdq
idiv edi
inc ecx
mov eax, ecx
mov dl, byte [edx + ebx]
mov byte [esp + 0x22], dl
cdq
idiv edi
inc ecx
mov al, byte [edx + ebx]
mov byte [esp + 0x21], al
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi]
inc ecx
add eax, ebp
add ebp, 4
mov dl, byte [edx + ebx]
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0x20]
xor dword [eax], edx
cmp ebp, 0x48
jl 0x40315a
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00402770
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
mov dword [edi + edx], eax
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
mov dword [edi + ecx + 4], edx
add edi, 8
cmp edi, 0x48
jl 0x4031aa
mov edi, 4
mov ebx, 0x80
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00402770
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov dword [edi + edx - 4], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov dword [edi + ecx], edx
add edi, 8
dec ebx
jne 0x4031e0
cmp edi, 0x1004
jl 0x4031db
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x406530
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x45b4fc]
sub esp, 0x24
cmp al, 4
jb 0x406567
cmp eax, 0x80000000
jb 0x406567
push 0
push str.Win95_98_Me_is_not_support
push str.Please_use_old_version__v2.06_or_earlier_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push esi
push eax
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.00406110
lea ecx, [esp + 4]
call fcn.00441640
lea ecx, [esp + 4]
mov esi, eax
call fcn.004061b0
mov eax, esi
pop esi
add esp, 0x24
ret 0x10
Function at 0x406b40
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov eax, dword [edi]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
je 0x406bd7
mov cl, byte [eax + 0x74]
add eax, 0x74
test cl, cl
je 0x406bd7
push esi
push ebx
push 0x80
push 4
push ebx
push 3
push 0x40000000
push eax
call fcn.0043db60
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x406bce
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi]
mov ecx, dword [eax + 0x70]
test ecx, ecx
jne 0x406ba5
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call fcn.0043ebb0
add esp, 8
mov edx, eax
jmp 0x406ba9
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push 0
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop edi
pop ebx
pop ecx
ret 4
pop edi
mov eax, 1
pop ebx
pop ecx
ret 4

Function at 0x406bf0
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4444db
push eax
mov dword fs:[0], esp
sub esp, 0x6a0
push ebp
mov ebp, dword [esp + 0x6b4]
push 2
push 0x4559f4
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x406d45
cmp byte [ebp], 0
je 0x406d45
cmp byte [ebp + 1], 0x3a
je 0x406d45
push esi
push edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x14], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
pop edi
pop esi
jne 0x406d2a
push eax
push reloc.WSOCK32.dll_accept
lea ecx, [esp + 0x10]
call fcn.0043eeb0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [esp + 0x10]
mov dword [esp + 0x6b4], 0
call fcn.0043f0a0
test eax, eax
je 0x406d16
lea ecx, [esp + 0x398]
push 0x30c
push ecx
push str.Personal
lea ecx, [esp + 0x14]
call fcn.0043f4b0
test eax, eax
je 0x406d16
lea edx, [esp + 0x8c]
lea eax, [esp + 0x398]
push edx
push eax
push ebp
call fcn.00440750
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x6ac], 0xffffffff
call fcn.0043eed0
pop ebp
mov ecx, dword [esp + 0x6a0]
mov dword fs:[0], ecx
add esp, 0x6ac
ret
lea ecx, [esp + 8]
mov dword [esp + 0x6ac], 0xffffffff
call fcn.0043eed0
lea ecx, [esp + 4]
lea edx, [esp + 0x8c]
push ecx
push ebp
push 0x30c
push edx
call fcn.0043dbf0
add esp, 0x10
mov ecx, dword [esp + 0x6a4]
pop ebp
mov dword fs:[0], ecx
add esp, 0x6ac
ret
Function at 0x408c10
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ecx
push ebx
mov eax, dword [esp + 0xc]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
mov edi, ecx
push connect
push eax
mov dword [esp + 0x2c], edi
call fcn.0043db60
mov esi, dword [esp + 0x38]
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [esi + 0x34], eax
je 0x408d1c
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov ebx, ecx
xor ebp, ebp
or edx, eax
or ebx, ebp
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ebx
mov edx, dword [esi + 0x20]
or edx, ebx
jne 0x408c7e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
push 0
push eax
mov eax, dword [esi + 0x34]
push ecx
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
mov ebp, dword [esi + 0x24]
mov dword [esi + 0x38], ebx
mov edi, dword [edi + 0xa4]
mov ecx, dword [esi + 0x20]
mov eax, dword [edi + 0x784]
cdq
cmp ebp, edx
jl 0x408cb8
jg 0x408cb2
cmp ecx, eax
jbe 0x408cb8
mov dword [esp + 0x1c], eax
jmp 0x408cbc
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x2c]
mov ebp, dword [esi + 0x28]
mov dword [esp + 0x18], ecx
mov edi, dword [edi + 0x784]
mov edx, ecx
mov eax, edi
sar edx, 0x1f
cdq
push edx
push eax
push ecx
push ebp
call fcn.00444030
imul eax, edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0x30], eax
je 0x408d1c
push 1
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x408d1c
mov ecx, dword [esp + 0x10]
push esi
call fcn.00408d30
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
mov ecx, dword [esi + 0x30]
xor eax, eax
pop edi
pop esi
test ecx, ecx
pop ebp
pop ebx
setne al
pop ecx
ret 8