joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436712
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push 0x38
mov eax, 0x48b70c
call fcn.004544e0
mov edi, ecx
xor dl, dl
lea ecx, [ebp - 0x40]
xor ebx, ebx
call fcn.0043693a
push ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ebx
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
push 3
push ebx
inc ecx
push ecx
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4367e1
xor eax, eax
lea ecx, [ebp - 0x28]
lea edx, [eax + 1]
call fcn.0043693a
lea ecx, [ebp - 0x40]
call fcn.00436d86
test al, al
jne 0x4367b4
lea ecx, [ebp - 0x28]
call fcn.00436d86
test al, al
je 0x4367b4
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push ebx
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4367b4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004087f0
cmp esi, 0xffffffff
je 0x436818
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x10
jb 0x436811
push ebx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
push eax
push 0x10
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436811
cmp dword [ebp - 0x44], 0x10
push 1
movzx ebx, bl
pop ecx
cmove ebx, ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.004087f0
mov al, bl
call fcn.0045449e
ret

Function at 0x436828
Capabilities:
Write file on windows

Disassembly:
push 0x38
mov eax, 0x48b70c
call fcn.004544e0
mov edi, ecx
xor dl, dl
lea ecx, [ebp - 0x40]
xor ebx, ebx
call fcn.0043693a
push ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ebx
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
push 2
push ebx
inc ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4368a6
xor eax, eax
lea ecx, [ebp - 0x28]
lea edx, [eax + 1]
call fcn.0043693a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004087f0
cmp esi, 0xffffffff
je 0x4368cd
push ebx
lea eax, [ebp - 0x44]
push eax
push 0x10
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4368c6
cmp dword [ebp - 0x44], 0x10
push 1
movzx ebx, bl
pop ecx
cmove ebx, ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.004087f0
mov al, bl
call fcn.0045449e
ret
Function at 0x43693a
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x230
mov eax, 0x48b765
call fcn.004544e0
mov bl, dl
mov esi, ecx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], esi
xor ecx, ecx
mov dword [ebp - 0x234], ecx
xor eax, eax
mov dword [esi], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
xor edi, edi
mov dword [ebp - 4], ecx
push ecx
lea eax, [ebp - 0x218]
inc edi
push eax
mov dword [ebp - 0x234], edi
call fcn.00455ce0
add esp, 0xc
test bl, bl
push edi
push 0x23
pop eax
push 0x1a
pop ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x436a14
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404500
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00417040
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.004087f0
mov ecx, esi
test bl, bl
je 0x4369ec
push str.TencentDeskUpdate
jmp 0x4369f1
push str.TencentDesktop
call fcn.004044a0
mov ecx, esi
call fcn.00436a1c
test al, al
jne 0x436a08
mov ecx, esi
call fcn.00436ac6
push str.Global.db
mov ecx, esi
call fcn.004044a0
mov eax, esi
call fcn.0045449e
ret
Function at 0x43ad3d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor eax, eax
push 3
pop esi
inc eax
mov dword [ebp - 0x10c], 0x104
mov dword [ebp - 0x110], eax
mov ebx, ecx
lea eax, [ebp - 0x11c]
xor ecx, ecx
push eax
push 0x20019
push ecx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
call edi
test eax, eax
jne 0x43aeeb
push ebx
push str._sConnection
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.0043b383
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43aee3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
call ebx
test eax, eax
jne 0x43aedb
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x10c], 0x103
call fcn.00455ce0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call ebx
test eax, eax
jne 0x43aedb
mov eax, dword [ebp - 0x114]
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x43aed5
push esi
lea eax, [ebp - 0x108]
push 0x4a9500
push eax
call fcn.00463ea0
add esp, 0xc
test eax, eax
jne 0x43aea7
xor esi, esi
jmp 0x43aedb
mov eax, dword [ebp - 0x114]
cmp eax, ebx
jne 0x43aed5
push esi
lea eax, [ebp - 0x108]
push 0x4a9500
push eax
call fcn.00463ea0
add esp, 0xc
test eax, eax
je 0x43aecf
push 2
pop esi
jmp 0x43aedb
mov eax, dword [ebp - 0x114]
cmp eax, 2
cmove esi, ebx
push dword [ebp - 0x118]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453c11
leave
ret
Function at 0x43b143
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa8
call fcn.00454c40
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x2a98], edi
call fcn.00455ce0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43b198
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x43b1d9
push 0x5c
pop eax
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x43b1d9
mov word [ebp + ecx*2 - 0x20c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, esi
jae 0x43b355
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43b1e2
sub ecx, edx
mov edx, 0x104
sar ecx, 1
mov eax, edx
sub eax, ecx
push eax
push str.iphlpapi.dll
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00464f75
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa8], eax
test eax, eax
jne 0x43b22e
xor al, al
jmp 0x43b346
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43b31f
lea ecx, [ebp - 0x2aa0]
mov dword [ebp - 0x2aa0], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x43b31f
push 3
pop eax
mov dword [ebp - 0x2a9c], eax
lea esi, [ebp - 0x2a8c]
mov ebx, edi
lea eax, [ebp - 0x2a94]
sub ebx, eax
lea ecx, [esi + 8]
call fcn.0043ad3d
xor ecx, ecx
mov dword [ebp - 0x2aa4], eax
mov dword [ebp - 0x2a94], ecx
mov edi, ecx
mov word [ebp - 0x2a90], cx
lea edx, [ebp - 0x2a94]
add edx, edi
mov cl, byte [ebx + edx]
cmp cl, byte [edx]
jne 0x43b2b3
inc edi
cmp edi, 6
jb 0x43b29c
jmp 0x43b2c4
cmp dword [esi + 0x1a0], 6
jne 0x43b30d
cmp dword [ebp - 0x2a9c], eax
jle 0x43b30d
mov edi, dword [ebp - 0x2a98]
mov al, byte [esi + 0x194]
mov byte [edi], al
mov al, byte [esi + 0x195]
mov byte [edi + 1], al
mov al, byte [esi + 0x196]
mov byte [edi + 2], al
mov al, byte [esi + 0x197]
mov byte [edi + 3], al
mov al, byte [esi + 0x198]
mov byte [edi + 4], al
mov al, byte [esi + 0x199]
mov byte [edi + 5], al
mov eax, dword [ebp - 0x2aa4]
mov dword [ebp - 0x2a9c], eax
jmp 0x43b313
mov edi, dword [ebp - 0x2a98]
mov esi, dword [esi]
test esi, esi
jne 0x43b27d
xor ebx, ebx
push dword [ebp - 0x2aa8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x2a94]
mov dword [ebp - 0x2a94], ebx
push eax
mov ecx, edi
mov word [ebp - 0x2a90], bx
call fcn.0043ad15
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453c11
leave
ret
call fcn.004540d9
int3
Function at 0x43b822
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd40
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor bl, bl
mov dword [ebp - 0xd3c], edx
push edi
mov dword [ebp - 0xd38], ecx
xor esi, esi
mov dword [ebp - 0xd40], eax
test bl, bl
jne 0x43ba6a
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.00455ce0
add esp, 0xc
lea eax, [ebp - 0x50c]
push esi
push str..PhysicalDrive_d
push 0xff
push eax
call fcn.0043bbe6
add esp, 0x10
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
lea eax, [ebp - 0x50c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43ba60
xor eax, eax
push 0x800
push eax
mov dword [ebp - 0xd34], eax
mov dword [ebp - 0xd10], eax
mov dword [ebp - 0xd18], eax
mov dword [ebp - 0xd14], eax
lea eax, [ebp - 0xd0c]
push eax
call fcn.00455ce0
add esp, 0xc
lea eax, [ebp - 0xd34]
push 0
push eax
push 0x800
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd18]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43ba53
push 0x100
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.00455ce0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x100
push 0
push eax
call fcn.00455ce0
add esp, 0xc
lea eax, [ebp - 0x30c]
push 0x100
push 0
push eax
call fcn.00455ce0
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x20c]
add esp, 0xc
lea ecx, [ebp - 0xd0c]
push eax
push 0
call fcn.0043b427
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.0043b427
call fcn.0042377e
mov edx, dword [ebp - 0xcf4]
mov ecx, eax
lea eax, [ebp - 0x10c]
push eax
xor eax, eax
cmp ecx, 0xb
lea ecx, [ebp - 0xd0c]
setl al
push eax
call fcn.0043b427
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.004640d0
add esp, 0x1c
test eax, eax
jne 0x43b9d4
movsx eax, byte [ebp - 0xf9]
push eax
call fcn.004640d0
pop ecx
test eax, eax
je 0x43ba59
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.004172e0
mov ecx, dword [ebp - 0xd38]
push eax
call fcn.00417260
lea ecx, [ebp - 0xd30]
call fcn.00419370
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.004172e0
mov ecx, dword [ebp - 0xd3c]
push eax
call fcn.00417260
lea ecx, [ebp - 0xd30]
call fcn.00419370
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.004172e0
mov ecx, dword [ebp - 0xd40]
push eax
call fcn.00417260
lea ecx, [ebp - 0xd30]
call fcn.00419370
mov bl, 1
jmp 0x43ba59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x43b851
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453c11
leave
ret
Function at 0x43ba7b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
call fcn.0042377e
cmp eax, 5
jle 0x43bb18
push 0x1d
pop ecx
mov esi, 0x4a9590
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
push 4
pop eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x80]
movsw word es:[edi], word [esi]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43bb18
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
push str.EnableLUA
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x90], 1
push dword [ebp - 0x84]
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453c11
leave
ret

Function at 0x43c47a
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4b701c]
xor eax, esp
mov dword [esp + 0x60], eax
and dword [esp + 0x18], 0
and dword [esp + 0x14], 0
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [esp + 0xc], 0x67452301
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0043bc05
pop ecx
lea edx, [esp + 8]
mov ecx, esi
call fcn.0043bccb
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.00453c11
mov esp, ebp
pop ebp
ret
Function at 0x43c4e4
Capabilities:
Get file size
Hash data with md5
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, edx
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x43c6c4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x43c6bb
cmp edi, 0x400000
jae 0x43c59e
push edi
call fcn.00454481
pop ecx
push esi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], eax
push ecx
push edi
push eax
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43c58f
cmp dword [ebp - 0x78], edi
jne 0x43c58f
lea eax, [ebp - 0x14]
mov edx, edi
mov edi, dword [ebp - 0x74]
mov ecx, edi
push eax
call fcn.0043c47a
pop ecx
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02x
push 3
push ebx
call fcn.00409fc0
add esp, 0x10
add ebx, 4
inc esi
cmp esi, 0x10
jl 0x43c56e
jmp 0x43c592
mov edi, dword [ebp - 0x74]
push edi
call fcn.004541b4
pop ecx
jmp 0x43c6bb
push esi
push esi
push esi
push 2
push esi
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, eax
mov dword [ebp - 0x84], ecx
cmp ecx, 0xffffffff
je 0x43c6c4
mov eax, edi
mov dword [ebp - 0x5c], esi
shr eax, 0x10
mov edx, esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
mov dword [ebp - 0x78], esi
test eax, eax
je 0x43c64c
push 0x10000
push edx
push esi
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x88], eax
test eax, eax
je 0x43c6af
push 0x10000
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.0043bc05
pop ecx
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
add edx, 0x10000
mov ecx, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], eax
cmp eax, dword [ebp - 0x80]
jb 0x43c5f4
test di, di
je 0x43c67c
push esi
push edx
push esi
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x43c6af
sub edi, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
push edi
mov edx, eax
call fcn.0043bc05
pop ecx
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0043bccb
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02x
push 3
push ebx
call fcn.00409fc0
add esp, 0x10
add ebx, 4
inc esi
cmp esi, 0x10
jl 0x43c690
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453c11
leave
ret
Function at 0x43d1b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x10], 0
je 0x43d244
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43d1d9
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d244
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00455ce0
add esp, 0xc
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x43d204
mov ecx, dword [esi]
lea edx, [ebp - 0x210]
call fcn.0043c4e4
cmp dword [edi + 0x14], 8
jb 0x43d217
mov edi, dword [edi]
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.00462f58
add esp, 8
test eax, eax
jne 0x43d244
push esi
call fcn.00481cf0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00453c11
mov esp, ebp
pop ebp
ret
Function at 0x43d4b0
Capabilities:
Check if file exists
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bda0
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4b701c]
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 edi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x274], ebx
test ebx, ebx
jne 0x43d4f4
xor eax, eax
jmp 0x43d67e
cmp dword [edi + 0x150], 0
jne 0x43d52b
push 1
lea eax, [ebx + 0x78]
push eax
lea eax, [ebp - 0x234]
push 0xa
push eax
call fcn.00483cc0
add esp, 0x10
lea ecx, [edi + 0x140]
push eax
call fcn.00417060
lea ecx, [ebp - 0x234]
call fcn.004087f0
lea ecx, [ebp - 0x26c]
call fcn.004855d0
push 0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 4], 0
call fcn.00484e70
cmp dword [edi + 0x154], 8
lea esi, [edi + 0x140]
mov eax, esi
jb 0x43d55d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d5c3
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x43d572
mov edx, dword [esi]
sub esp, 0x18
mov ecx, edx
mov ebx, esp
lea eax, [ecx + 2]
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov dword [ebp - 0x270], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d596
sub ecx, dword [ebp - 0x270]
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00408440
lea ecx, [ebp - 0x26c]
call fcn.004857b0
mov ebx, dword [ebp - 0x274]
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00455ce0
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x43d5e3
mov eax, dword [esi]
push 0
push 0
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHELL32.dll_PathYetAnotherMakeUniqueName]
lea edx, [ebp - 0x21c]
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43d600
sub edx, ecx
lea eax, [ebp - 0x21c]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.00408440
cmp dword [ebx + 0x5c], 8
lea esi, [ebx + 0x48]
mov eax, esi
jb 0x43d62b
mov eax, dword [esi]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
cmp dword [esi + 0x14], 8
jb 0x43d63a
mov esi, dword [esi]
push edi
push 0
lea eax, [ebp - 0x21c]
push eax
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0x4a9738
push 1
call fcn.00486b50
push eax
call fcn.00486a10
add esp, 0x10
lea ecx, [ebp - 0x26c]
call fcn.00485620
xor eax, eax
test esi, esi
setns al
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.00453c11
mov esp, ebp
pop ebp
ret 4
Function at 0x43df00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [edi]
add eax, 0x140
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x3c], 0x3c
cmp dword [eax + 0x14], 8
jb 0x43df46
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x43df54
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x20], 0
nop dword [eax]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [edi + 8]
mov dword [ecx], eax
test eax, eax
jne 0x43df9b
call ebx
cmp eax, 5
jne 0x43df9b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x43df70
push 0x4a9758
push 2
call fcn.00486b50
push eax
call fcn.00486a10
mov eax, dword [edi + 8]
add esp, 0xc
cmp dword [eax], 0
je 0x43e007
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi]
mov ecx, dword [eax + 0x16c]
test ecx, ecx
je 0x43dfe4
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push 0
push 0x65
push 0x41b
call dword [eax]
push 0x4a9770
push 2
call fcn.00486b50
push eax
call fcn.00486a10
mov ecx, dword [edi]
add esp, 0xc
call fcn.0043e160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi]
call ebx
mov dword [esi + 0x174], eax
mov dword [esi + 0x170], 0xc
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x43e040
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push dword [esi + 0x174]
push 0x67
push 0x41b
call dword [eax]
mov esi, dword [edi]
push dword [esi + 0x174]
push 0x4a978c
push 4
call fcn.00486b50
push eax
call fcn.00486a10
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43e0f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ecx + edi*4 + 0x15c]
lea esi, [ecx + edi*4]
test eax, eax
je 0x43e126
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x43e126
mov dword [esi + 0x15c], 0
mov ecx, dword [esi + 0x15c]
test ecx, ecx
jne 0x43e14a
push ecx
push ecx
push edi
push 0x43e070
push ecx
push ecx
call fcn.00463244
mov ecx, eax
add esp, 0x18
mov dword [esi + 0x15c], ecx
xor eax, eax
test ecx, ecx
pop edi
setne al
pop esi
pop ebp
ret 4