joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488930
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov al, byte [esi + 0x18]
test al, al
jne 0x488945
push 0
push 1
push 2
jmp 0x488952
cmp al, 1
jne 0x48895b
push 0x4e8
push 5
push 6
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 8], eax
cmp dword [esi + 8], 0xffffffff
jne 0x488972
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.socket___Failure____d
jmp 0x488a5a
mov al, byte [esi + 0x18]
push edi
test al, al
jne 0x488981
mov edi, 0x10
jmp 0x48898e
cmp al, 1
mov edi, 0xe
je 0x48898e
mov edi, dword [esp + 0x1c]
mov dx, word [esi + 0x20]
xor ecx, ecx
mov dword [esp + 8], ecx
push edx
mov dword [esp + 0x10], ecx
mov word [esp + 0xc], 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0xe], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push edi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
pop edi
jne 0x4889fc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [esp + 0x18]
push eax
push str.bind___Failure____d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor al, al
pop esi
add esp, 0x10
ret 4
mov eax, dword [esi + 8]
push bind
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x488a33
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x18]
push eax
push str.listen___Failure____d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor al, al
pop esi
add esp, 0x10
ret 4
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov edx, dword [esi + 8]
push 8
push eax
push edx
mov dword [esi + 0xc], eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x488a71
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSAEventSelect___Failure____d
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor al, al
pop esi
add esp, 0x10
ret 4
mov al, 1
pop esi
add esp, 0x10
ret 4

Function at 0x4911a3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4911c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00494291
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4911e6
test byte [esp + 8], 2
je 0x4911e6
call fcn.00494304
mov dword [eax], 0xd
call fcn.0049430d
mov dword [eax], 5
jmp 0x4911bf
xor eax, eax
ret
Function at 0x49adc8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4dc2e8
cmp edx, dword [eax]
je 0x49adea
add eax, 8
inc ecx
cmp eax, 0x4dc378
jl 0x49addb
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4dc2e8]
jne 0x49af18
mov eax, dword [0x4f68f0]
cmp eax, 1
je 0x49aef2
test eax, eax
jne 0x49ae1b
cmp dword [0x4d9884], 1
je 0x49aef2
cmp edx, 0xfc
je 0x49af18
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x49ae52
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0049b8e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00494d30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x49ae95
lea eax, [ebp - 0x1a4]
push eax
call fcn.00494d30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bb868
push edi
call fcn.00492600
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0049b8e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0049b8f0
lea eax, [ebp - 0xa0]
push 0x4bb848
push eax
call fcn.0049b8f0
push dword [esi + 0x4dc2ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.0049b8f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0049ccde
add esp, 0x2c
pop edi
jmp 0x49af18
lea eax, [ebp + 8]
lea esi, [esi + 0x4dc2ec]
push 0
push eax
push dword [esi]
call fcn.00494d30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4a0d00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00491330
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4a0dcb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4a0dcb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4a0d7e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4a0d89
or bh, 8
and edi, 0x8000000
je 0x4a0da4
mov eax, dword [0x5003bc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4a0dcb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a11a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4a11cb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4a11ef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4a120a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4a2cc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4a2ce8
cmp dword [edi + 0x3c], 0
jne 0x4a2ce8
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004abb37
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004a2d15
pop edi
pop esi
pop ebx
ret 8

Function at 0x4a4311
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a4349
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.004a6fc0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a6f98
jmp 0x4a4355
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a5942
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 0x4a5984
call fcn.004abb37
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a5984
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a597b
xor eax, eax
jmp 0x4a598c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a5992
pop edi
pop esi
pop ebx
ret 4
Function at 0x1000199d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d170]
jne 0x100019a7
repz ret
jmp fcn.1000402a

Function at 0x1000880c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000d170]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10002eb8
and dword [ebp - 0x14], 0
cmp dword [0x1000eb2c], 0
mov dword [ebp - 0x18], eax
jne 0x100088bf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10008967
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10008967
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000eb2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000eb30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000eb34], eax
call edi
push eax
call esi
mov dword [0x1000eb3c], eax
test eax, eax
je 0x100088bf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000eb38], eax
mov eax, dword [0x1000eb38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10008918
cmp dword [0x1000eb3c], ecx
je 0x10008918
push eax
call esi
push dword [0x1000eb3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10008918
test ebx, ebx
je 0x10008918
call edi
test eax, eax
je 0x1000890f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000890f
test byte [ebp - 8], 1
jne 0x10008918
or dword [ebp + 0x10], 0x200000
jmp 0x1000894b
mov eax, dword [0x1000eb30]
cmp eax, dword [ebp - 0x18]
je 0x1000894b
push eax
call esi
test eax, eax
je 0x1000894b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000894b
mov eax, dword [0x1000eb34]
cmp eax, dword [ebp - 0x18]
je 0x1000894b
push eax
call esi
test eax, eax
je 0x1000894b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000eb2c]
call esi
test eax, eax
je 0x10008967
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10008969
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000199d
leave
ret
Function at 0x10009110
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push 0x214
push 0x1000bd20
call fcn.100092a0
xor ebx, ebx
mov byte [ebp - 0x120], bl
mov esi, 0x103
push esi
push ebx
lea eax, [ebp - 0x11f]
push eax
call fcn.10002ae0
mov byte [ebp - 0x224], bl
push esi
push ebx
lea eax, [ebp - 0x223]
push eax
call fcn.10002ae0
add esp, 0x18
mov eax, dword [ebp + 0x10]
lea esi, [ebp - 0x224]
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
cmp cl, bl
jne 0x1000915c
lea eax, [ebp + 0x10]
push eax
push 0x1000b900
lea eax, [ebp - 0x224]
push eax
call section..text
add esp, 0xc
push 3
push ebx
push ebx
push dword [ebp + 0x10]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push str.__DLL__
push ebx
mov edi, 0x1f0001
push edi
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
call esi
mov dword [ebp - 0x1c], eax
push str.__TLS__
push ebx
push edi
call esi
mov esi, eax
cmp dword [ebp - 0x1c], ebx
jne 0x10009279
push str.__DLL__
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp esi, ebx
jne 0x10009279
push 0x104
lea eax, [ebp - 0x120]
push eax
push dword [0x1000eb48]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov byte [ebp - 0x11d], bl
xor eax, eax
mov cl, byte [ebp + eax - 0x224]
mov byte [ebp + eax - 0x120], cl
inc eax
cmp cl, bl
jne 0x100091f1
push 0x1000b92c
lea eax, [ebp - 0x120]
push eax
call fcn.1000119c
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x10009279
push esi
call fcn.10002a41
push eax
call fcn.1000901a
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
push 0x40
mov eax, 0x1000
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
push esi
push dword [ebp - 0x1c]
push 1
push edi
call fcn.100013fd
add esp, 0x10
mov dword [ebp - 4], ebx
call edi
or dword [ebp - 4], 0xffffffff
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call fcn.10001487
pop ecx
jmp 0x10009279
call fcn.100092db
ret 0x10
Function at 0x4d3740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x89000]
push edi
or ebp, 0xffffffff
jmp 0x4d3762
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d3769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d3758
mov eax, 1
add ebx, ebx
jne 0x4d377b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d378c
jne 0x4d37ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d37ab
dec eax
add ebx, ebx
jne 0x4d3798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d3770
add ebx, ebx
jne 0x4d37a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d37fd
xor ecx, ecx
sub eax, 3
jb 0x4d37c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d3832
sar eax, 1
mov ebp, eax
jmp 0x4d37ce
add ebx, ebx
jne 0x4d37ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d379c
inc ecx
add ebx, ebx
jne 0x4d37dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d379c
add ebx, ebx
jne 0x4d37e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d37de
jne 0x4d37fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d37de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d381c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d380e
jmp 0x4d375e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d381c
add edi, ecx
jmp 0x4d375e
pop esi
mov edi, esi
mov ecx, 0x3aff
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d383a
cmp byte [edi], 0x16
jne 0x4d383a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4d383f
lea edi, [esi + 0xd0000]
mov eax, dword [edi]
or eax, eax
je 0x4d38ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd5930]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd59e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d386c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd59e8]
or eax, eax
je 0x4d38a8
mov dword [ebx], eax
add ebx, 4
jmp 0x4d3889
call dword [esi + 0xd59f8]
mov ebp, dword [esi + 0xd59ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4d38e2
sub esp, 0xffffff80
jmp 0x47dac4
Function at 0x409dd0
Capabilities:
Print debug messages
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push ebx
push esi
push edi
mov esi, ecx
push str.OnBack
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x614]
add esi, 0x614
xor ebx, ebx
cmp eax, ebx
je 0x409e0e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409e0e
push dword [esi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x7d
xor eax, eax
pop ecx
lea edi, [ebp - 0x200]
rep stosd dword es:[edi], eax
push 0x4551a4
lea eax, [ebp - 0x200]
push 0x1f4
push eax
push 0x45517c
push 0x44e5c8
push 0x44e5d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 0x80
push 3
push ebx
push 3
lea eax, [ebp - 0x200]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x409e9a
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 2
push eax
push esi
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], 0x2a
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
mov byte [ebp - 4], 1
call fcn.0041ae9d
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40cba0
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [ebp + 8], edi
jne 0x40cbcd
add esi, 0xa44
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40cc83
lea eax, [ebp - 4]
push eax
push 0x446dd0
push 1
push edi
push 0x446de0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40cc6f
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x446df0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x40cc6f
mov eax, dword [ebp - 4]
lea edx, [esi + 0x644]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jl 0x40cc6f
mov eax, dword [ebp - 4]
push str.http:__www.zhaozhaola.com_
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jl 0x40cc6f
mov eax, dword [ebp - 4]
push 0x4551a0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jl 0x40cc6f
lea eax, [ebp - 0x210]
push 0x104
push eax
add esi, 0xa44
push 0xffffffffffffffff
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x210]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x40cc6f
push 1
pop edi
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x40e2c9
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x43df50
call fcn.0041e498
sub esp, 0x108
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
xor esi, esi
lea ebx, [ecx + 0x1e]
lea ecx, [ebp - 0x10]
call fcn.0040397c
and dword [ebp - 4], 0
lea eax, [esi + 0x190]
mov word [ebx], ax
lea ecx, [ebp - 0x10]
movzx eax, ax
push eax
call fcn.0043686f
push 0x4551a4
lea eax, [ebp - 0x114]
push 0xff
push eax
push 0x4552c0
lea ecx, [ebp - 0x10]
call fcn.00401751
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [ebp - 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40e350
mov ecx, dword [ebp - 0x14]
push esi
lea eax, [ecx + 4]
push eax
call fcn.0040e388
jmp 0x40e360
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x114]
push eax
push esi
call fcn.0040e3d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00435f75
inc esi
add ebx, 0x1c
cmp esi, 7
jl 0x40e2e4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x416529
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43e6d7
call fcn.0041e498
sub esp, 0x18
push ebx
push esi
push edi
mov esi, str.handstar.htm
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.004016a6
push dword [eax + 0x8c]
lea ecx, [ebp - 0x10]
call fcn.00435fe3
xor ebx, ebx
push 0x450a64
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.004361ea
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x10]
push eax
call fcn.004361ea
push 0x450a68
push 0x450a6c
lea ecx, [ebp - 0x10]
call fcn.0042fd73
lea ecx, [ebp - 0x14]
call fcn.0040397c
push 0x12c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00436211
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00401751
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00436260
push 1
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00435f75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00435f75
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4