joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cd11
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4218
call fcn.0056f680
mov eax, dword [0x649ffc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x4000
lea eax, [ebp - 0x420c]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.00586790
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41cd4e
mov eax, dword [esi]
lea ecx, [ebp - 0x4214]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x41ce1a
cmp eax, 0x3fff
ja 0x41ce1a
cmp dword [esi + 0x14], 8
jb 0x41cd77
mov esi, dword [esi]
lea ecx, [ebp - 0x420c]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41ce1a
lea eax, [ebp - 0x4218]
push eax
lea eax, [ebp - 0x4210]
push eax
push 0x5fbab0
lea eax, [ebp - 0x420c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41ce1a
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00586790
mov ecx, dword [ebp - 0x4210]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.00411979
lea eax, [ebp - 0x20c]
push eax
call fcn.0059771b
add esp, 0x2c
mov ecx, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00409cd1
xor eax, eax
inc eax
jmp 0x41ce1c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056e987
leave
ret
Function at 0x41d00e
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5142
mov eax, dword fs:[0]
push eax
mov eax, 0x63360
call fcn.0056f680
mov eax, dword [0x649ffc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ax, word [0x5fa498]
xor ebx, ebx
mov edi, dword [ebp + 8]
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
push eax
call fcn.00586790
push 0x208
lea eax, [ebp - 0x62c]
push ebx
push eax
call fcn.00586790
add esp, 0x18
lea eax, [ebp - 0x62c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.safelive
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x424]
push eax
push str._s.cab
lea eax, [ebp - 0x21c]
push 0x103
push eax
call fcn.00411979
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6336c]
call fcn.00412e73
lea ecx, [ebp - 0x6336c]
mov dword [ebp - 4], ebx
call fcn.0041340f
xor eax, eax
inc eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x60f04], eax
jb 0x41d0fd
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x6336c]
call fcn.0041bc43
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x60cc4], 0x493e0
push eax
lea ecx, [ebp - 0x6336c]
call fcn.0041bc75
lea ecx, [ebp - 0x6336c]
call fcn.0041335f
lea ecx, [ebp - 0x6336c]
call fcn.0041366f
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d1f2
push 0x5fbab0
mov edx, 0x65a760
lea ecx, [ebp - 0x644]
call fcn.00410805
pop ecx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x644]
cmp dword [ebp - 0x630], 8
lea ecx, [ebp - 0x674]
cmovae eax, dword [ebp - 0x644]
push eax
call fcn.00409872
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x65c]
call fcn.00409872
lea edx, [ebp - 0x674]
lea ecx, [ebp - 0x65c]
call fcn.0041c124
lea ecx, [ebp - 0x65c]
mov esi, eax
call fcn.00409db5
lea ecx, [ebp - 0x674]
call fcn.00409db5
test esi, esi
je 0x41d1e7
cmp dword [edi + 0x14], 8
jb 0x41d1d5
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
lea ecx, [ebp - 0x644]
call fcn.00409db5
lea ecx, [ebp - 0x6336c]
call fcn.00413144
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056e987
leave
ret
Function at 0x41d573
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x649ffc]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
mov ebx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
push esi
or eax, 0x2001f
mov dword [esp + 0x1c], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
call fcn.004118fe
jmp 0x41d5cb
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.0041d573
mov esi, eax
test esi, esi
jne 0x41d61f
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41d5bd
cmp dword [esp + 0xc], esi
je 0x41d60e
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.0041d4fa
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x41d630
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0056e987
mov esp, ebp
pop ebp
ret 4

Function at 0x41d648
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x41ead8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp + 8]
add eax, 0x18
add eax, edx
mov dword [ebp - 8], eax
add eax, 0xc
cmp ecx, dword [eax]
jae 0x41eaf8
mov eax, ecx
leave
ret
push ebx
push esi
push edi
movzx edi, word [edx + 6]
xor esi, esi
test edi, edi
je 0x41eb38
lea ebx, [esi + 1]
cmp ebx, edi
jne 0x41eb17
mov ecx, dword [edx + 0x50]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
jmp 0x41eb1d
mov edi, dword [eax + 0x28]
mov dword [ebp - 4], edi
mov edi, dword [eax]
cmp ecx, edi
mov dword [ebp - 0xc], edi
movzx edi, word [edx + 6]
jb 0x41eb2f
cmp ecx, dword [ebp - 4]
jb 0x41eb40
mov esi, ebx
add eax, 0x28
cmp esi, edi
jb 0x41eb05
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ebp - 8]
imul eax, esi, 0x28
mov eax, dword [eax + edx + 0x14]
sub eax, dword [ebp - 0xc]
add eax, ecx
jmp 0x41eb3b
Function at 0x41ef87
Capabilities:
Query or enumerate registry value

Disassembly:
jmp fcn.0041ef3e
push ebx
push esi
mov esi, ecx
test esi, esi
je 0x41efd8
xor ebx, ebx
cmp word [esi], bx
je 0x41efd8
push edi
call fcn.0041f00f
mov edi, eax
test edi, edi
je 0x41efd0
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov ecx, dword [0x662c38]
cmp ecx, dword [edx + 4]
jg 0x41efdd
mov eax, dword [0x662c3c]
test eax, eax
je 0x41efd0
push ebx
push 2
push 2
push esi
call eax
add esp, 0x10
pop edi
jmp 0x41efda
pop edi
pop esi
pop ebx
jmp 0x41ef82
xor eax, eax
pop esi
pop ebx
ret
push 0x662c38
call fcn.0056f033
pop ecx
cmp dword [0x662c38], 0xffffffff
jne 0x41efb9
push str.CanReportURL
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x662c38
mov dword [0x662c3c], eax
call fcn.0056efe9
pop ecx
jmp 0x41efb9

Function at 0x41f322
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5b51b8
call fcn.0056fe77
mov edi, ecx
cmp dword [0x653fcc], 0
mov ebx, dword [ebp + 8]
je 0x41f413
call fcn.00408dbd
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0x200
call fcn.004097bf
lea esi, [edi + 4]
push esi
call fcn.0059771b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040998b
mov esi, 0x5fa19c
push esi
call fcn.0059771b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040998b
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x41f39a
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040998b
mov esi, 0x5fa068
push esi
call fcn.0059771b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040998b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [edi], 0xffffffff
je 0x41f40b
push 2
xor esi, esi
push esi
push esi
push dword [edi]
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x2c]
push esi
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea ecx, [ebp - 0x28]
call fcn.00409db5
call fcn.0056fe21
ret 4
Function at 0x41f4f3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push ebx
call fcn.0059771b
mov esi, eax
pop ecx
test esi, esi
jle 0x41f571
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41f571
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [esi*2 + 2]
push eax
push 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41f56b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41f564
push dword [ebp - 4]
push ebx
push eax
call fcn.005868f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41f564
inc edi
jmp 0x41f56b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4210c5
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x421181
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f8330]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f8330]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f8330]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f8330]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f8330]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f8330]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f8330]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f8330]
sub edi, 1
jne 0x4210da
pop edi
test esi, esi
je 0x42119d
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f8330]
inc edx
sub esi, 1
jne 0x421185
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4211a4
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x5f8330]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f8330]
mov dword [edi + 8], ecx
pop edi
pop esi
ret
Function at 0x421988
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov ecx, ebx
imul ecx, dword [ebp + 8]
cmp byte [edi], 0
je 0x4219c1
push 0
lea edx, [ebp + 8]
push edx
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4219bc
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x4219eb
mov edx, dword [edi + 0x1c]
push esi
mov esi, dword [edi + 0x18]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ecx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.005868f0
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
pop esi
xor edx, edx
pop edi
div ebx
pop ebx
leave
ret

Function at 0x422dd1
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x649ffc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x422e03
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x422e03
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x422eb7
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x422e22
cmp dx, 0x5c
jne 0x422e24
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x422e16
cmp esi, ebx
je 0x422e6a
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.005868f0
add esp, 0xc
cmp esi, 0x208
jae 0x422ec5
xor eax, eax
lea edx, [ebp - 0x414]
mov ecx, edi
mov word [ebp + esi - 0x414], ax
call fcn.00422dd1
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x422e87
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00597ac3
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00597a92
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x422eb7
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0056e987
leave
ret
call fcn.0056eaf7
int3
Function at 0x424ce7
Capabilities:
Create process on windows

Disassembly:
push 0x1c
mov eax, 0x5b50fc
call fcn.0056fe77
lea ecx, [ebp - 0x28]
call fcn.0044e092
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0xf2e
push str.HealthMgr::Update360dm
push str.__s__d___HealthMgr::Update360dm_strPath___s
call fcn.00408e0e
add esp, 0x10
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
call fcn.0041eac2
test eax, eax
je 0x424d5d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push str.__update
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x28]
call fcn.00409db5
call fcn.0056fe21
ret

Function at 0x4351ec
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x435255
cmp dword [ebp + 0xc], 0x104
jne 0x43522a
cmp dword [ebp + 0x10], 0x73
jne 0x43522a
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x43522a
mov eax, dword [ecx]
call dword [eax + 4]
cmp eax, dword [ebp + 8]
jne 0x435255
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x435255
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x435255
cmp dword [ebp + 0x10], 0x7b
jne 0x435255
mov ecx, dword [esi + 0x58]
push 0
push 4
mov eax, dword [ecx]
call dword [eax + 0x5c]
push dword [ebp + 8]
mov ecx, esi
call fcn.00439995
pop esi
pop ebp
ret 0x10

Function at 0x4372c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x67
push ebx
push edi
mov ebx, ecx
jne 0x437337
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 2
movzx edi, ax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xf
or ax, di
pop ecx
bt ax, cx
jb 0x437301
push 0x67
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x437347
call dword [sym.imp.USER32.dll_GetMessagePos]
mov ecx, dword [ebx + 0x58]
movsx edx, ax
sub edx, dword [ebx + 0x64]
shr eax, 0x10
cwde
sub eax, dword [ebx + 0x68]
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x74], eax
test ecx, ecx
je 0x437347
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [ecx]
push edx
push 0
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp + 0xc], 0x68
jne 0x437347
call fcn.00424632
call fcn.00424d6b
mov eax, dword [ebp + 0x14]
pop edi
pop ebx
and dword [eax], 0
xor eax, eax
pop ebp
ret 0x10
Function at 0x4392e9
Capabilities:
Check if file exists

Disassembly:
push 0x48
mov eax, 0x5b70b7
call fcn.0056fe77
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x4393c4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43930f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4393c4
lea ecx, [ebp - 0x54]
call fcn.004a2610
push 0x5fd7bc
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00403a6b
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x54]
call fcn.004a4370
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00403cb7
push str.type
lea ecx, [ebp - 0x44]
call fcn.00403a6b
push 1
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x54]
call fcn.004a4280
lea ecx, [ebp - 0x44]
call fcn.00403cb7
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
push 8
lea ecx, [ebp - 0x54]
call fcn.004a2e70
push eax
call fcn.004a5210
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4393b2
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00438e6b
lea ecx, [ebp - 0x2c]
call fcn.00403cb7
lea ecx, [ebp - 0x54]
call fcn.004a2870
jmp 0x4393c6
xor al, al
call fcn.0056fe21
ret 4
Function at 0x43b4a9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x68
push ebx
mov ebx, ecx
jne 0x43b519
push edi
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 2
movzx edi, ax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xf
or ax, di
pop ecx
bt ax, cx
pop edi
jb 0x43b4e3
push 0x68
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x43b519
call dword [sym.imp.USER32.dll_GetMessagePos]
mov ecx, dword [ebx + 0x4c]
movsx edx, ax
sub edx, dword [ebx + 0x58]
shr eax, 0x10
cwde
sub eax, dword [ebx + 0x5c]
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x64], eax
test ecx, ecx
je 0x43b519
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [ecx]
push edx
push 0
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0x14]
pop ebx
and dword [eax], 0
xor eax, eax
pop ebp
ret 0x10

Function at 0x43b6f2
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x43b719
mov eax, dword [ecx]
push 0
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x10
push dword [esi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret

Function at 0x43cdef
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x67
push ebx
mov ebx, ecx
jne 0x43ce5f
push edi
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 2
movzx edi, ax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xf
or ax, di
pop ecx
bt ax, cx
pop edi
jb 0x43ce29
push 0x67
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x43ce5f
call dword [sym.imp.USER32.dll_GetMessagePos]
mov ecx, dword [ebx + 0x30]
movsx edx, ax
sub edx, dword [ebx + 0x3c]
shr eax, 0x10
cwde
sub eax, dword [ebx + 0x40]
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], eax
test ecx, ecx
je 0x43ce5f
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [ecx]
push edx
push 0
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0x14]
pop ebx
and dword [eax], 0
xor eax, eax
pop ebp
ret 0x10

Function at 0x43d005
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x43d02c
mov eax, dword [ecx]
push 0
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x10
push dword [esi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x43e1b4
Capabilities:
Link many functions at runtime

Disassembly:
push 0x34
mov eax, 0x5b4e22
call fcn.0056fe77
mov edi, ecx
lea esi, [edi + 0x6c]
push esi
lea ecx, [ebp - 0x28]
call fcn.00409872
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0049ea30
lea ecx, [ebp - 0x28]
call fcn.00409db5
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x43e334
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Init
push eax
call esi
push str.UnInit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.TaskCreate
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.TaskDelete
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.TaskStart
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.TaskPause
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.ForceTaskPause
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.TaskQuery
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.TaskQueryEx
push dword [edi]
mov dword [edi + 0x20], eax
call esi
push str.TaskGetStat
push dword [edi]
mov dword [edi + 0x24], eax
call esi
push str.TaskGetLog
push dword [edi]
mov dword [edi + 0x28], eax
call esi
push str.SetProxy
push dword [edi]
mov dword [edi + 0x2c], eax
call esi
push str.LimitSpeed
push dword [edi]
mov dword [edi + 0x38], eax
call esi
push str.SetUploadSpeedLimit
push dword [edi]
mov dword [edi + 0x30], eax
call esi
push str.DelTempFile
push dword [edi]
mov dword [edi + 0x34], eax
call esi
push str.GetFilenameByURL
push dword [edi]
mov dword [edi + 0x3c], eax
call esi
push str.ChangeTaskPath
push dword [edi]
mov dword [edi + 0x40], eax
call esi
push str.SetRetry
push dword [edi]
mov dword [edi + 0x44], eax
call esi
push str.SetUserAgent
push dword [edi]
mov dword [edi + 0x48], eax
call esi
push str.SetConfigString
push dword [edi]
mov dword [edi + 0x4c], eax
call esi
mov dword [edi + 0x50], eax
push str.SetConfigInt
push dword [edi]
call esi
push str.SetConfigOption
push dword [edi]
mov dword [edi + 0x54], eax
call esi
push str.SetVipStatus
push dword [edi]
mov dword [edi + 0x58], eax
call esi
push str.XL_SetThreadNum
push dword [edi]
mov dword [edi + 0x5c], eax
call esi
push str.GetFilesInfoForUri
push dword [edi]
mov dword [edi + 0x60], eax
call esi
push str.SetTaskConfig
push dword [edi]
mov dword [edi + 0x64], eax
call esi
mov dword [edi + 0x68], eax
lea ecx, [ebp - 0x40]
call fcn.0049ea70
call fcn.0056fe21
ret