joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469fec
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
lea eax, [esp + 0x10]
push ebx
push esi
push eax
push dword [esp + 0x78]
xor esi, esi
mov ebx, esi
call dword [0x171230c]
test eax, eax
je 0x46a183
push dword [esp + 0x28]
call fcn.0046af0c
test eax, eax
je 0x46a02c
push dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
call dword [0x1712404]
jmp 0x46a183
push edi
push esi
call dword [0x17123e4]
mov edi, eax
test edi, edi
je 0x46a170
push ebp
mov ebp, dword [0x1712418]
lea eax, [esp + 0x34]
push eax
push 0x18
push dword [esp + 0x38]
call ebp
cmp eax, 0x18
jne 0x46a168
push 0x2c
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00428100
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
xor eax, eax
push 0x20
inc eax
mov dword [esp + 0x50], 0x28
mov word [esp + 0x5c], ax
pop eax
push esi
push esi
mov word [esp + 0x62], ax
lea eax, [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], esi
push eax
push edi
call dword [0x1712420]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x46a168
mov esi, dword [0x17123ec]
push ebx
push edi
call esi
push 2
xor eax, eax
push eax
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x90]
push eax
push eax
push edi
call dword [0x1712394]
push dword [esp + 0x2c]
push edi
call esi
lea eax, [esp + 0x34]
push eax
push 0x18
push dword [esp + 0x38]
call ebp
cmp eax, 0x18
jne 0x46a168
mov ebp, dword [esp + 0x38]
xor esi, esi
mov edx, dword [esp + 0x3c]
mov eax, ebp
shl eax, 2
mov dword [esp + 0x10], eax
test edx, edx
jle 0x46a168
mov eax, dword [0x17123fc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, edx
sub ecx, esi
add eax, 3
dec ecx
xor ebx, ebx
imul ecx, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x7c], eax
test ebp, ebp
jle 0x46a15f
push esi
push ebx
push edi
call dword [esp + 0x24]
mov ecx, dword [esp + 0x7c]
test eax, eax
setne al
dec al
mov byte [ecx], al
add ecx, 4
mov ebp, dword [esp + 0x38]
inc ebx
mov dword [esp + 0x7c], ecx
cmp ebx, ebp
jl 0x46a137
mov edx, dword [esp + 0x3c]
inc esi
cmp esi, edx
jl 0x46a11a
mov ebx, dword [esp + 0x1c]
push edi
call dword [0x17123f4]
pop ebp
push dword [esp + 0x28]
mov esi, dword [0x1712404]
call esi
push dword [esp + 0x2c]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x68
ret 4
Function at 0x46ab6d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebp
xor ebp, ebp
cmp dword [0x1717374], ebp
je 0x46ad53
push ebx
mov ebx, dword [esp + 0x60]
push edi
test ebx, ebx
je 0x46ab8d
mov edi, ebx
jmp 0x46ab9f
push 0
call dword [0x17123e4]
mov edi, eax
test edi, edi
je 0x46ad51
lea eax, [esp + 0x18]
push eax
push 0x18
push dword [esp + 0x68]
call dword [0x1712418]
test eax, eax
je 0x46ad46
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push esi
mov esi, dword [esp + 0x24]
push 0x2c
push 0
push eax
mov dword [esp + 0x20], ebp
call fcn.00428100
add esp, 0xc
mov dword [esp + 0x34], 0x28
xor eax, eax
mov dword [esp + 0x38], ebp
inc eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x40], ax
xor ecx, ecx
push 0x20
pop eax
push ecx
push ecx
mov word [esp + 0x4a], ax
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x54], ecx
push eax
push edi
call dword [0x1712420]
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x46ad45
push 0
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x18]
push esi
push 0
push dword [esp + 0x78]
push edi
call dword [0x17123f8]
imul esi, dword [esp + 0x14]
test esi, esi
jle 0x46ad45
cmp dword [esp + 0x6c], 0
je 0x46acf2
mov ebp, dword [esp + 0x10]
push 0xa
pop ebx
movzx ecx, byte [ebp + 1]
xor edx, edx
movzx eax, byte [ebp + 2]
lea eax, [eax + ecx*2]
movzx ecx, byte [ebp]
imul eax, eax, 3
add eax, ecx
div ebx
mov cl, al
cmp cl, 0x40
jae 0x46ac86
movzx eax, cl
sub eax, 0x40
imul eax, eax, 7
cdq
idiv ebx
lea ecx, [eax + 0x40]
jmp 0x46ac9c
cmp cl, 0xc0
jbe 0x46ac9c
movzx eax, cl
sub eax, 0xc0
imul eax, eax, 7
cdq
idiv ebx
lea ecx, [eax - 0x40]
movzx eax, byte [ebp + 3]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movzx eax, cl
movd xmm0, eax
divss xmm1, dword [0x536190]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
cvttss2si ecx, xmm1
mov byte [ebp], cl
mov eax, dword [esp + 0x10]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
mov byte [ecx + 2], al
mov ebp, dword [esp + 0x10]
add ebp, 4
mov dword [esp + 0x10], ebp
sub esi, 1
jne 0x46ac56
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x18]
jmp 0x46ad45
mov edx, dword [esp + 0x10]
mov al, byte [edx + 3]
cmp al, 0xff
jae 0x46ad39
movzx ecx, al
movzx eax, byte [edx]
imul ecx, eax
shr ecx, 8
mov byte [edx], cl
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
imul ecx, eax
shr ecx, 8
mov byte [edx + 1], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
imul ecx, eax
shr ecx, 8
mov byte [edx + 2], cl
mov edx, dword [esp + 0x10]
add edx, 4
mov dword [esp + 0x10], edx
sub esi, 1
jne 0x46acf6
pop esi
test ebx, ebx
jne 0x46ad51
push edi
call dword [0x17123f4]
pop edi
pop ebx
mov eax, ebp
pop ebp
add esp, 0x50
ret 0xc
Function at 0x46c87e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x3c]
xor ebx, ebx
cmp esi, 1
je 0x46c8ae
cmp esi, 2
je 0x46c8ae
cmp esi, 4
je 0x46c8ae
cmp esi, 8
je 0x46c8ae
cmp esi, 0x18
je 0x46c8ae
cmp esi, 0x20
je 0x46c8ae
xor eax, eax
jmp 0x46ca7b
mov ecx, dword [0x1717398]
push ebp
push edi
xor edi, edi
mov dword [esp + 0x10], edi
test ecx, ecx
jle 0x46ca77
mov edx, dword [esp + 0x28]
mov eax, dword [edi*4 + 0x17177d8]
cmp dword [eax], edx
je 0x46c8e1
inc edi
mov dword [esp + 0x10], edi
cmp edi, ecx
jl 0x46c8c8
jmp 0x46ca77
cmp dword [esp + 0x38], 0x20
jne 0x46ca4e
mov eax, dword [eax + 8]
test eax, eax
je 0x46c921
cmp esi, 0x20
je 0x46c8fd
cmp esi, 0xffffffff
jne 0x46c921
push esi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call eax
jmp 0x46ca75
mov eax, dword [esp + 0x2c]
inc eax
imul ebp, eax, 3
and ebp, 0xfffffffc
mov eax, ebp
mov dword [esp + 0x14], ebp
imul eax, dword [esp + 0x30]
push eax
push 0
push dword [0x1714814]
call dword [0x1712048]
mov dword [esp + 0x18], eax
test eax, eax
je 0x46ca77
mov ebx, dword [esp + 0x30]
test ebx, ebx
jle 0x46ca19
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov esi, edx
test eax, eax
jle 0x46c9f8
mov ebp, ecx
mov edi, eax
mov ecx, 0xff
movzx eax, byte [esi + 2]
sub eax, ecx
movzx ecx, byte [esi + 3]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp + 2], al
movzx eax, byte [esi + 1]
sub eax, ecx
movzx ecx, byte [esi + 3]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp + 1], al
movzx eax, byte [esi]
lea esi, [esi + 4]
sub eax, ecx
movzx ecx, byte [esi - 1]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp], al
lea ebp, [ebp + 3]
sub edi, 1
jne 0x46c987
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x34]
add ecx, ebp
sub dword [esp + 0x24], 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
jne 0x46c974
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov eax, dword [edi*4 + 0x17177d8]
push esi
push dword [esp + 0x44]
mov esi, dword [esp + 0x20]
push dword [esp + 0x44]
push ebp
push ebx
push dword [esp + 0x40]
push esi
push dword [esp + 0x3c]
call dword [eax + 4]
push esi
push 0
push dword [0x1714814]
mov ebx, eax
call dword [0x171203c]
jmp 0x46ca77
cmp dword [esp + 0x38], 0x18
jne 0x46ca77
push esi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call dword [eax + 4]
mov ebx, eax
pop edi
mov eax, ebx
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0x28
Function at 0x4e2960
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4e298d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4e298d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x449c90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x44000]
push edi
jmp 0x449caa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x449cb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x449ca0
mov eax, 1
add ebx, ebx
jne 0x449cc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x449cb8
jne 0x449cd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x449cb8
xor ecx, ecx
sub eax, 3
jb 0x449ce8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x449d5a
mov ebp, eax
add ebx, ebx
jne 0x449cf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x449d00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x449d24
inc ecx
add ebx, ebx
jne 0x449d10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x449d05
jne 0x449d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x449d05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x449d44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x449d35
jmp 0x449ca6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x449d44
add edi, ecx
jmp 0x449ca6
pop esi
mov edi, esi
mov ecx, 0x290
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x449d62
cmp byte [edi], 6
jne 0x449d62
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 0x449d67
lea edi, [esi + 0x47000]
mov eax, dword [edi]
or eax, eax
je 0x449ddf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4fd84]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4fe24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x449d94
mov ecx, edi
jns 0x449dc3
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 + 0x4fe28]
or eax, eax
je 0x449dd9
mov dword [ebx], eax
add ebx, 4
jmp 0x449db1
call dword [esi + 0x4fe38]
mov ebp, dword [esi + 0x4fe2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x449e13
sub esp, 0xffffff80
jmp 0x4034f1

Function at 0x43b649
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43b3c1
pop edx
sub ecx, ecx
sub ecx, 1
call fcn.0043b686
sub ecx, ecx
xor dword [ebx], edx
sub ecx, ecx
or ecx, ecx
or esi, ecx
inc ebx
and esi, ecx
sub esi, ecx
sub esi, ecx
cmp ebx, edi
jne fcn.0043b649
inc esi
inc esi
mov ecx, esi
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x20777052
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
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
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4dbc3b0a
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x408e25
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00408c9b
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444004]
jne 0x401010
repz ret
jmp fcn.004017e2

Function at 0x407455
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.0040229e
and dword [ebp - 4], 0
cmp dword [0x447480], 0
mov ebx, eax
jne 0x407506
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4075b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4075b7
push eax
call fcn.0040222c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x447480], eax
call esi
push eax
call fcn.0040222c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x447484], eax
call esi
push eax
call fcn.0040222c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x447488], eax
call esi
push eax
call fcn.0040222c
pop ecx
mov dword [0x447490], eax
test eax, eax
je 0x407506
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040222c
pop ecx
mov dword [0x44748c], eax
mov eax, dword [0x44748c]
cmp eax, ebx
je 0x40755e
cmp dword [0x447490], ebx
je 0x40755e
push eax
call fcn.004022a7
push dword [0x447490]
mov esi, eax
call fcn.004022a7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40755e
test edi, edi
je 0x40755e
call esi
test eax, eax
je 0x407555
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407555
test byte [ebp - 0xc], 1
jne 0x40755e
or dword [ebp + 0x10], 0x200000
jmp 0x407597
mov eax, dword [0x447484]
cmp eax, ebx
je 0x407597
push eax
call fcn.004022a7
pop ecx
test eax, eax
je 0x407597
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407597
mov eax, dword [0x447488]
cmp eax, ebx
je 0x407597
push eax
call fcn.004022a7
pop ecx
test eax, eax
je 0x407597
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x447480]
call fcn.004022a7
pop ecx
test eax, eax
je 0x4075b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4075b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43cfe0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x445000]
push ebx
mov ebx, dword [0x818294]
push esi
mov esi, dword [0x8180dc]
push eax
call fcn.0043ced0
add esp, 4
cmp dword [0x818294], 0x2f
jne 0x43d00b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
call fcn.0043cf40
add esp, 4
cmp dword [0x818294], 0x568
pop esi
pop ebx
jne 0x43d02a
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
ret
Function at 0x402310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ebda
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.HeapFree
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
nop
nop
nop
inc eax
dec ebx
dec eax
inc ebx
mov byte [ebp - 0x3c], 0x4b
mov byte [ebp - 0x3b], 0x45
mov byte [ebp - 0x3a], 0x52
mov byte [ebp - 0x39], 0x4e
mov byte [ebp - 0x38], 0x45
mov byte [ebp - 0x37], 0x4c
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x32
mov byte [ebp - 0x34], 0x2e
mov byte [ebp - 0x33], 0x64
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x6c
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x1c], 0x56
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x75
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x46
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push str.GetProcessHeap
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
nop
nop
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x40241c
mov dword [ebp - 0x48], 0x44
push 0x410070
lea ecx, [ebp - 0x48]
push ecx
call fcn.00402e70
jmp 0x4024f8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x3bd97a86
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x1439743a
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x6401e85d
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x40], 4
jne 0x6401e87e
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x6401e87e
call sym.QtNetwork4.dll_public:_long_long___int64____thiscall_QFtp::bytesAvailable_void_const
or eax, edx
je 0x6401e87e
mov ecx, esi
pop esi
jmp 0x6401f155
pop esi
ret

Function at 0x6401fa7e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
aaa
lock and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
add byte [edx + 0x40], ch
Function at 0x64042d6c
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x64077e6a
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x640b7274]
xor eax, ebp
mov dword [ebp + 0x200], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20c]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
call fcn.64052bd4
and dword [ebp - 4], 0
lea eax, [ebp]
push 0x200
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x64042dd4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
jmp 0x64042deb
push 0xffffffffffffffff
lea eax, [ebp]
mov byte [ebp + 0x1ff], 0
push eax
push esi
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLocal8Bit_char_const___int_]
add esp, 0xc
lea ecx, [ebp - 0x10]
call sub.WS2_32.dll_WSACleanup
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.6405813a
add ebp, 0x204
leave
ret
Function at 0x64052bd4
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x640b7274]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, ecx
lea eax, [esp + 4]
push eax
push 2
and dword [esi], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x64052c0d
push 0x640855f4
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
pop ecx
jmp 0x64052c13
mov dword [esi], 0x20
mov ecx, dword [esp + 0x194]
mov eax, esi
pop esi
xor ecx, esp
call fcn.6405813a
add esp, 0x194
ret

Function at 0x64052ce3
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x88
mov eax, dword [0x640b7274]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
mov word [esi + 0x68], cx
lea ecx, [esi + 0x64]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::clear_void_
xor eax, eax
lea ebp, [esi + 0x6c]
lea ebx, [esi + 0x70]
mov ecx, ebp
mov word [ebx], ax
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::clear_void_
cmp dword [esi + 0x78], 0xffffffff
jne 0x64052d29
xor al, al
jmp 0x64052e03
push edi
mov eax, 0x80
push eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push 0
push eax
call fcn.6405b600
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x78]
call dword [sym.imp.WS2_32.dll_getsockname]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x64052dda
lea eax, [esi + 0x64]
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x78]
call fcn.64053f2d
movzx eax, word [esp + 0x24]
add esp, 0x10
dec eax
sub eax, 1
je 0x64052dd4
sub eax, 0x15
je 0x64052dcb
or dword [esi + 0x60], 0xffffffff
push 0x80
lea eax, [esp + 0x18]
push 0
push eax
call fcn.6405b600
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x78]
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x64052df2
push ebp
push ebx
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x78]
call fcn.64053f2d
add esp, 0x10
jmp 0x64052df4
mov dword [esi + 0x60], 1
jmp 0x64052d8c
and dword [esi + 0x60], 0
jmp 0x64052d8c
call edi
cmp eax, 0x2736
jne 0x64052d8c
push 8
push 0xa
mov ecx, esi
call fcn.6405228a
xor al, al
jmp 0x64052e02
call edi
push dword [esi + 0x78]
call fcn.64054036
mov dword [esi + 0x5c], eax
mov al, 1
pop ecx
pop edi
mov ecx, dword [esp + 0x90]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6405813a
add esp, 0x88
ret
Function at 0x64053132
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor edi, edi
lea eax, [ebp - 0xc]
push edi
push edi
push eax
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov esi, ecx
mov dword [ebp - 0xc], edi
push eax
push 0x4004667f
push dword [esi + 0x78]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x64053179
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
or eax, 0xffffffff
or edx, eax
jmp 0x640531bd
mov eax, dword [ebp - 8]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x640531bb
cmp dword [esi + 0x5c], ecx
jne 0x640531bb
push edi
push edi
push edi
push edi
lea eax, [ebp - 1]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push edi
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 2
push eax
push dword [esi + 0x78]
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x640531b8
xor eax, eax
jmp 0x640531bb
mov eax, dword [ebp - 8]
xor edx, edx
pop edi
pop esi
leave
ret