joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4abd30
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x30
push esi
push edi
push 0
push 0x4abcd0
push 0
push 0
mov dword [0x70cfb4], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
push eax
call edi
lea edx, [esp + 0x28]
push edx
push esi
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [0x70cfb4]
sub eax, dword [esp + 8]
cmp ecx, 1
jle 0x4abdc2
test ecx, ecx
jle 0x4abdc2
mov edx, 0x70cee8
mov esi, ecx
mov ecx, dword [edx]
cmp ecx, eax
jle 0x4abdba
mov eax, ecx
add edx, 0x10
sub esi, 1
jne 0x4abdb2
pop edi
pop esi
add esp, 0x30
ret

Function at 0x4abe40
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x30
push esi
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 8]
push ecx
push eax
call edi
lea edx, [esp + 0x28]
push edx
push esi
call edi
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x30
ret

Function at 0x4abe90
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x30
push esi
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 8]
push ecx
push eax
call edi
lea edx, [esp + 0x28]
push edx
push esi
call edi
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x30
ret

Function at 0x4abee0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x30
push esi
push edi
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
push eax
call edi
lea edx, [esp + 0x28]
push edx
push esi
call edi
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x30
ret
Function at 0x4ac890
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004e9ba0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x226]
push eax
mov word [esp + 0x228], dx
call fcn.004e9ba0
add esp, 0x18
push 0
push 0x2b
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
add eax, 0xfffffffe
jmp 0x4ac900
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4ac900
mov edx, dword [str._shiqiang_]
mov ecx, dword [0x61524c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [eax], edx
mov edx, dword [0x615250]
mov dword [eax + 4], ecx
mov ecx, dword [0x615254]
mov dword [eax + 8], edx
mov edx, dword [0x615258]
mov dword [eax + 0xc], ecx
mov cx, word [0x61525c]
mov dword [eax + 0x10], edx
lea edx, [esp + 8]
push edx
mov word [eax + 0x14], cx
call esi
test eax, eax
jne 0x4ac960
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
jmp 0x4ac970
movzx ecx, word [esp + eax + 8]
mov word [esp + eax + 0x210], cx
add eax, 2
test cx, cx
jne 0x4ac970
lea eax, [esp + 0x210]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4ac990
mov ecx, dword [str.wnsoft.ini]
mov edx, dword [0x615234]
mov dword [eax], ecx
mov ecx, dword [0x615238]
mov dword [eax + 4], edx
mov edx, dword [0x61523c]
mov dword [eax + 8], ecx
mov ecx, dword [0x615240]
mov dword [eax + 0xc], edx
mov dx, word [0x615244]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
lea eax, [esp + 8]
push eax
call esi
test eax, eax
je 0x4aca51
mov edx, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x210]
push ecx
push edx
push str.OnlyIdentifier1
push str.Globals
call esi
mov ecx, dword [edi]
lea eax, [esp + 0x210]
push eax
add ecx, 0x208
push ecx
push str.OnlyIdentifier2
push str.Globals
call esi
mov eax, dword [edi]
lea edx, [esp + 0x210]
push edx
add eax, 0x410
push eax
push str.OnlyIdentifier3
push str.Globals
call esi
mov edx, dword [edi]
lea ecx, [esp + 0x210]
push ecx
add edx, 0x618
push edx
push 0x6151b0
push str.Globals
call esi
mov ecx, dword [esp + 0x418]
pop edi
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0x414
ret
Function at 0x4aca70
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.software
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4acb4e
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push str.ShiQiang
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4acb4e
mov eax, dword [esi]
mov ecx, dword [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
push eax
push 1
push 0
push str.OnlyIdentifier1
push ecx
call edi
mov edx, dword [esi]
mov eax, dword [esp + 8]
push 0x104
add edx, 0x208
push edx
push 1
push 0
push str.OnlyIdentifier2
push eax
call edi
mov ecx, dword [esi]
mov edx, dword [esp + 8]
push 0x104
add ecx, 0x410
push ecx
push 1
push 0
push str.OnlyIdentifier3
push edx
call edi
mov eax, dword [esi]
mov ecx, dword [esp + 8]
push 0x104
add eax, 0x618
push eax
push 1
push 0
push 0x6151b0
push ecx
call edi
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
pop edi
pop esi
add esp, 8
ret

Function at 0x4ad330
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x63c
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x638], eax
push esi
mov esi, dword [esp + 0x644]
xor eax, eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2e]
push edx
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
mov word [esp + 0x30], cx
call fcn.004e9ba0
add esp, 0xc
push 0x104
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 3
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004eed0d
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x44a]
push ecx
mov word [esp + 0x44c], ax
call fcn.004e9ba0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x24e]
push eax
mov word [esp + 0x250], dx
call fcn.004e9ba0
add esp, 0x24
push 0x104
lea ecx, [esp + 0x230]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x104
lea edx, [esp + 0x44c]
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4ad45b
mov ecx, dword [esp + 4]
push ecx
push str._08X
push esi
call fcn.00403b80
add esp, 0xc
pop esi
mov ecx, dword [esp + 0x638]
xor ecx, esp
call fcn.004e8c89
add esp, 0x63c
ret 4
mov eax, 0x5fd0cc
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4ad464
mov ecx, dword [esp + 0x63c]
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0x63c
ret 4
Function at 0x4aebd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5eda56
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
lea esi, [edi + 0xc]
mov ecx, esi
mov dword [edi], vtable.CHttpPageResponse.0
call fcn.00435580
xor eax, eax
lea ebx, [edi + 0x28]
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], eax
mov dword [esp + 0x28], eax
mov byte [ebx + 4], al
mov ecx, dword [esp + 0x30]
mov dword [edi + 4], ecx
mov byte [edi + 8], al
mov ebp, dword [esi + 0x10]
mov byte [esp + 0x28], 1
cmp dword [esi + 0xc], ebp
jbe 0x4aec3f
call fcn.004ea132
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x4aec5a
call fcn.004ea132
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
push ebp
push edx
push ecx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.004ae230
mov ecx, ebx
call fcn.0041daa0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4

Function at 0x4af020
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5e781b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push 0x5c
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x4af069
mov ecx, eax
call fcn.004aea50
jmp 0x4af06b
xor eax, eax
mov edi, dword [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x48], eax
lea ebx, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4af080
sub ecx, ebx
push ecx
push edi
lea ecx, [eax + 8]
call fcn.00401a20
mov eax, dword [esi + 0x48]
mov dword [eax + 4], 1
mov ecx, dword [esi + 0x48]
push 9
push str.GET_test1
add ecx, 0x3c
call fcn.00401a20
lea ecx, [esi + 0x1c]
push ecx
push 0
push esi
push 0x4aeea0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4af0da
cmp eax, 0xffffffff
je 0x4af0da
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4af0f0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5e781b
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push 0x5c
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x4af139
mov ecx, eax
call fcn.004aea50
jmp 0x4af13b
xor eax, eax
mov edi, dword [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x48], eax
lea ebp, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4af150
sub ecx, ebp
push ecx
push edi
lea ecx, [eax + 8]
call fcn.00401a20
mov eax, dword [esi + 0x48]
mov dword [eax + 4], 0
mov ecx, dword [esi + 0x48]
push 9
push str.GET_test1
add ecx, 0x3c
call fcn.00401a20
lea ecx, [esi + 0x1c]
push ecx
push 0
push esi
push 0x4aeea0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4af1aa
cmp eax, 0xffffffff
je 0x4af1aa
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
Function at 0x4b6600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x4b6619
pop ebp
pop ecx
ret
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x4b6640
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x4b665d
jmp 0x4b6650
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4b665d
inc edi
cmp edi, edx
jb 0x4b6650
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x4b6772
cmp ecx, 3
jbe 0x4b6691
xor ebp, ebp
mov cl, byte [edi + 4]
mov dword [esp + 0x1c], eax
test cl, cl
je 0x4b66cb
cmp cl, 0xff
je 0x4b66cb
and ebp, 3
add ebp, ebp
or ebp, 1
inc eax
jmp 0x4b6640
dec ecx
shl ebp, cl
and ebp, 7
je 0x4b6676
movzx ecx, byte [ebp + 0x6158e0]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x6158d8], 0
mov cl, byte [ebx + 4]
je 0x4b66b9
test cl, cl
je 0x4b66b9
cmp cl, 0xff
jne 0x4b6676
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
inc eax
jmp 0x4b6640
movzx edx, cl
movzx ecx, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x4b66fe
lea ebx, [edx + eax]
add ebx, esi
jmp 0x4b6704
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x4b6744
movzx esi, byte [ebp + 0x6158e0]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x4b6729
cmp dl, 0xff
jne 0x4b6740
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
dec edx
xor edx, ebx
jmp 0x4b66f0
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x4b6640
pop edi
pop esi
pop ebx
cmp ecx, 3
jbe 0x4b6785
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret
dec ecx
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret
Function at 0x4ba7c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x70d338], ecx
inc edx
cmp edx, 0x100
jb 0x4ba7c2
cmp edx, 0x800
jae 0x4ba899
lea esp, [esp]
mov eax, dword [edx*4 + 0x70cf38]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x70d338]
inc edx
mov dword [edx*4 + 0x70d334], eax
cmp edx, 0x800
jb 0x4ba870
mov dword [0x70f338], 0x4b6980
call fcn.004b68c0
test eax, eax
jne 0x4ba8b6
mov dword [0x70f338], 0x4b6a30
ret
Function at 0x4bc5a0
Capabilities:
Create thread

Disassembly:
mov eax, dword [ecx + 0x300]
cmp eax, 0xffffffff
je 0x4bc5b4
cmp eax, 1
je 0x4bc5b4
or eax, 0xffffffff
ret
push 0
push 0
push ecx
push 0x4bc2b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret

Function at 0x4bc5e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5ee13b
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x46c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x47c]
xor ebx, ebx
cmp edi, ebx
je 0x4bc7c9
push 0xff
lea eax, [esp + 0x26d]
push ebx
push eax
mov byte [esp + 0x274], bl
call fcn.004e9ba0
lea edx, [esp + 0x274]
add esp, 0xc
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4bc654
mov eax, edi
xor esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bc665
sub eax, edx
mov ebp, eax
call fcn.004ca9fa
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4bc68a
push 0x80004005
call fcn.004040f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0xff
lea ecx, [esp + 0x36d]
push ebx
push ecx
mov dword [esp + 0x480], ebx
mov byte [esp + 0x374], bl
call fcn.004e9ba0
lea eax, [esp + ebp + 0x274]
add esp, 0xc
cmp byte [eax - 1], 0x5c
je 0x4bc6ce
mov byte [eax], 0x5c
cmp byte [esp + 0x268], bl
je 0x4bc74c
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ecx]
mov al, byte [esp + esi + 0x268]
cmp al, 0x3a
jne 0x4bc6f0
add esi, 2
jmp 0x4bc743
cmp al, 0x5c
jne 0x4bc742
push esi
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x370]
push eax
call fcn.004e9c70
add esp, 0xc
lea ecx, [esp + 0x368]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + esi + 0x36c], bl
call fcn.0041cc40
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push edi
call ebp
cmp eax, 0xffffffff
jne 0x4bc742
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4bc7a2
inc esi
cmp byte [esp + esi + 0x268], bl
jne 0x4bc6e0
lea eax, [edi - 0x10]
mov dword [esp + 0x474], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bc773
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.004e8c89
add esp, 0x464
ret 4
lea eax, [edi - 0x10]
mov dword [esp + 0x474], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bc7c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4bc778
Function at 0x4bccf0
Capabilities:
Create thread

Disassembly:
sub esp, 0x20c
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esi + 0x320], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.004e9ba0
push 0x5fff2c
lea edx, [esp + 0x14]
push 0x6012d8
push edx
call fcn.00403b80
add esp, 0x18
push 0
push 0
push 0
push 0x7530
push 0x7530
push 0x108
push 0xce0000
lea eax, [esp + 0x20]
push eax
push 0
mov ecx, esi
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
lea ecx, [esi + 0x314]
push ecx
push 0
push esi
push 0x4bcc70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x20c]
mov dword [esi + 0x310], eax
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0x20c
ret
Function at 0x4c2507
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
mov esi, ecx
cmp eax, 0x1b77
jne 0x4c251f
call fcn.004bd1b0
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
cmp eax, 0x1b78
jne 0x4c25a3
cmp dword [esi + 0x324], 0
je 0x4c25a3
cmp dword [esi + 0x328], 0
je 0x4c25a3
push ebx
push ebp
push edi
call fcn.004a5fb0
mov edi, eax
call fcn.004abee0
mov ecx, dword [esi + 4]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
push 0
mov edx, ecx
sub edx, eax
push edx
sub eax, ecx
add eax, ebx
mov edx, ebp
sub edx, dword [esp + 0x18]
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x20]
sub eax, ebp
add eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
Function at 0x4c2ac0
Capabilities:
Create thread

Disassembly:
push esi
push 1
push 1
push 1
push 0x7530
mov esi, ecx
mov eax, dword [esi + 4]
push 0x7530
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [esi + 0x314]
push ecx
push 0
push esi
push 0x4c2a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x310], eax
pop esi
ret

Function at 0x4c3b0a
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x108]
push esi
mov esi, ecx
cmp eax, dword [esi + 0x368]
jne 0x4c3b52
mov ecx, dword [esi + 4]
push 1
push 1
push 1
push 0x7530
push 0x7530
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
lea edx, [esi + 0x314]
push edx
push 0
push esi
push 0x4c2a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x310], eax
pop esi
ret 4
cmp eax, dword [esi + 0x36c]
jne 0x4c3b63
call fcn.004c2ac0
pop esi
ret 4
cmp eax, dword [esi + 0x370]
jne 0x4c3b70
call fcn.004bd010
pop esi
ret 4

Function at 0x4c7370
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
call fcn.004c72d0
mov ecx, eax
jmp fcn.004c8be0

Function at 0x4c7400
Capabilities:
Copy file

Disassembly:
call fcn.004c72d0
mov ecx, eax
jmp fcn.004c7a00
Function at 0x4c7840
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x244
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x240], eax
push ebp
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x4e]
push edx
mov word [esp + 0x50], cx
call fcn.004e9ba0
xor eax, eax
xor ecx, ecx
push ecx
lea edx, [esp + 0x40]
push 0x5fd170
push edx
mov word [esp + 0x48], ax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov word [esp + 0x5a], ax
mov word [esp + 0x34], cx
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov word [esp + 0x46], ax
call fcn.00403b80
movzx eax, word [esp + 0x2a]
push eax
lea ecx, [esp + 0x38]
push 0x5fd170
push ecx
call fcn.00403b80
mov ebp, 8
add esp, 0x24
cmp dword [esi + 0x104], ebp
jb 0x4c78f0
mov eax, dword [esi + 0xf0]
jmp 0x4c78f6
lea eax, [esi + 0xf0]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.LastUseDay
push 0x5ff194
call edi
movzx edx, word [esp + 0x12]
cmp eax, edx
je 0x4c79dd
cmp dword [esi + 0x104], ebp
jb 0x4c7928
mov eax, dword [esi + 0xf0]
jmp 0x4c792e
lea eax, [esi + 0xf0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
lea eax, [esp + 0x24]
push eax
push str.LastUseDay
push 0x5ff194
call ebx
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.UseDayTotal]
mov word [esp + eax + 0x48], cx
add eax, 2
test cx, cx
jne 0x4c7950
cmp dword [esi + 0x104], ebp
jb 0x4c7974
mov eax, dword [esi + 0xf0]
jmp 0x4c797a
lea eax, [esi + 0xf0]
push eax
push 0
lea ecx, [esp + 0x50]
push ecx
push 0x5ff194
call edi
inc eax
push eax
lea edx, [esp + 0x24]
push 0x5fd170
push edx
call fcn.00403b80
add esp, 0xc
xor eax, eax
nop
movzx ecx, word [eax + str.UseDayTotal]
mov word [esp + eax + 0x48], cx
add eax, 2
test cx, cx
jne 0x4c79a0
cmp dword [esi + 0x104], ebp
jb 0x4c79c4
mov esi, dword [esi + 0xf0]
jmp 0x4c79ca
add esi, 0xf0
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0x5ff194
call ebx
pop ebx
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004e8c89
add esp, 0x244
ret