joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41315e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x42a024]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
mov esi, dword [0x41d0a8]
push edi
call esi
and dword [esp + 8], 0
mov dword [ebx + 0x18], eax
xor eax, eax
lea edi, [esp + 0xc]
stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
call dword [0x41d080]
mov edi, dword [0x41d0c8]
call edi
mov dword [esp + 0x10], eax
call esi
mov esi, dword [esp + 0xc]
xor dword [esp + 0x10], eax
xor esi, dword [esp + 0x10]
push 0
xor esi, dword [esp + 0xc]
call dword [0x41d384]
xor esi, eax
pop ecx
jne 0x4131c8
inc esi
lea eax, [esp + 8]
push eax
push eax
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [ebx + 0x1c], esi
call dword [0x41d1c4]
push eax
call dword [0x41d07c]
lea eax, [esp + 0x18]
push eax
call dword [0x41d078]
call edi
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x18]
sub eax, edx
sbb ecx, edi
xor edi, edi
push edi
push 0x2710
push ecx
push eax
call fcn.0041a590
sub esi, eax
push 0x206
lea eax, [esp + 0x26]
push edi
push eax
mov dword [ebx + 0x20], esi
mov word [esp + 0x2c], di
call fcn.00419d1a
add esp, 0xc
push 0x104
lea eax, [esp + 0x24]
push eax
push edi
call dword [0x41d194]
mov edi, dword [0x41d36c]
lea eax, [esp + 0x20]
push eax
call edi
pop ecx
lea esi, [esp + eax*2 + 0x20]
jmp 0x41326c
lea eax, [esi - 2]
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x413274
cmp cx, 0x2f
je 0x413274
mov esi, eax
lea eax, [esp + 0x20]
cmp esi, eax
ja 0x413258
push esi
call edi
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [esp + 0x24]
push esi
push eax
call dword [0x41d38c]
add esp, 0xc
lea eax, [esp + 0x20]
push 0x2e
push eax
call dword [0x41d2c4]
pop ecx
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x4132a4
mov word [eax], cx
cmp word [esp + 0x20], cx
lea eax, [esp + 0x20]
jne 0x4132bb
mov word [esp + 0x20], cx
mov ecx, str.log.tlg
jmp 0x4132c0
mov ecx, str..tlg
call fcn.004123b4
push 1
lea esi, [ebx + 0x24]
and word [esi], 0
push 0x1a
push esi
call dword [0x41d450]
push eax
call dword [0x41d410]
cmp word [esi], 0
je 0x4132fc
push esi
call edi
cmp word [ebx + eax*2 + 0x22], 0x5c
pop ecx
je 0x4132fc
mov ecx, 0x421ff4
mov eax, esi
call fcn.004123b4
mov ecx, str.Tencent_
mov eax, esi
call fcn.004123b4
mov edi, dword [0x41d1bc]
push 0
push esi
call edi
mov ecx, str.Logs_
mov eax, esi
call fcn.004123b4
push 0
push esi
call edi
lea ecx, [esp + 0x20]
mov eax, esi
call fcn.004123b4
push str.NoTXLog
push 0
call dword [0x41d0b0]
push eax
call dword [0x41d1a8]
test eax, eax
je 0x413350
mov byte [ebx + 0x23f], 1
jmp 0x413356
push ebx
call fcn.0041305d
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
xor ecx, esp
call fcn.00419bec
mov esp, ebp
pop ebp
ret
Function at 0x414502
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, eax
push 3
mov esi, ecx
xor edx, edx
lea eax, [edi + 2]
pop ecx
div ecx
cmp eax, 0x40000000
jae 0x414603
mov ecx, dword [ebp + 0xc]
shl eax, 2
cmp dword [ecx], eax
jb 0x414603
cmp edi, 2
mov ecx, dword [ebp + 8]
jbe 0x41459d
push ebx
push 3
xor edx, edx
lea eax, [edi - 3]
pop ebx
div ebx
inc eax
movzx edx, byte [esi]
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
movzx edx, byte [esi]
movzx ebx, byte [esi + 1]
and edx, 3
shl edx, 4
shr ebx, 4
mov dl, byte [edx + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
movzx edx, byte [esi + 1]
movzx ebx, byte [esi + 2]
and edx, 0xf
shr ebx, 6
mov dl, byte [ebx + edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
movzx edx, byte [esi + 2]
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
inc ecx
add esi, 3
sub edi, 3
dec eax
jne 0x414542
pop ebx
test edi, edi
je 0x4145f2
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi]
and eax, 3
inc ecx
shl eax, 4
cmp edi, 1
jbe 0x4145e1
movzx edx, byte [esi + 1]
shr edx, 4
mov al, byte [eax + edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi + 1]
inc ecx
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
jmp 0x4145ed
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov edx, dword [ebp + 0xc]
mov eax, ecx
sub eax, dword [ebp + 8]
mov byte [ecx], 0
mov dword [edx], eax
xor eax, eax
jmp 0x414606
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret
Function at 0x4146f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x414722
lea esp, [esp]
test cl, 3
je 0x414722
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41f128]
add ecx, 1
sub esi, 1
jne 0x414700
cmp esi, 0x20
push ebx
push edi
jb 0x41490c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41f528]
xor edx, dword [ebx*4 + 0x41f928]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41f128]
add ecx, 4
xor edx, dword [eax*4 + 0x41fd28]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41f528]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41f928]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41f128]
add ecx, 4
xor eax, dword [edx*4 + 0x41fd28]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41f528]
xor edx, dword [ebx*4 + 0x41f928]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41f128]
xor edx, dword [eax*4 + 0x41fd28]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41f528]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41f928]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41f128]
xor eax, dword [edx*4 + 0x41fd28]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41f528]
xor edx, dword [ebx*4 + 0x41f928]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41f128]
xor edx, dword [eax*4 + 0x41fd28]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41f528]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41f928]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41f128]
and edx, 0xff
xor eax, dword [edx*4 + 0x41fd28]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41f528]
xor edx, dword [ebx*4 + 0x41f928]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41f128]
add ecx, 4
xor edx, dword [eax*4 + 0x41fd28]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41f528]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41f928]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41f128]
and edx, 0xff
xor eax, dword [edx*4 + 0x41fd28]
sub edi, 1
jne 0x414732
cmp esi, 4
jb 0x414959
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x41f528]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x41f928]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x41f128]
and eax, 0xff
xor edi, dword [eax*4 + 0x41fd28]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x414916
test esi, esi
pop edi
pop ebx
je 0x41497d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41f128]
add ecx, 1
sub esi, 1
jne 0x414960
not eax
pop esi
ret
Function at 0x415550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
cmp eax, edx
mov dword [esp + 0xc], edi
jb 0x4155e0
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.00419cfc
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x4155af
sub eax, ebp
jmp 0x4155b1
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x4155a0
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x4155d0
sub eax, ebp
jmp 0x4155d2
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x4155c1
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x415712
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [esp + 0xc]
mov ebx, eax
cmp ebx, ecx
mov dword [esp + 0x10], edx
jbe 0x415608
mov ebx, ecx
test ebx, ebx
je 0x41565c
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x41562a
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00417e90
jmp 0x415643
cmp eax, 2
jne 0x41564a
mov ecx, dword [edi]
test ecx, ecx
mov eax, dword [edi + 0x30]
jne 0x41563c
xor eax, eax
jmp 0x415647
mov edx, ebx
call fcn.004146f0
mov edx, dword [esp + 0x10]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.00419cfc
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x415686
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x41569a
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x415560
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x415712
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x4156e1
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x4156c1
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.00419d1a
add esp, 0xc
add ebx, edi
pop edi
pop ebp
mov dword [esi + 0x16c0], ebx
pop ebx
add esp, 8
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x415712
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x4156fb
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call fcn.00419d1a
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x41813d
Capabilities:
Hash data with md5

Disassembly:
push 0x5c
push 0
push esi
call fcn.00419d1a
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
and dword [esi + 0x58], 0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
ret
Function at 0x43f590
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x100
lea eax, [ebp - 0x104]
mov bl, cl
push 0
push eax
call fcn.0051a780
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
movzx eax, bl
test byte [ebp + eax - 0x104], 1
je 0x43f5f3
push ecx
push 1
xor dl, dl
mov cl, bl
call fcn.00431c40
add esp, 4
xor dl, dl
mov cl, bl
push 3
call fcn.00431c40
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00518799
mov esp, ebp
pop ebp
ret

Function at 0x43f610
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x100
lea eax, [ebp - 0x10c]
mov edi, ecx
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x43f663
push 0x100
push str.Host_name_unavailable
push 0x100
push edi
call fcn.0052bbb8
add esp, 0x10
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
jne 0x43f69f
push 0x100
push str.IP_address_unavailable
push 0x100
push edi
call fcn.0052bbb8
add esp, 0x10
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret
mov byte [edi], 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x114], 0
cmp dword [eax], 0
je 0x43f79c
xor ecx, ecx
mov dword [ebp - 0x110], ecx
push esi
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 0xa]
jge 0x43f723
nop dword [eax + eax]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx]
movzx eax, byte [eax + esi]
push eax
lea eax, [ebp - 0xc]
push 0x59d288
push eax
call fcn.0044b1c0
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f6f1
sub eax, edx
mov ecx, 0xff
sub ecx, eax
lea eax, [ebp - 0xc]
push ecx
push eax
push 0x100
push edi
call fcn.0051c761
movsx eax, word [ebx + 0xa]
inc esi
mov ecx, dword [ebp - 0x110]
add esp, 0x10
cmp esi, eax
jl 0x43f6d0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f728
sub ecx, edx
mov byte [ecx + edi - 1], al
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x110]
cmp dword [ecx + eax + 4], 0
je 0x43f777
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f750
sub ecx, edx
mov eax, 0xff
sub eax, ecx
push eax
push 0x59d28c
push 0x100
push edi
call fcn.0051c761
mov eax, dword [ebx + 0xc]
add esp, 0x10
mov edx, dword [ebp - 0x114]
inc edx
mov dword [ebp - 0x114], edx
lea ecx, [edx*4]
cmp dword [ecx + eax], 0
mov dword [ebp - 0x110], ecx
jne 0x43f6c1
pop esi
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
pop edi
call fcn.00518799
mov esp, ebp
pop ebp
ret
Function at 0x446500
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548cad
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5b0008]
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 esi, dword [edi + 0x450]
mov ecx, dword [edi + 0x374]
mov edx, dword [edi + 0x37c]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x89c]
add eax, ecx
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x8a4]
add eax, ecx
mov ecx, dword [edi + 0x370]
add eax, edx
mov edx, dword [edi + 0x378]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x898]
add eax, ecx
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x68]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [eax + 0x8a0]
add eax, ecx
add eax, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
call esi
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x446688
cmp dword [edi + 0x4b0], 0
jne 0x4465e7
cmp dword [edi + 0x58c], 0
jne 0x4465e7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [edi + 0x4b0], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [edi + 0x594], 0
je 0x446688
cmp dword [edi + 0x590], 0
jne 0x446688
lea eax, [ebp - 0x28]
push eax
call esi
mov eax, dword [edi + 0x378]
add eax, dword [edi + 0x370]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [edi + 0x37c]
sub eax, dword [edi + 0x374]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
cmp ecx, dword [edi + 0x598]
jne 0x44663d
cmp eax, dword [edi + 0x59c]
je 0x446688
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov esi, eax
mov dword [ebp - 0x34], 0x5e
push esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x28]
mov dword [edi + 0x598], edx
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x59c], edx
mov dword [edi + 0x590], 1
call fcn.00446300
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.00518799
mov esp, ebp
pop ebp
ret
Function at 0x448b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
cmp byte [esi + 0x721], 0
je 0x448b77
cmp byte [esi + 0x720], 0
je 0x448b82
call fcn.00448ca0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
test edi, edi
jns 0x448b94
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, 0x2000
jg 0x448b77
cmp dword [ebp + 0xc], 2
jne 0x448bd3
push 1
push 0
push edi
push dword [esi + 0x708]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x448c53
add dword [esi + 0x71c], edi
mov al, bl
inc dword [esi + 0x714]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x3a0]
push edi
push dword [esi + 0x700]
call fcn.004842f0
cmp eax, 0xffffffff
sete bl
jne 0x448c6c
cmp dword [ebp + 0xc], 0
mov ecx, 0x2000
mov edx, dword [esi + 0x700]
mov dword [esp + 0x10], ecx
jne 0x448c06
xor bh, bh
jmp 0x448c33
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
push edx
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x704]
call sym.winvnc.exe_uncompress2
add esp, 0x10
test eax, eax
jne 0x448c53
mov edx, dword [esi + 0x704]
mov bh, 1
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esi + 0x718]
test bh, bh
push eax
cmovne edi, ecx
push edi
push edx
push dword [esi + 0x708]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x448c7a
mov ecx, esi
mov byte [esi + 0x720], 1
call fcn.00448ca0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
mov byte [esi + 0x720], 1
call fcn.00448ca0
mov edi, dword [esi + 0x718]
mov al, bl
add dword [esi + 0x71c], edi
inc dword [esi + 0x714]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x449600
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548ead
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x28]
mov ebx, eax
mov dword [ebp - 0x24], 0x66
push ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [edi + 0x73a], 0
je 0x449770
mov eax, dword [0x5bdff0]
mov ecx, dword [edi + 0x3a0]
imul eax, dword [eax + 0x758], 0x3e8
push eax
call fcn.00483e20
cmp byte [edi + 0x739], 0
xorps xmm0, xmm0
mov esi, dword [edi + 0x3a0]
movq qword [ebp - 0x1c], xmm0
mov byte [edi + 0x73a], 0
mov dword [ebp - 0x14], 0
mov word [ebp - 0x1c], 0x607
je 0x4496a5
mov word [ebp - 0x1c], 0x707
cmp dword [esi + 8], 0xffffffff
je 0x4496de
cmp byte [esi + 0x1a], 0
jne 0x4496d1
cmp byte [esi + 0x18], 0
je 0x4496d1
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x4496d1
push 1
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 7
push eax
mov ecx, esi
call fcn.00484170
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00484170
mov eax, dword [edi + 0x724]
cmp eax, 0xffffffff
je 0x4496fa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x724], 0xffffffff
mov eax, dword [edi + 0x700]
test eax, eax
je 0x449717
push eax
call fcn.005187a7
add esp, 4
mov dword [edi + 0x700], 0
mov eax, dword [edi + 0x704]
test eax, eax
je 0x449734
push eax
call fcn.005187a7
add esp, 4
mov dword [edi + 0x704], 0
add edi, 0x111
push 0x5c
push edi
call fcn.0052c5db
push 9
inc eax
push str._UVNCDIR_
push eax
call fcn.005267e0
add esp, 0x14
test eax, eax
jne 0x449770
push 0x2c
push edi
call fcn.0052c5db
add esp, 8
test eax, eax
je 0x449769
mov byte [eax], 0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret
Function at 0x44a410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548ffd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5b0008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x258], 0
jne 0x44a54a
mov eax, dword [esi]
call dword [eax + 0x28]
mov ebx, eax
mov dword [ebp - 0x14], 0x5a
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0xc]
mov edx, ecx
mov eax, ecx
mov dword [ebp - 4], 0
shr eax, 0x10
and edx, 0xff0000
or edx, eax
mov eax, ecx
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
shr edx, 8
mov ecx, dword [ebp + 0x10]
mov edi, ecx
shl eax, 8
or edx, eax
cmp edx, 1
push 0x144
sete al
and edi, 0xff0000
mov byte [esi + 0x738], al
mov eax, ecx
shr eax, 0x10
or edi, eax
mov eax, ecx
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
shr edi, 8
shl eax, 8
or edi, eax
lea eax, [esi + 0x111]
push 0
push eax
call fcn.0051a780
add esp, 0xc
cmp edi, 0x142
ja 0x44a543
mov ecx, dword [esi + 0x3a0]
lea eax, [esi + 0x111]
push edi
push eax
call fcn.004842f0
test eax, eax
je 0x44a543
mov eax, dword [0x5bdff0]
cmp dword [eax + 0x790], 0
je 0x44a543
cmp byte [ebp + 0x1c], 0
je 0x44a543
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0x44a3c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x258], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18