joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415dc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47219b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x22c]
push 0
push 0x23
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x415e80
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call fcn.004027e0
mov edi, eax
cmp esi, edi
je 0x415e42
mov ecx, esi
call fcn.00402910
mov eax, dword [edi]
mov dword [esi], eax
test eax, eax
je 0x415e42
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0xc]
call fcn.00402910
push 0x478858
lea ecx, [esp + 0x10]
call fcn.004027e0
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [esp + 0x228], 0
call fcn.00402230
lea ecx, [esp + 0xc]
call fcn.00402910
mov eax, 1
jmp 0x415e82
xor eax, eax
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004424e7
add esp, 0x21c
ret

Function at 0x416100
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x472226
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0x408], eax
push edi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x414]
mov dword fs:[0], eax
mov edi, dword [esp + 0x42c]
mov dword [esp + 0x41c], 0
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
mov byte [esp + 0x420], 2
call fcn.00415a10
add esp, 4
test eax, eax
jne 0x416193
lea ecx, [esp + 8]
call fcn.00402910
lea ecx, [esp + 0x424]
call fcn.00402910
lea ecx, [esp + 0x428]
call fcn.00402910
xor eax, eax
jmp 0x416264
push str.resource.ini
lea ecx, [esp + 0x10]
call fcn.004027e0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x420], 3
call fcn.00402230
lea ecx, [esp + 0xc]
mov byte [esp + 0x41c], 2
call fcn.00402910
xor edx, edx
push 0x3fe
push edx
lea eax, [esp + 0x1a]
push eax
mov word [esp + 0x1c], dx
call fcn.00443d20
mov eax, dword [esp + 0x14]
add esp, 0xc
test eax, eax
je 0x4161ee
mov edx, dword [eax]
jmp 0x4161f0
xor edx, edx
mov eax, dword [esp + 0x428]
test eax, eax
je 0x4161ff
mov ecx, dword [eax]
jmp 0x416201
xor ecx, ecx
mov eax, dword [esp + 0x424]
test eax, eax
je 0x416210
mov eax, dword [eax]
jmp 0x416212
xor eax, eax
push edx
push 0x200
lea edx, [esp + 0x18]
push edx
push 0x4826e0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x41616b
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00402410
lea ecx, [esp + 8]
call fcn.00402910
lea ecx, [esp + 0x424]
call fcn.00402910
lea ecx, [esp + 0x428]
call fcn.00402910
mov eax, 1
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.004424e7
add esp, 0x418
ret
Function at 0x416670
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x472276
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0x2b8], eax
push esi
push edi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov edx, dword [esp + 0x2d8]
xor eax, eax
mov word [esp + 0x88], ax
mov edi, 7
mov eax, edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4166d6
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x8c]
call fcn.004156b0
push 0xe
push 0
push str._PROGRAMFILES_
lea ecx, [esp + 0x90]
mov dword [esp + 0x2dc], 0
call fcn.00414aa0
mov esi, eax
cmp esi, 0xffffffff
je 0x416803
push str.GetNativeSystemInfo
push 0x478800
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41675d
lea ecx, [esp + 0x60]
push ecx
call eax
cmp word [esp + 0x60], 9
sete al
test al, al
je 0x41675d
lea edx, [esp + 0xbc]
push edx
push 0
push 0
push 0x2a
jmp 0x41676b
lea eax, [esp + 0xbc]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor ecx, ecx
lea eax, [esp + 0xbc]
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4167a0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0xa8]
call fcn.004156b0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xa8]
push eax
lea ecx, [esi + 0xe]
push ecx
push esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x2e4], 1
call fcn.004151a0
cmp dword [esp + 0xb8], 8
jb 0x416803
mov edx, dword [esp + 0xa4]
push edx
call fcn.00422bf7
add esp, 4
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00443d20
mov cx, word [esp + 0x2e8]
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x9c], 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x48], 0x21
mov word [esp + 0x4c], cx
jae 0x41685b
lea eax, [esp + 0x88]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4168bb
cmp dword [esp + 0x2e0], 1
jne 0x41689e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov edx, dword [esp + 0x10]
push edx
jmp 0x4168b9
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x9c], 8
jb 0x4168e0
mov edx, dword [esp + 0x88]
push edx
call fcn.00422bf7
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004424e7
add esp, 0x2c8
ret
Function at 0x418ea0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x472413
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x478cd4
push esi
mov dword [esp + 0x18], 1
call fcn.0045fd3f
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x418ef1
mov eax, dword [esi + 0x1c]
push eax
call fcn.00422bf7
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], 0x478a38
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x41c300
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xc04
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0xc00], eax
mov eax, dword [0x495404]
push ebx
push ebp
mov ebp, dword [esp + 0xc14]
push esi
mov esi, dword [esp + 0xc1c]
push edi
mov edi, dword [esp + 0xc28]
test eax, eax
je 0x41c4c7
mov ebx, dword [esp + 0xc18]
cmp ebx, dword [eax]
jl 0x41c4c7
push 0x5c
push esi
call fcn.004443a0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x41c35e
mov ecx, esi
jmp 0x41c35f
inc ecx
push ebx
call fcn.00416970
push eax
mov eax, dword [esp + 0xc2c]
push edi
push eax
push ecx
mov ecx, dword [0x495404]
add ecx, 0x428
push ecx
push str._s__s___d__s____S:
lea edx, [esp + 0x2c]
push 0x400
push edx
call fcn.00445c91
lea eax, [esp + 0x34]
add esp, 0x24
lea edx, [eax + 1]
jmp 0x41c3a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c3a0
sub eax, edx
mov edx, eax
lea eax, [esp + 0x10]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c3b2
lea ecx, [esp + 0xc30]
push ecx
mov ecx, dword [esp + 0xc30]
push ecx
mov ecx, 0x400
sub ecx, edx
sub eax, esi
push ecx
lea edx, [esp + eax + 0x1c]
push edx
call fcn.00444521
add esp, 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [esp + 0xc18]
xor esi, esi
lea ebx, [esi + 4]
test ebp, ebp
je 0x41c467
cmp edi, ebx
jne 0x41c467
mov ecx, dword [0x495404]
cmp dword [ecx + 4], ebx
jg 0x41c467
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c410
sub eax, edx
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00422bec
push ebp
push 0x478d7c
mov esi, eax
push edi
push esi
call fcn.00442c62
mov ecx, dword [esp + 0xc40]
lea eax, [esp + 0xc44]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00416ab0
mov edi, dword [esp + 0xc38]
add esp, 0x20
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x414]
push 0x478d7c
push ecx
call fcn.00416ad0
mov ecx, dword [0x495404]
add esp, 0xc
cmp edi, ebx
jne 0x41c4a0
cmp dword [ecx + 4], ebx
jg 0x41c4a0
lea edx, [esp + 0x410]
push edx
push esi
call fcn.0041af10
jmp 0x41c4b3
cmp edi, dword [ecx + 4]
jl 0x41c4b3
lea eax, [esp + 0x410]
push eax
push edi
call fcn.0041bea0
test esi, esi
je 0x41c4c0
push esi
call fcn.00422bf7
add esp, 4
mov eax, 1
jmp 0x41c4c9
xor eax, eax
mov ecx, dword [esp + 0xc10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004424e7
add esp, 0xc04
ret
Function at 0x41c4f0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x804
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x495404]
push ebx
push ebp
mov ebp, dword [esp + 0x814]
push esi
mov esi, dword [esp + 0x81c]
push edi
mov edi, dword [esp + 0x828]
test eax, eax
je 0x41c658
mov ebx, dword [esp + 0x818]
cmp ebx, dword [eax]
jge 0x41c53f
cmp dword [eax + 4], 0
jne 0x41c658
push 0x5c
push esi
call fcn.004443a0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x41c554
mov ecx, esi
jmp 0x41c555
inc ecx
push ebx
call fcn.00416970
push eax
mov eax, dword [esp + 0x82c]
push edi
push eax
push ecx
mov ecx, dword [0x495404]
add ecx, 0x52c
push ecx
push str._s__S___d__S____s:
lea edx, [esp + 0x2c]
push 0x400
push edx
call fcn.00442c62
lea eax, [esp + 0x34]
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c591
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x10]
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c5b0
lea ecx, [esp + 0x830]
push ecx
mov ecx, dword [esp + 0x830]
push ecx
sub eax, esi
mov ecx, 0x400
sub ecx, edx
sar eax, 1
push ecx
lea edx, [esp + eax*2 + 0x1c]
push edx
call fcn.004446c1
mov ecx, dword [0x495404]
add esp, 0x10
cmp ebx, dword [ecx]
jl 0x41c5ff
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [0x495404]
cmp ebx, 4
jne 0x41c641
cmp dword [ecx + 4], ebx
jg 0x41c641
mov edx, dword [esp + 0x82c]
lea ecx, [esp + 0x830]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x400
push eax
call fcn.004446c1
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x495404]
push ebp
call fcn.0041af10
lea eax, [ebx - 3]
jmp 0x41c65a
cmp ebx, dword [ecx + 4]
jl 0x41c651
lea edx, [esp + 0x10]
push edx
push ebx
call fcn.0041bea0
mov eax, 1
jmp 0x41c65a
xor eax, eax
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004424e7
add esp, 0x804
ret

Function at 0x41d0b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsZoneMap
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x10]
push edx
push 0
push str.IEHarden
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0xc
ret
Function at 0x41d110
Capabilities:
Delete registry key

Disassembly:
sub esp, 0xa30
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0xa2c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa44]
push edi
mov edi, dword [esp + 0xa44]
xor eax, eax
push 0x206
mov ebp, ecx
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00443d20
push esi
lea edx, [esp + 0x24]
push 0x104
push edx
call fcn.00444105
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x23e]
push ecx
mov word [esp + 0x240], ax
call fcn.00443d20
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x24
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x220]
push eax
call esi
push str.com.cnmybank.icbc
lea ecx, [esp + 0x220]
push ecx
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [esp + 0x21c]
push edx
push edi
call ebx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x636]
push ecx
mov word [esp + 0x638], ax
call fcn.00443d20
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x630]
push eax
call esi
push str.com.cnwww.icbc
lea ecx, [esp + 0x630]
push ecx
call esi
lea edx, [esp + 0x62c]
push edx
push edi
call ebx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x42e]
push ecx
mov word [esp + 0x430], ax
call fcn.00443d20
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x428]
push eax
call esi
push str.com.cn_vip.icbc
lea ecx, [esp + 0x428]
push ecx
call esi
lea edx, [esp + 0x424]
push edx
push edi
call ebx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x83e]
push ecx
mov word [esp + 0x840], ax
call fcn.00443d20
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x838]
push eax
call esi
push str.com.cn.icbc
lea ecx, [esp + 0x838]
push ecx
call esi
lea edx, [esp + 0x834]
push edx
push edi
call ebx
push str.com.cn
lea eax, [esp + 0x18]
push eax
call esi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
mov ecx, ebp
mov dword [esp + 0x1c], 0
call fcn.0041ce30
cmp dword [esp + 0x10], 0
ja 0x41d2c4
lea eax, [esp + 0x14]
push eax
push edi
call ebx
mov ecx, dword [esp + 0xa3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004424e7
add esp, 0xa30
ret 8

Function at 0x41d9c0
Capabilities:
Get session information
Get session user name

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov ecx, ebx
xor esi, esi
call fcn.004029b0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
push 5
push 0xffffffffffffffff
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x41da20
mov edx, dword [esp + 0x10]
cmp edx, esi
jne 0x41d9fc
xor eax, eax
jmp 0x41da12
mov eax, edx
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41da02
sub eax, edi
sar eax, 1
pop edi
push eax
push edx
mov ecx, ebx
call fcn.00402590
mov esi, 1
mov edx, dword [esp + 0x10]
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x41f3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x472f59
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
push 0x478e8c
lea ecx, [esi + 0x50]
mov byte [esp + 0x1c], 0xa
call fcn.004027e0
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4203d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x473008
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0x42c], eax
push esi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
cmp dword [esp + 0x44c], 0
mov dword [esp + 0x440], 0
jne 0x420433
lea ecx, [esp + 0x448]
call fcn.00420330
mov eax, 1
jmp 0x4205bc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x236]
push ecx
mov word [esp + 0x238], ax
call fcn.00443d20
add esp, 0xc
cmp dword [esp + 0x448], 0
push 0
je 0x42046b
push 0x29
lea edx, [esp + 0x234]
push edx
jmp 0x420475
push 0x25
lea eax, [esp + 0x234]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, 0x72
mov word [esp + 8], cx
mov edx, 0x65
mov word [esp + 0xa], dx
mov eax, 0x67
mov word [esp + 0xc], ax
mov ecx, 0x73
mov word [esp + 0xe], cx
mov edx, 0x76
mov word [esp + 0x10], dx
mov eax, 0x72
mov word [esp + 0x12], ax
mov ecx, 0x33
mov edx, 0x32
mov word [esp + 0x14], cx
mov word [esp + 0x16], dx
mov eax, 0x2e
mov ecx, 0x65
mov word [esp + 0x18], ax
mov edx, 0x78
mov eax, ecx
mov word [esp + 0x1c], dx
xor edx, edx
push 0x206
mov word [esp + 0x22], ax
mov word [esp + 0x1e], cx
push edx
lea eax, [esp + 0x2e]
xor ecx, ecx
push eax
mov word [esp + 0x2c], cx
mov word [esp + 0x30], dx
call fcn.00443d20
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x34]
push 0x104
push edx
call fcn.00444105
push 0x482c58
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.00442acd
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x4c]
push 0x104
push edx
call fcn.00442acd
push 0x4797a0
lea eax, [esp + 0x58]
push 0x104
push eax
call fcn.00442acd
mov eax, dword [esp + 0x48c]
add esp, 0x3c
test eax, eax
je 0x420575
mov eax, dword [eax]
jmp 0x420577
xor eax, eax
push eax
lea ecx, [esp + 0x28]
push 0x104
push ecx
call fcn.00442acd
push 0x482c7c
lea edx, [esp + 0x34]
push 0x104
push edx
call fcn.00442acd
push 2
lea eax, [esp + 0x40]
push 0
push eax
call fcn.00416670
add esp, 0x24
lea ecx, [esp + 0x448]
mov esi, eax
call fcn.00420330
mov eax, esi
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.004424e7
add esp, 0x43c
ret 0x10
Function at 0x4205f0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x473048
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x42063a
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
xor ebx, ebx
test eax, eax
jbe 0x4206c6
xor ebp, ebp
cmp ebx, dword [ecx + 4]
jae 0x4206da
mov esi, dword [ecx]
mov edi, dword [esi + ebp + 8]
mov eax, dword [esi + ebp]
mov ecx, dword [esi + ebp + 4]
add esi, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
test edi, edi
je 0x420678
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x34], esi
test esi, esi
je 0x42068d
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test edi, edi
je 0x420695
mov edi, dword [edi]
jmp 0x420697
xor edi, edi
test esi, esi
je 0x42069f
mov eax, dword [esi]
jmp 0x4206a1
xor eax, eax
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x28]
call fcn.00420330
mov ecx, dword [esp + 0x14]
inc ebx
add ebp, 0x10
cmp ebx, dword [esp + 0x20]
jb 0x420646
mov eax, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x18], edx
cmp eax, edx
jbe 0x42079c
mov dword [esp + 0x1c], edx
jmp 0x4206e8
push 0x80070057
call fcn.00402bd0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + 4]
jae 0x4206da
mov esi, dword [ecx]
add esi, dword [esp + 0x1c]
mov edi, dword [esi + 8]
mov ebp, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
test edi, edi
je 0x420719
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x34], esi
test esi, esi
je 0x42072e
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x2c]
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ebp
mov dword [ebx + 4], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x34], esp
mov dword [ebx + 8], edi
test edi, edi
je 0x420759
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebx + 0xc], esi
test esi, esi
je 0x42076a
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x24]
call fcn.004203d0
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
call fcn.00420330
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 0x10
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jb 0x4206e4
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x421980
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4731d6
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
push eax
push 0x104
push 0x4956b0
call fcn.00444105
push 0x2e
push 0x4956b0
call fcn.00442aa1
push 0x482c58
xor ecx, ecx
push 0x104
push 0x4956b0
mov word [eax], cx
call fcn.00442acd
add esp, 0x20
push 0
push 0x4956b0
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x421a34
push str.FALSE
push str.ASSERT_FAIL:__s_n
push str.install_management_icbc::CCabinet::CreateCabinetFolder
push 0x71
push str..Cabinet.cpp
push 0
push 3
call fcn.0041c300
add esp, 0x1c
xor eax, eax
jmp 0x421bb9
mov ecx, esi
call fcn.0041ffc0
push 0x4956b0
lea ecx, [esp + 0x1c]
call fcn.0041e050
push str..inf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x27c], 0
call fcn.00401ef0
mov edx, dword [0x498418]
mov eax, dword [edx + 0xc]
mov ecx, 0x498418
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x280], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x421b5e
push 0x4956b0
lea ecx, [esp + 0x18]
call fcn.004026a0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
call fcn.00401ef0
mov ebx, dword [esp + 0x280]
mov edi, dword [esp + 0x14]
push ebx
push edi
mov ecx, esi
call fcn.00420cb0
mov ecx, esi
call fcn.004205f0
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x421b57
mov eax, 0x4956b0
lea edx, [eax + 2]
jmp 0x421af0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421af0
sub eax, edx
sar eax, 1
push eax
push 0x4956b0
lea ecx, [esp + 0x1c]
call fcn.00402590
lea eax, [esp + 0x48]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421b15
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401f70
mov edi, dword [esp + 0x14]
push ebx
push edi
mov ecx, esi
call fcn.00420cb0
mov ecx, esi
call fcn.004205f0
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x421ae3
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, esi
call fcn.004208a0
lea eax, [edi - 0x10]
mov byte [esp + 0x278], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421b89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x278], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421bb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004424e7
add esp, 0x268
ret 4