joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d9aa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jne 0x42da42
push edi
lea eax, [esi + 0x5d530]
push 0x567188
push eax
call fcn.005214b3
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x42d9f7
xor eax, eax
push 0x567188
mov word [edi], ax
call fcn.00524c40
lea eax, [edi + eax*2]
push eax
call fcn.00524b20
pop ecx
pop ecx
mov dword [esi + 0x2694], eax
mov ecx, esi
call fcn.0042bdf2
pop edi
test eax, eax
je 0x42da42
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2464], eax
test eax, eax
je 0x42da3d
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push esi
push 0x42da48
push ebx
push ebx
mov dword [esi + 0x5d0f8], 8
call fcn.005282b1
add esp, 0x18
mov dword [esi + 0xc], eax
xor eax, eax
inc eax
jmp 0x42da44
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x42dbe3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi + 0x20]
mov ebx, dword [edi + 0x805c]
cmp dword [eax + 4], 1
jne 0x42dc01
mov ebx, dword [edi]
xor eax, eax
cmp dword [esi + 0x26f0], eax
je 0x42dca1
call fcn.0042bb67
mov edx, dword [edi + 0x8040]
push 0
mov dword [ebp - 8], edx
mov ecx, dword [edx + 8]
add ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
adc eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ecx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42dc4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42dcda
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
push ebx
lea eax, [edi + 0x40]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42dcda
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jne 0x42dcda
mov eax, dword [ebp - 8]
add dword [eax + 0x18], ecx
adc dword [eax + 0x1c], 0
mov ecx, dword [ebp + 8]
add dword [esi + 0x5d110], ecx
push ecx
adc dword [esi + 0x5d114], 0
mov ecx, esi
push edi
call fcn.0042db19
mov ecx, esi
call fcn.0042e0ef
xor eax, eax
inc eax
jmp 0x42dcdc
push eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [edi + 0x40]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42dcda
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x42dcda
add dword [esi + 0x5d110], eax
mov ecx, esi
push eax
adc dword [esi + 0x5d114], 0
push edi
call fcn.0042db19
jmp 0x42dc9c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42ddc7
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.0051d4f0
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x1008], eax
mov esi, dword [eax + 0x2480]
lea eax, [ebp - 0x1004]
push 0x1000
push edi
push eax
mov dword [ebp - 0x101c], 0x5671fc
mov dword [ebp - 0x1018], edi
call fcn.00520800
mov ecx, dword [ebx + 0x20]
lea eax, [ecx + 0x1048]
push eax
lea eax, [ecx + 0x48]
push eax
push str._s_s
lea eax, [ebp - 0x1004]
push 0x7ff
push eax
call fcn.0042a874
mov eax, dword [ebp - 0x1008]
add esp, 0x20
mov ecx, 0x8400c300
mov edx, 0x8408c300
cmp dword [eax + 0x62cb4], edi
mov eax, dword [ebx + 0x20]
cmove edx, ecx
push ebx
mov ecx, edx
or ecx, 0x803000
cmp dword [eax + 4], 4
lea eax, [ebp - 0x101c]
cmovne ecx, edx
test esi, esi
push ecx
push eax
push edi
push str.HTTP_1.1
lea eax, [ebp - 0x1004]
mov ecx, str.POST
push eax
mov eax, 0x5671e8
cmovne eax, ecx
push eax
push dword [ebx + 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x42df65
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x100c]
push 4
push ecx
push 2
push eax
mov dword [ebp - 0x100c], 0x3a98
call esi
push 4
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1010], 1
push eax
push 0x41
push dword [ebx + 0x1c]
call esi
push 0x28
pop esi
push esi
mov dword [ebp - 0x1014], eax
lea eax, [ebp - 0x1044]
push edi
push eax
call fcn.00520800
push 0xa2d0
mov dword [ebp - 0x1044], esi
call fcn.0051ce24
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42df44
push 0xa2d0
push edi
push esi
call fcn.00520800
mov ecx, dword [ebp - 0x1008]
add esp, 0xc
push dword [ebp - 0x1014]
push 0x5167
push esi
push ebx
call fcn.0042b5e9
push esi
mov dword [ebp - 0x103c], esi
call fcn.00524c40
pop ecx
mov dword [ebp - 0x1038], eax
push ebx
push 1
push edi
lea eax, [ebp - 0x1044]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov edi, eax
test esi, esi
je 0x42df65
push esi
call fcn.0051ce2d
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret 4
Function at 0x42e0ef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 2
push ebx
push ebx
mov eax, dword [esi + 0x26e8]
sub eax, dword [esi + 0x26e4]
push dword [esi + 8]
sar eax, 2
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 4], ebx
je 0x42e1b9
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 8]
push ebx
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call edi
mov eax, dword [esi + 0x26e8]
sub eax, dword [esi + 0x26e4]
push 4
sar eax, 2
pop ecx
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x42e189
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x26e4]
push 0x20
push dword [eax + ebx*4]
push dword [esi + 8]
call edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x26e8]
add ecx, 0x20
sub eax, dword [esi + 0x26e4]
inc ebx
sar eax, 2
mov dword [ebp - 0xc], ecx
cmp ebx, eax
jb 0x42e156
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call edi
mov ebx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push ebx
call fcn.00524c40
pop ecx
push 0
lea ecx, [ebp - 8]
add eax, eax
push ecx
push eax
push ebx
push dword [esi + 8]
call edi
pop edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
pop ebx
leave
ret
Function at 0x430a74
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
mov ecx, 0x5cc19c
call fcn.00401dfe
xor eax, eax
push eax
push eax
push eax
push 0x43124b
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret

Function at 0x431b60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x431b87
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x431b87
xor eax, eax
inc eax
jmp 0x431b89
mov eax, esi
pop esi
pop ebp
ret

Function at 0x431c6a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.0051d4f0
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x4004]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.00520800
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x431d25
cmp eax, 0x3fff
ja 0x431d25
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x431d25
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x55e000
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x431d25
mov ecx, dword [ebp - 0x4008]
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 0x55ded0
push ebx
push edi
call fcn.00403b24
xor eax, eax
add esp, 0x1c
mov word [edi + ebx*2 - 2], ax
inc eax
jmp 0x431d27
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret

Function at 0x4325bc
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
mov esi, ecx
push eax
push eax
push esi
push fcn.00432913
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
ret
Function at 0x4330d1
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0xc]
push eax
xor eax, eax
push eax
push esi
push 0x433069
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
pop esi
ret

Function at 0x433179
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x4331d0
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor edi, edi
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4331a9
inc edi
cmp edi, 0xf
jl 0x43318e
cmp edi, 0xf
pop edi
jne 0x4331c3
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0xfffffffffffffff6
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 4], 0
xor eax, eax
inc eax
pop esi
ret

Function at 0x4331e6
Capabilities:
Check http status code
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
push eax
push eax
push eax
push eax
push 0x556c1c
mov bl, al
mov bh, al
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
jne 0x43321d
xor al, al
jmp 0x4332bd
push edi
xor eax, eax
push eax
push 0x84000000
push eax
push eax
push str.http:__profile.se.360.cn_proxyerr.php
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x4332ab
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00520800
add esp, 0xc
mov dword [ebp - 0x208], 0x100
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x204]
push eax
push 0x13
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4332a0
lea eax, [ebp - 0x204]
push eax
call fcn.00524b20
pop ecx
cmp eax, 0x193
je 0x433292
cmp eax, 0x197
jne 0x4332a0
push edi
call fcn.00433153
test al, al
pop ecx
setne bl
jmp 0x4332a4
xor bl, bl
mov bh, 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x43321e
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, bh
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret

Function at 0x4336f9
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 4]
mov dword [esi], vtable.CMD5Checksum.0
push eax
call fcn.00520800
and dword [esi + 0x48], 0
add esp, 0xc
and dword [esi + 0x44], 0
mov eax, esi
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
pop esi
ret
Function at 0x43393c
Capabilities:
Read file on windows

Disassembly:
push 0x468
mov eax, 0x54dfc9
call fcn.0051d44a
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x474], esi
test edi, edi
jne 0x43396b
push 0x556c1e
mov ecx, esi
call fcn.00401b1b
mov eax, esi
jmp 0x4339e0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x470]
call fcn.004336f9
mov byte [ebp - 4], 1
mov ebx, 0x400
jmp 0x433998
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x470]
call fcn.004340b2
push edi
push ebx
lea eax, [ebp - 0x414]
push 1
push eax
call fcn.00530f2b
add esp, 0x10
test eax, eax
jg 0x433985
push edi
call fcn.00530b28
pop ecx
push esi
lea ecx, [ebp - 0x470]
call fcn.004337ef
jmp 0x433967
call fcn.0051d397
ret
Function at 0x434830
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4f4], esi
test esi, esi
je 0x4349fd
cmp dword [ebp + 0xc], 0
je 0x4349fd
push edi
push 0x64
xor edi, edi
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.00520800
add esp, 0xc
lea eax, [ebp - 0x4e0]
push eax
push 8
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4349de
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x4e4], edi
push eax
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x4e8], 0x104
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4349d6
mov esi, dword [ebp - 0x4e4]
lea eax, [ebp - 0x4e4]
push eax
push 1
push 0
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43499c
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4ec], 0x208
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x4e4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434994
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00520800
push 0x64
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.00434a0c
add esp, 0x18
test eax, eax
je 0x434994
cmp byte [ebp - 0x68], 0
je 0x434982
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x434994
lea eax, [ebp - 0xcc]
push eax
push 0x64
lea eax, [ebp - 0x68]
push eax
call fcn.0041cff5
push dword [ebp - 0x4e4]
call edi
xor eax, eax
mov dword [ebp - 0x4e8], 0x104
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x4e8]
inc esi
push eax
lea eax, [ebp - 0x2d4]
push eax
push esi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4348d6
mov esi, dword [ebp - 0x4f4]
push dword [ebp - 0x4e0]
call edi
cmp byte [ebp - 0x68], 0
pop edi
je 0x4349fd
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0041cff5
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
jmp 0x4349ff
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0051d360
leave
ret
Function at 0x434b0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x434c2b
cmp dword [ebp + 0xc], 0x20
jb 0x434c2b
mov ebx, 0x400
mov dword [ebp - 0x50c], 1
push ebx
lea eax, [ebp - 0x504]
mov dword [ebp - 0x508], ebx
push 0
push eax
call fcn.00520800
add esp, 0xc
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x50c]
push eax
push 0x55ea0c
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x434c2b
lea eax, [ebp - 0x504]
push eax
call fcn.00524dd0
pop ecx
cmp eax, 0x40
jne 0x434c2b
push edi
push 0x20
lea eax, [ebp - 0x504]
mov edi, 0x80
push eax
push edi
lea eax, [ebp - 0x84]
push eax
call fcn.00435411
lea eax, [ebp - 0x4e4]
push eax
push edi
lea eax, [ebp - 0x104]
push eax
call fcn.0041cff5
push ebx
lea eax, [ebp - 0x504]
push 0
push eax
call fcn.00520800
push ebx
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00434c3b
add esp, 0x18
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop edi
test eax, eax
jne 0x434c2b
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0041cff5
neg eax
sbb eax, eax
inc eax
jmp 0x434c2d
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret
Function at 0x435247
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.0051d4f0
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x435390
cmp dword [ebp + 0xc], 0
je 0x435390
push esi
push edi
xor esi, esi
xor edi, edi
push edi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.004354af
add esp, 0x10
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0c], eax
cmp eax, 0xffffffff
je 0x435380
and dword [ebp - 0x2d10], 0
lea eax, [ebp - 0x2d08]
push 0xc
push 0
push eax
call fcn.00520800
xor eax, eax
push 0x2710
push eax
mov dword [ebp - 0x2d08], eax
mov dword [ebp - 0x2d04], eax
lea eax, [ebp - 0x2cfc]
push eax
call fcn.00520800
add esp, 0x18
lea eax, [ebp - 0x2d10]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push dword [ebp - 0x2d0c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x435370
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.00520800
lea eax, [ebp - 0x5ec]
push eax
push 1
push dword [ebp - 0x2ce4]
lea eax, [ebp - 0x2cfc]
push eax
call fcn.00429bc2
add esp, 0x1c
lea eax, [ebp - 0x5ec]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0041cff5
test eax, eax
push 1
pop eax
cmove esi, eax
push dword [ebp - 0x2d0c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x43538a
inc edi
cmp edi, 0x10
jl 0x43527a
pop edi
mov eax, esi
pop esi
jmp 0x435392
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret

Function at 0x43655f
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
push esi
push eax
call fcn.00520800
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Shcore.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4365e2
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4365e2
push str.GetDpiForMonitor
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x60
pop eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], eax
test esi, esi
je 0x43660e
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push edi
call esi
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0051d360
leave
ret
Function at 0x436d6a
Capabilities:
Delete file
Enumerate files on windows
Query environment variable
Set file attributes

Disassembly:
push 0x4d8
mov eax, 0x54e249
call fcn.0051d44a
push 0x208
xor edi, edi
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.00520800
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x264]
call fcn.00401b4a
mov esi, str.MicrosoftWindowsThemes
mov dword [ebp - 4], edi
push esi
call fcn.00524c40
pop ecx
push eax
push esi
lea ecx, [ebp - 0x264]
call fcn.004037f5
push 0x55e000
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.004014b0
add esp, 0xc
push 0x56d354
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 2
call fcn.00401b4a
push eax
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0040eb3a
add esp, 0xc
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 5
call fcn.004036e0
cmp dword [ebp - 0x238], 8
lea ecx, [ebp - 0x4e4]
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x436eeb
lea eax, [ebp - 0x4e4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x436ee4
test byte [ebp - 0x4e4], 0x10
jne 0x436e5f
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004014b0
add esp, 0xc
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x234]
mov edi, eax
call fcn.004036e0
jmp 0x436e5f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x24c]
call fcn.004036e0
lea ecx, [ebp - 0x27c]
call fcn.004036e0
lea ecx, [ebp - 0x264]
call fcn.004036e0
mov eax, edi
jmp 0x436f23
call fcn.0051d397
ret
Function at 0x43709e
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e29d
mov eax, dword fs:[0]
push eax
mov eax, 0x63360
call fcn.0051d4f0
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x6336c], eax
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00520800
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00520800
add esp, 0x18
lea eax, [ebp - 0x420]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x56d4ec
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x628]
push eax
push str._s.cab
lea eax, [ebp - 0x218]
push 0x103
push eax
call fcn.00403b24
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x63368]
call fcn.0042a8f0
lea ecx, [ebp - 0x63368]
mov dword [ebp - 4], ebx
call fcn.0042d74a
xor eax, eax
inc eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x60f00], eax
jb 0x43718a
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x63368]
call fcn.00403136
lea eax, [ebp - 0x218]
mov dword [ebp - 0x60cc0], 0x493e0
push eax
lea ecx, [ebp - 0x63368]
call fcn.00402ff6
lea ecx, [ebp - 0x63368]
call fcn.0042d9aa
lea ecx, [ebp - 0x63368]
call fcn.0042e0b1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43728b
push 0x55e000
push dword [ebp - 0x6336c]
lea eax, [ebp - 0x640]
push eax
call fcn.004014b0
add esp, 0xc
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x640]
push eax
call fcn.00401b4a
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x658]
call fcn.00401b4a
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.0043863c
pop ecx
pop ecx
lea ecx, [ebp - 0x658]
mov esi, eax
call fcn.004036e0
lea ecx, [ebp - 0x670]
call fcn.004036e0
test esi, esi
je 0x437280
cmp dword [edi + 0x14], 8
jb 0x43726e
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 - 0x640]
call fcn.004036e0
lea ecx, [ebp - 0x63368]
call fcn.0042aba4
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 - 0x10]
xor ecx, ebp
call fcn.0051d360
leave
ret