joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f080
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5525e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
call fcn.00495360
mov eax, dword [esp + 0x30]
or ecx, 0xffffffff
or edx, ecx
mov word [eax], cx
mov word [eax + 2], dx
cmp dword [esi], 0
jge 0x44f0db
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x18
ret 8
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
push edx
lea edx, [esp + 0x18]
push edx
call eax
mov dword [esp + 0x24], 0
xor edi, edi
call fcn.00495830
mov cx, word [eax]
mov eax, esi
call fcn.0044f250
mov ebp, eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00494b70
test ebp, ebp
jne 0x44f1b8
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
mov edi, dword [esi]
or ebx, 0xffffffff
call eax
movsx ecx, ax
cmp edi, ecx
jge 0x44f179
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
inc edi
push edi
lea eax, [esp + 0x1c]
push eax
call edx
mov dword [esp + 0x24], 1
xor edi, edi
call fcn.00495830
mov cx, word [eax]
mov eax, esi
call fcn.0044f250
mov ebx, eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00494b70
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax]
mov edi, dword [esi]
call edx
cwde
cmp edi, eax
je 0x44f193
cmp ebx, 1
je 0x44f193
cmp ebx, 2
jne 0x44f197
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x10]
mov eax, dword [esi]
test eax, eax
jne 0x44f1a7
mov eax, dword [esi]
cmp ebx, eax
jge 0x44f1c4
dec eax
mov dword [esi], eax
test eax, eax
jge 0x44f0e1
mov ebx, dword [esp + 0x2c]
jmp 0x44f228
cmp ebp, 1
je 0x44f1a1
cmp ebp, 2
je 0x44f1a1
jmp 0x44f19b
sub bx, ax
movzx edi, bx
test eax, eax
jne 0x44f1df
cmp ebp, 1
je 0x44f1df
cmp ebp, 2
je 0x44f1df
mov dword [esi], 0xffffffff
inc edi
mov ebx, dword [esp + 0x2c]
movsx eax, di
lea eax, [eax + eax*4]
mov ecx, ebx
call fcn.00494be0
mov bp, word [esi]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push 0
inc bp
push edi
movzx ebp, bp
push ebp
push eax
mov eax, dword [edx + 0x2c]
call eax
movzx eax, ax
cwde
mov ecx, ebx
call fcn.00495310
mov cx, word [esi]
mov eax, dword [esp + 0x30]
inc cx
mov word [eax], cx
mov dx, word [esi]
add dx, di
mov word [eax + 2], dx
mov eax, ebx
call fcn.00495350
xor ecx, ecx
test al, al
sete cl
mov al, cl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x465b30
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x556ffb
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, esi
call fcn.00498020
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea eax, [esi + 0x10]
push eax
mov dword [esi + 0xc], vtable.VUnknown_class_FileTransfer_.0
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esi], vtable.XYModemTransfer.0
mov dword [esi + 0xc], vtable.XYModemTransfer.1.0
mov dword [esi + 0x41c], eax
mov dword [esi + 0x420], ecx
mov dword [esi + 0x424], edi
cmp edi, ebx
je 0x465bae
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [esp + 0x14], 2
lea eax, [esi + 0x428]
call fcn.00408570
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x430]
call fcn.004949f0
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x43c]
push ecx
mov dword [esi + 0x438], ebx
call fcn.00499570
mov byte [esp + 0x14], 5
cmp dword [esp + 0x28], ebx
mov edx, dword [0x5fe510]
mov eax, dword [0x5fe514]
setne cl
inc cl
mov byte [esi + 0x14], cl
mov ecx, dword [esi + 0x41c]
mov dword [esi + 0x488], eax
mov dword [esi + 0x458], ebx
mov dword [esi + 0x45c], ebx
mov dword [esi + 0x460], ebx
mov dword [esi + 0x464], ebx
mov byte [esi + 0x468], 1
mov dword [esi + 0x46c], ebx
mov dword [esi + 0x470], ebx
mov dword [esi + 0x474], ebx
mov byte [esi + 0x478], bl
mov dword [esi + 0x47c], ebx
mov byte [esi + 0x480], bl
mov dword [esi + 0x484], edx
mov dword [esi + 0x48c], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 1
call eax
push str.VANDYKE_DONT_CHANGE_XMODEM_SEND_PACKET_SIZE
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
test eax, eax
setne cl
mov byte [esi + 0x478], cl
mov ecx, esi
call fcn.00498070
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x10

Function at 0x4670c0
Capabilities:
Encode data using xor

Disassembly:
lea edx, [ecx + eax]
xor eax, eax
cmp ecx, edx
jae 0x4670f1
push esi
lea ebx, [ebx]
movzx esi, ax
shl eax, 8
shr esi, 8
xor ax, word [esi*2 + 0x666f40]
movzx si, byte [ecx]
xor ax, si
inc ecx
movzx eax, ax
cmp ecx, edx
jb 0x4670d0
pop esi
ret
Function at 0x467780
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x556f64
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov eax, edi
call fcn.00498020
xor ebx, ebx
mov dword [esp + 0x20], ebx
lea eax, [edi + 0x10]
push eax
mov dword [edi + 0xc], vtable.VUnknown_class_FileTransfer_.0
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0x20], 1
mov eax, esi
mov dword [edi], vtable.ZModemTransfer.0
mov dword [edi + 0xc], vtable.ZModemTransfer.1.0
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], esi
call fcn.00452440
mov dword [edi + 0x20], eax
mov eax, ebp
call fcn.0043e7b0
add eax, 0x201c
mov dword [edi + 0x24], eax
lea eax, [edi + 0x34]
push eax
mov dword [edi + 0x28], ebx
mov byte [edi + 0x2c], bl
mov dword [edi + 0x30], ebx
call fcn.00499570
mov byte [esp + 0x20], 2
lea esi, [edi + 0x964]
mov eax, 0x400
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x960], ebx
call fcn.00402890
mov byte [esp + 0x20], 3
lea ecx, [edi + 0xdc4]
mov dword [edi + 0x99c], ebx
mov dword [edi + 0xda0], ebx
mov dword [edi + 0xda8], ebx
mov dword [edi + 0xdac], ebx
mov dword [edi + 0xdb0], ebx
mov dword [edi + 0xdb4], ebx
mov dword [edi + 0xdb8], ebx
mov dword [edi + 0xdbc], ebx
mov dword [edi + 0xdc0], ebx
call fcn.004949f0
mov byte [esp + 0x20], 4
mov byte [edi + 0xdc8], bl
mov byte [edi + 0xdc9], bl
call fcn.00536ea0
mov ecx, edi
call fcn.00498070
mov eax, 0x1388
lea esi, [ebx + 0x4d]
mov ecx, edi
call fcn.00498160
push 0x2c
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x20], 5
cmp eax, ebx
je 0x4678d3
mov ecx, dword [edi + 0x18]
push 0x604a6c
push ecx
push eax
call fcn.00408ca0
jmp 0x4678d5
xor eax, eax
mov byte [esp + 0x20], 4
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x18]
call fcn.0043e7b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x64]
call eax
movzx ecx, al
push ecx
mov byte [edi + 0x2c], al
call fcn.00536ea0
mov eax, dword [edi + 0x18]
add esp, 4
mov byte [edi + 0xdca], 1
call fcn.0043e7b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push 1
call eax
mov eax, dword [edi + 0x18]
call fcn.0043e7b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x64]
call eax
movzx ecx, al
push ecx
call fcn.00536ea0
add esp, 4
call fcn.00536ea0
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x467953
call fcn.00464960
test al, al
jne 0x467953
mov dword [edi + 0xdbc], 2
mov dword [esp + 0x20], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x4687c0
Capabilities:
Hash data with crc32

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
call fcn.00536ea0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x17]
mov ecx, ebp
or esi, 0xffffffff
mov byte [esp + 0x1c], 0
xor ebx, ebx
call fcn.004693c0
test eax, eax
je 0x468838
lea esp, [esp]
mov cl, byte [esp + 0x18]
test cl, cl
jne 0x468800
cmp ebx, 0x900
jae 0x468848
mov al, byte [esp + 0x13]
mov edx, esi
movzx edi, al
and edx, 0xff
xor edx, edi
shr esi, 8
xor esi, dword [edx*4 + 0x667140]
test cl, cl
jne 0x468863
mov byte [ebx + ebp + 0x60], al
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x17]
mov ecx, ebp
inc ebx
call fcn.004693c0
test eax, eax
jne 0x4687f0
call fcn.00536ea0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
call fcn.00536ea0
call fcn.00536ea0
push ebp
call fcn.0046b070
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1f], 0
xor edi, edi
nop
lea edx, [esp + 0x18]
push edx
lea eax, [esp + edi + 0x20]
mov ecx, ebp
call fcn.004693c0
test eax, eax
je 0x468838
inc edi
cmp edi, 4
jb 0x468880
lea ecx, [esp + 0x1c]
call fcn.00467750
not esi
cmp eax, esi
je 0x4688d4
push ebx
call fcn.00536ea0
push eax
call fcn.00536ea0
push esi
call fcn.00536ea0
add esp, 0xc
call fcn.00536ea0
push ebp
call fcn.0046b070
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
call fcn.00536ea0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret 8
Function at 0x469b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
mov esi, eax
call fcn.00536ea0
xor edi, edi
xor eax, eax
add esp, 4
cmp ebp, edi
mov dword [esi + 0x960], edi
mov word [esi + 0x990], ax
jle 0x469bc1
push ebx
jmp 0x469b80
mov ecx, dword [esp + 0x14]
mov bl, byte [edi + ecx]
mov byte [esp + 0x18], bl
mov edx, dword [esp + 0x18]
push edx
call fcn.00469df0
movzx eax, word [esi + 0x990]
movzx ecx, ax
shl eax, 8
shr ecx, 8
xor ax, word [ecx*2 + 0x666f40]
movzx dx, bl
xor ax, dx
inc edi
cmp edi, ebp
mov word [esi + 0x990], ax
jl 0x469b80
pop ebx
call fcn.00536ea0
mov cl, 0x6b
mov eax, esi
call fcn.00469b30
pop edi
pop esi
pop ebp
ret 8

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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
mov esi, eax
call fcn.00536ea0
xor edi, edi
add esp, 4
cmp ebp, edi
mov dword [esi + 0x960], edi
mov dword [esi + 0x994], 0xffffffff
jle 0x469d03
lea ecx, [ecx]
movzx eax, byte [edi + ebx]
push eax
call fcn.00469df0
mov eax, dword [esi + 0x994]
movzx edx, byte [edi + ebx]
mov ecx, eax
and ecx, 0xff
xor ecx, edx
shr eax, 8
xor eax, dword [ecx*4 + 0x667140]
inc edi
cmp edi, ebp
mov dword [esi + 0x994], eax
jl 0x469cd0
call fcn.00536ea0
push 0x6b
mov eax, esi
call fcn.00469d20
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x469d20
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [esp + 8]
push esi
mov esi, eax
call fcn.00536ea0
mov cl, 0x18
call fcn.00469dd0
mov cl, bl
call fcn.00469dd0
mov eax, dword [esi + 0x994]
mov ecx, eax
movzx edx, bl
and ecx, 0xff
shr eax, 8
xor ecx, edx
xor eax, dword [ecx*4 + 0x667140]
not eax
push eax
mov dword [esi + 0x994], eax
call fcn.00536ea0
movzx eax, byte [esi + 0x994]
add esp, 4
push eax
call fcn.00469df0
mov ecx, dword [esi + 0x994]
shr ecx, 8
push ecx
call fcn.00469df0
movzx edx, byte [esi + 0x996]
push edx
call fcn.00469df0
movzx eax, byte [esi + 0x997]
push eax
call fcn.00469df0
call fcn.00536ea0
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x960]
mov edx, dword [ecx]
mov edx, dword [edx + 0x88]
push eax
add esi, 0x60
push esi
call edx
pop esi
pop ebx
ret 4
Function at 0x46b630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x556e64
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esi + 4], vtable.IContainedType.0
xor eax, eax
mov dword [esi], vtable.ScriptObjectDispatchImpl_struct_IApplication_.1.0
mov dword [esi + 4], vtable.ScriptObjectDispatchImpl_struct_IApplication_.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x1c], eax
lea edi, [esi + 0x14]
push edi
mov dword [esi], vtable.ApplicationDisp.0
mov dword [esi + 4], vtable.ApplicationDisp.1.0
call fcn.0047df80
mov byte [esp + 0x1c], 1
lea ebx, [esi + 0x30]
push ebx
call fcn.0046b860
mov byte [esp + 0x1c], 2
lea ebp, [esi + 0x44]
push ebp
call fcn.0046b940
mov byte [esp + 0x1c], 3
lea eax, [esi + 0x58]
push eax
call fcn.0046ba20
mov byte [esp + 0x1c], 4
lea eax, [esi + 0x6c]
push eax
call fcn.0046bb00
mov byte [esp + 0x1c], 5
lea eax, [esi + 0x80]
push eax
call fcn.0046bbe0
mov byte [esp + 0x1c], 6
lea eax, [esi + 0x94]
push eax
call fcn.00470150
mov byte [esp + 0x1c], 7
lea edx, [esi + 0xac]
call fcn.0047f8a0
lea eax, [esi + 0xb8]
call fcn.00438740
mov byte [esp + 0x1c], 8
test edi, edi
je 0x46b711
lea eax, [esi + 0x18]
jmp 0x46b713
xor eax, eax
push eax
push esi
call fcn.0046c670
test ebx, ebx
je 0x46b723
lea eax, [esi + 0x34]
jmp 0x46b725
xor eax, eax
push eax
push esi
call fcn.0046c670
test ebp, ebp
je 0x46b735
lea eax, [esi + 0x48]
jmp 0x46b737
xor eax, eax
push eax
push esi
call fcn.0046c670
lea eax, [esi + 0x58]
test eax, eax
je 0x46b74a
lea eax, [esi + 0x5c]
jmp 0x46b74c
xor eax, eax
push eax
push esi
call fcn.0046c670
lea eax, [esi + 0x6c]
test eax, eax
je 0x46b75f
lea eax, [esi + 0x70]
jmp 0x46b761
xor eax, eax
push eax
push esi
call fcn.0046c670
lea eax, [esi + 0x80]
test eax, eax
je 0x46b77a
lea eax, [esi + 0x84]
jmp 0x46b77c
xor eax, eax
push eax
push esi
call fcn.0046c670
lea eax, [esi + 0x94]
test eax, eax
je 0x46b795
lea eax, [esi + 0x98]
jmp 0x46b797
xor eax, eax
push eax
push esi
call fcn.0046c670
lea eax, [esi + 0xac]
push eax
push esi
call fcn.0046c670
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x46bd40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x556dd4
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 7
lea eax, [esi + 0xb8]
call fcn.004388a0
mov byte [esp + 0x10], 6
lea eax, [esi + 0x94]
push eax
call fcn.0046bcc0
mov byte [esp + 0x10], 5
lea ecx, [esi + 0x80]
push ecx
call fcn.0046bc50
mov byte [esp + 0x10], 4
lea edx, [esi + 0x6c]
push edx
call fcn.0046bb70
mov byte [esp + 0x10], 3
lea eax, [esi + 0x58]
push eax
call fcn.0046ba90
mov byte [esp + 0x10], 2
lea ecx, [esi + 0x44]
push ecx
call fcn.0046b9b0
mov byte [esp + 0x10], 1
lea edx, [esi + 0x30]
push edx
call fcn.0046b8d0
mov byte [esp + 0x10], 0
lea eax, [esi + 0x14]
push eax
call fcn.0046b7f0
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.ScriptObjectDispatchImpl_struct_IApplication_.1.0
mov dword [esi + 4], vtable.ScriptObjectDispatchImpl_struct_IApplication_.0
test eax, eax
je 0x46be0b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x4700a0
Capabilities:
Read clipboard data

Disassembly:
push 0xe1000018
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0xc]
cmp eax, 0x13
jne 0x4700b8
mov eax, 1
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [esi + 8], eax
test eax, eax
jne 0x4700cf
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
ret
mov al, 1
ret
Function at 0x47b9b0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esi + 0x5bd8]
xor edx, edx
shr eax, 0xf
and al, 1
sub ecx, edx
je 0x47ba0f
sub ecx, 1
je 0x47b9eb
sub ecx, 1
jne 0x47ba26
cmp dword [edi + 4], 0x105
jne 0x47ba26
cmp dword [edi + 8], 0x12
jne 0x47ba26
mov dword [esi + 0x5bd8], edx
mov al, 1
ret
mov eax, dword [edi + 4]
cmp eax, 0x105
jne 0x47b9fb
cmp dword [edi + 8], 0x12
je 0x47b9e2
cmp eax, 0x202
jne 0x47ba26
mov dword [esi + 0x5bd8], 2
xor al, al
ret
cmp dword [edi + 4], 0x201
jne 0x47ba26
cmp al, dl
je 0x47ba26
mov dword [esi + 0x5bd8], 1
xor al, al
ret
Function at 0x47d510
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [edi]
sub esp, 0x18
test ecx, ecx
je 0x47d5c2
cmp dword [esi + 0x1c], 0
jne 0x47d5bc
mov edx, dword [esi + 0x753bc]
cmp edx, 0xffffffff
je 0x47d5bc
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x753c0]
mov dword [esp + 0x14], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47d5bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x753bc]
cmp eax, 0x3e5
je 0x47d5a9
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x753bc], 0xffffffff
mov dword [edi], 0
add esp, 0x18
ret 4
push 1
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [edi], 0
add esp, 0x18
ret 4

Function at 0x480820
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x64]
push eax
push 0
push esi
push 0x480870
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x60], eax
test eax, eax
setne al
pop esi
ret
Function at 0x486c60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x660038]
xor eax, esp
mov dword [esp + 0x214], eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea eax, [esp]
push eax
push 1
push 0
push str.SoftwareClasses_telnet_shellopencommand
push getpeername
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x486cbc
call fcn.00536ea0
xor al, al
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0054904e
add esp, 0x218
ret
push edi
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x5f7740
push ecx
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x486ca0
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov ecx, dword [esp + 0x214]
xor ecx, esp
mov al, 1
call fcn.0054904e
add esp, 0x218
ret

Function at 0x4870a0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5639c6
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x660038]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov eax, dword [0x677d34]
add eax, 0x40c
call fcn.00403c30
test eax, eax
je 0x48719f
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x30], 6
jb 0x487129
mov edx, dword [0x677d34]
add edx, 0x40c
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.0043a7f0
jmp 0x48712e
call fcn.004871d0
xor ecx, ecx
lea edi, [esp + 0x1c]
call fcn.004a89d0
mov dword [esp + 0x150], 0
mov eax, edi
call fcn.00497fe0
push eax
mov eax, 0x5fe988
lea esi, [esp + 0x18]
call fcn.004a3480
mov byte [esp + 0x150], 1
mov ecx, dword [0x677d34]
mov edx, dword [ecx + 0x40c]
mov edx, dword [edx + 8]
add ecx, 0x40c
push 0
mov eax, esi
push eax
call edx
mov byte [esp + 0x150], 0
mov ecx, esi
call fcn.004a34a0
mov dword [esp + 0x150], 0xffffffff
mov ecx, edi
call fcn.004a8b30
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0054904e
add esp, 0x148
ret
Function at 0x489010
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x551908
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 4
push 0
push 0
call fcn.00463b70
push eax
call sub.mfc90u.dll_AfxBeginThread
push 0
push 0x66ee3c
push 0x66ee20
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov ebx, dword [ebp + 8]
mov edi, eax
add esp, 0x14
mov eax, ebx
mov dword [esp + 0x14], edi
call fcn.004d03c0
mov eax, dword [eax]
push 0
push 0x66d6e8
push 0x66d704
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
push edi
add esi, 0xffffffa8
mov edi, eax
call fcn.00489c00
mov eax, ebx
call fcn.00464960
test al, al
jne 0x4890ea
push ebx
call fcn.004b2340
mov esi, eax
mov dword [esp + 0x18], esi
xor edi, edi
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x14]
push edi
push edi
push ecx
mov ecx, esi
call fcn.00464320
mov dword [esp + 0x28], 0xffffffff
cmp esi, edi
je 0x4890df
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
mov dword [esp + 0x1c], edi
call eax
mov eax, ebx
call fcn.00464960
test al, al
je 0x4890a7
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x489a20
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
push 0
push 4
push 0
push 0
mov esi, eax
call fcn.00463b70
push eax
call sub.mfc90u.dll_AfxBeginThread
push 0
push 0x66ee3c
push 0x66ee20
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
add esp, 0x14
mov ecx, esi
call edx
movzx eax, al
push eax
mov eax, esi
call fcn.0043e7b0
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x74]
mov ecx, esi
call eax
push ebx
mov ecx, eax
call fcn.00464320
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
mov ecx, esi
call eax
mov esi, dword [esp + 0x10]
push ebx
mov edi, eax
call fcn.00489c00
mov ecx, dword [ebx + 0x2c]
pop edi
pop esi
pop ebx
mov dword [esp + 4], ecx
jmp dword [sym.imp.KERNEL32.dll_ResumeThread]
Function at 0x489aa0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
lea ecx, [esi + 0x58]
mov eax, edi
call fcn.004061f0
test al, al
je 0x489b39
push 0
push 4
push 0
push 0
call fcn.00463b70
push eax
call sub.mfc90u.dll_AfxBeginThread
push 0
push 0x66ee3c
push 0x66ee20
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
mov ebx, eax
call fcn.00464400
mov eax, edi
mov ecx, esi
call fcn.004899d0
mov edx, dword [eax]
mov dword [esp + 0x14], eax
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
push ebx
mov edi, eax
call fcn.00489c00
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x17]
push edx
mov eax, esi
mov byte [esp + 0x1b], 0
call fcn.00489350
push ebx
mov esi, edi
call fcn.00464270
mov eax, dword [ebx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4