joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d990
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x3c]
cmp dword [esi + 8], 1
je 0x48d9a2
mov eax, dword [esi]
jmp 0x48d9b6
mov eax, dword [esi + 4]
xor edx, edx
mov ecx, 0x1ffff7
div ecx
imul eax, edx, 0x3e8
add eax, dword [esi]
cmp eax, 0x40
jne 0x48da1f
mov ecx, dword [0x7f5030]
mov eax, dword [0x7f5034]
cmp ecx, 0x257edfd1
jne 0x48d9d5
cmp eax, 0xb2ab117a
je 0x48d9e4
cmp ecx, 0x257edfd0
jne 0x48d9e8
cmp eax, 0xb2ab117a
jne 0x48d9e8
mov al, 1
jmp 0x48d9fc
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2745
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esp + 0x14], 0x2745
add eax, 2
mov dword [esp + 0x18], 0x7f5028
movq xmm0, qword [esp + 0x14]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
test al, 1
je 0x48da38
cmp eax, 1
jne 0x48dbbd
cmp dword [esi], 0
jne 0x48dbbd
cmp dword [esp + 0x30], 0
je 0x48db19
push edi
mov edi, dword [esp + 0x38]
test edi, edi
je 0x48db18
push ebp
lea eax, [esp + 0x44]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x50], 0
push eax
mov eax, dword [esp + 0x44]
push eax
push eax
push 0
push dword [esp + 0x4c]
call sub.MSWSOCK.dll_GetAcceptExSockaddrs
mov ebp, dword [esp + 0x44]
cmp ebp, dword [edi]
jbe 0x48db04
mov ecx, dword [0x7f5030]
mov eax, dword [0x7f5034]
cmp ecx, 0x257edfd1
jne 0x48dab8
cmp eax, 0xb2ab117a
je 0x48dac7
cmp ecx, 0x257edfd0
jne 0x48dacb
cmp eax, 0xb2ab117a
jne 0x48dacb
mov al, 1
jmp 0x48dadf
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2726
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esp + 0x1c], 0x2726
add eax, 2
mov dword [esp + 0x20], 0x7f5028
movq xmm0, qword [esp + 0x1c]
movq qword [esi], xmm0
mov dword [esi + 8], eax
jmp 0x48db17
push ebp
push dword [esp + 0x10]
push dword [esp + 0x40]
call fcn.006e0e90
add esp, 0xc
mov dword [edi], ebp
pop ebp
pop edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
cmp eax, 0xffffffff
jne 0x48db93
mov ecx, dword [0x7f5030]
mov eax, dword [0x7f5034]
cmp ecx, 0x257edfd1
jne 0x48db44
cmp eax, 0xb2ab117a
je 0x48db53
cmp ecx, 0x257edfd0
jne 0x48db57
cmp eax, 0xb2ab117a
jne 0x48db57
mov al, 1
jmp 0x48db6b
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esp + 0x14], 0x2719
add eax, 2
mov dword [esp + 0x18], 0x7f5028
movq xmm0, qword [esp + 0x14]
movq qword [esi], xmm0
mov dword [esi + 8], eax
pop esi
add esp, 0x1c
ret
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x700b
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne al
movzx eax, al
push eax
push esi
call fcn.0047ba10
add esp, 8
pop esi
add esp, 0x1c
ret
Function at 0x4921c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x4921ee
mov ecx, dword [edi + 4]
push 0
push 0x2719
push dword [esp + 0x28]
call fcn.0047cd40
pop edi
ret 0x1c
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x24]
push esi
push 0
push ebx
push dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push dword [esp + 0x28]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x49225c
cmp eax, 0x3e5
je 0x49225c
push dword [esp + 0x10]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.0047cd40
pop esi
pop ebx
pop edi
ret 0x1c
mov ecx, dword [edi + 4]
push ebx
call fcn.0047ce70
pop esi
pop ebx
pop edi
ret 0x1c
Function at 0x4927a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7137e5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x7f9c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 8]
test al, 1
je 0x49282f
cmp eax, 1
jne 0x4927de
cmp dword [esi], 0
je 0x49282f
push dword [ebp + 8]
lea ecx, [ebp - 0x5c]
call fcn.00494c90
movq xmm0, qword [esi]
mov eax, dword [esi + 8]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
mov eax, dword [edi]
add eax, 0x44
push eax
call fcn.004949d0
add esp, 0xc
lea ecx, [ebp - 0x5c]
call fcn.00467ed0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov ecx, dword [eax]
lea ebx, [eax + 4]
mov dword [ebp - 0x10], ecx
lea ecx, [eax + 0x44]
mov eax, dword fs:[0x2c]
mov dword [ebp + 0x10], ecx
mov ecx, dword [0x800e58]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 0xc], 0
jne 0x492862
call fcn.006dfa14
mov eax, dword [esi + 4]
test eax, eax
je 0x492871
mov eax, dword [eax + 4]
jmp 0x492873
xor eax, eax
push 4
push 0x90
push eax
push dword [ebp + 8]
call fcn.004603b0
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x18], esi
mov ecx, dword [ebx]
xorps xmm0, xmm0
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0x40]
movq qword [esi + 0x20], xmm0
push edi
mov dword [ebp - 4], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x49c7e0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0x47afc0
mov byte [esi + 0x3c], 0
call fcn.00494c90
push dword [ebp + 0x10]
lea ecx, [esi + 0x74]
push 0
push 0
call fcn.00464140
mov eax, dword [ebp + 0xc]
mov edx, 0x1c
push esi
push esi
mov ecx, 0x10
mov dword [ebp - 0x14], esi
cmp word [eax], 2
cmovne ecx, edx
push ecx
mov ecx, dword [ebp - 0x10]
push eax
push 1
push dword [ebx + 0x1c]
add ecx, 0x14
push ebx
call fcn.00480cd0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 2
call fcn.0049d4e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49d140
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x49d166
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
add esp, 0x10
ret
cmp dword [esp + 4], 0
jg 0x49d175
jl 0x49d151
cmp dword [esp], 0
jbe 0x49d151
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
xor esi, esi
call edi
test eax, eax
jne 0x49d1a1
nop word [eax + eax]
inc esi
cmp esi, 3
ja 0x49d1ec
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
je 0x49d190
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.006df410
mulsd xmm0, qword [0x7211b0]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
movsd qword [esp + 0x10], xmm0
call fcn.006df410
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.006df310
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
mov dword [ecx + 4], edx
add esp, 0x10
ret
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], 0
mov dword [eax + 4], 0
add esp, 0x10
ret
Function at 0x4a51d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x714f60
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x7f9c40]
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 ebx, ecx
mov dword [ebp - 0x4c], ebx
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x4a71d0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
movq qword [ebx + 0x20], xmm0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov al, byte [edx + 8]
mov byte [ebx + 0x38], al
mov eax, dword [edx + 0xc]
mov dword [ebx + 0x3c], eax
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x40], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0xc], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 4], 0
je 0x4a5297
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
call eax
jmp 0x4a529c
mov eax, 0x7fab48
add eax, 4
push 0x7fb084
push eax
call fcn.006e156a
add esp, 8
test eax, eax
jne 0x4a52eb
mov dword [ebp - 0x20], eax
lea ecx, [ebx + 0x48]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x14], 0x71daa8
call fcn.004636b0
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 3
je 0x4a5362
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call eax
add esp, 4
jmp 0x4a5362
cmp dword [edi + 0x10], 0
je 0x4a5382
mov eax, dword [edi + 0x18]
push edi
mov esi, dword [eax + 0x2c]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0xc]
call eax
lea ecx, [ebp - 0x4a]
push ecx
push eax
lea eax, [ebp - 0x68]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x48]
push eax
call fcn.004636b0
cmp dword [ebp - 0x58], 0
mov byte [ebp - 4], 1
je 0x4a5336
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x68]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0
push eax
lea ecx, [ebx + 0x48]
call fcn.004636b0
cmp dword [ebp - 0x38], 0
mov byte [ebp - 4], 2
je 0x4a535e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
lea eax, [ebp - 0x48]
push eax
call ecx
add esp, 4
mov byte [ebp - 4], 0
mov eax, ebx
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.006def69
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x74]
call fcn.004668b0
lea eax, [ebp - 0x74]
push eax
call fcn.00462a50
int3
Function at 0x4a77d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7123f5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x7f9c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 8]
test al, 1
je 0x4a785f
cmp eax, 1
jne 0x4a780e
cmp dword [esi], 0
je 0x4a785f
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.004848a0
movq xmm0, qword [esi]
mov eax, dword [esi + 8]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
push 0
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
mov eax, dword [edi]
add eax, 0x44
push eax
call fcn.004a82d0
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.00485500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov ecx, dword [eax]
lea ebx, [eax + 4]
mov dword [ebp - 0x10], ecx
lea ecx, [eax + 0x44]
mov eax, dword fs:[0x2c]
mov dword [ebp + 0x10], ecx
mov ecx, dword [0x800e58]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 0xc], 0
jne 0x4a7892
call fcn.006dfa14
mov eax, dword [esi + 4]
test eax, eax
je 0x4a78a1
mov eax, dword [eax + 4]
jmp 0x4a78a3
xor eax, eax
push 8
push 0x98
push eax
push dword [ebp + 8]
call fcn.004603b0
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x18], esi
mov ecx, dword [ebx]
xorps xmm0, xmm0
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0x40]
movq qword [esi + 0x20], xmm0
push edi
mov dword [ebp - 4], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4aaaa0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0x47afc0
mov byte [esi + 0x3c], 0
call fcn.004848a0
push dword [ebp + 0x10]
lea ecx, [esi + 0x78]
push 0
push 0
call fcn.00464140
mov eax, dword [ebp + 0xc]
mov edx, 0x1c
push esi
push esi
mov ecx, 0x10
mov dword [ebp - 0x14], esi
cmp word [eax], 2
cmovne ecx, edx
push ecx
mov ecx, dword [ebp - 0x10]
push eax
push 1
push dword [ebx + 0x1c]
add ecx, 0x14
push ebx
call fcn.00480cd0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 2
call fcn.0048aab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ac490
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71582d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x7f9c40]
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 dword [ebp - 0x234], edi
mov dword [ebp - 0x238], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CLog.0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], eax
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
push 7
push str.log.log
mov byte [ebp - 4], 3
call fcn.004517b0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x208
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.006e1410
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 1
jl 0x4ac67b
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x230], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ac586
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00451ed0
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x4ac620
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x4ac5eb
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4ac5e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac6a9
mov eax, edx
push ecx
push eax
call fcn.006dec1c
add esp, 8
movups xmm0, xmmword [ebp - 0x230]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov ecx, 7
movups xmmword [esi], xmm0
mov word [ebp - 0x230], ax
movq xmm0, qword [ebp - 0x220]
movq qword [esi + 0x10], xmm0
jmp 0x4ac626
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x4ac65c
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ac652
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac6a9
push ecx
push edx
call fcn.006dec1c
add esp, 8
push 8
push 0x722a3c
mov ecx, esi
call fcn.00457140
cmp dword [esi + 0x14], 7
jbe 0x4ac672
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [edi + 0x38]
mov dword [edi + 0x50], 4
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, edi
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.006def69
mov esp, ebp
pop ebp
ret
call fcn.006e51cf
int3
Function at 0x4ae140
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x1c]
test eax, eax
jg 0x4ae165
jl 0x4ae159
test esi, esi
jne 0x4ae165
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 0xc
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x4ae234
mov ebp, eax
lea ecx, [ebx + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4ae197
mov eax, dword [ecx]
mov eax, dword [eax]
jmp 0x4ae199
xor eax, eax
cdq
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x4ae1e6
jg 0x4ae1ac
test esi, esi
je 0x4ae1e6
cmp ebp, eax
jg 0x4ae1bc
jl 0x4ae1b6
cmp edi, esi
jae 0x4ae1bc
mov esi, edi
mov dword [esp + 0x10], ebp
push esi
push dword [esp + 0x18]
push dword [esp + 0x28]
call fcn.006e0e90
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x20]
sub edi, esi
sbb ebp, dword [esp + 0x10]
mov eax, dword [ecx]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x4ae206
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x4ae21e
mov edx, dword [esp + 0x20]
lea ecx, [ebx + 0x2c]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [edx], al
add edx, esi
mov dword [esp + 0x20], edx
test ebp, ebp
jg 0x4ae180
jl 0x4ae21e
test edi, edi
jne 0x4ae180
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x4ae279
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x4ae280
mov edi, dword [esp + 0x24]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call fcn.006e0e90
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x24]
jmp 0x4ae280
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x4ae2e9
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4ae2aa
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x4ae2d4
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.006ec36b
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x4ae2e9
cmp edi, eax
ja 0x4ae2b2
test edi, edi
je 0x4ae2e9
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.006ec36b
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x28]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4aebc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x715a80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x7f9c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx + 8]
lea esi, [ebx + 8]
mov dword [ebp - 0x10], 0
cmp edi, 0xffffffff
je 0x4aec20
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4aec20
cmp dword [ebp - 0x10], 0x103
jne 0x4aec20
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x4aec52
test eax, eax
je 0x4aec52
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.004af720
mov ecx, dword [ebx + 4]
push esi
mov byte [ebp - 4], 1
call fcn.004af9a0
lea ecx, [ebx + 0x10]
call fcn.0044cee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bdd40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [esp + 0x220]
lea eax, [esp + 0xc]
push 0x20a
push 0
push eax
mov dword [esp + 0x10], esi
call fcn.006e1410
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.006def69
add esp, 0x218
ret

Function at 0x4beb80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x11
call ebx
movsx esi, ax
sar esi, 0x1f
push 2
and esi, 8
call ebx
mov edi, esi
or edi, 1
test ax, ax
push 1
cmovns edi, esi
call ebx
mov esi, edi
or esi, 2
test ax, ax
push 0x10
cmovns esi, edi
call ebx
mov edi, esi
or edi, 4
test ax, ax
push 0x12
cmovns edi, esi
call ebx
mov ecx, edi
or ecx, 0x20
test ax, ax
cmovns ecx, edi
pop edi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x4c0730
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x1c4]
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov edi, dword [esp + 0x34]
test eax, eax
jle 0x4c0790
nop
push esi
lea ecx, [ebx + 0x1c4]
mov byte [esp + 0x38], 0
call sym.ClientofCSP.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
lea ecx, [esp + 0x34]
push ecx
push dword [esp + 0x40]
mov edx, dword [eax]
mov ecx, eax
push dword [esp + 0x40]
push edi
call dword [edx]
cmp byte [esp + 0x34], 0
jne 0x4c08ed
lea ecx, [ebx + 0x1c4]
inc esi
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x4c0750
sub edi, 0x100
je 0x4c0875
sub edi, 4
je 0x4c0803
sub edi, 2
jne 0x4c0869
push dword [esp + 0x38]
mov dword [esp + 0x38], edi
call fcn.006f5550
mov ecx, dword [ebx + 0x144]
lea edx, [esp + 0x38]
add esp, 4
mov word [esp + 0x34], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_ioctlsocket
push edx
push sym.ClientofCSP.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x4c0869
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0x10
cmp dword [ebx + 0x148], 0
je 0x4c0869
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0x15c]
mov word [esp + 0x24], ax
mov eax, dword [ebx + 0x158]
mov dword [esp + 0x14], 0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x10], 6
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.004beb80
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 0x10
cmp dword [esp + 0x38], 9
jne 0x4c0869
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x4c08d4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4c08d4
mov ecx, dword [ebx + 0x148]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x4c08d4
mov ecx, dword [ebx + 0x148]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.006e1892
add esp, 8
test eax, eax
je 0x4c08d4
mov ecx, dword [ebx + 0x148]
call sym.ClientofCSP.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x4c0869
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr ax, 0xf
mov ecx, ebx
xor al, 1
movzx eax, al
push eax
call sym.ClientofCSP.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0x10