joyce8/EMBER2024-capa huggingface dataset:
Function at 0x73ed88b6
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov ebx, edx
xor esi, esi
push edi
mov edi, ecx
test ebx, ebx
je 0x73ed8911
push esi
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileSize]
push esi
push esi
push esi
push 2
push esi
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x73ed8900
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
push ebx
mov esi, eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, esi
cdq
mov dword [edi], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
jmp 0x73ed8916
call fcn.73ed16e2
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x73edac6d
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
or dword [esi + 0x214], 0xffffffff
mov dword [esi], 0x73dab74c
mov dword [esi + 4], 1
mov dword [esi + 8], 0x80070057
mov dword [esi + 0x218], ebx
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x220], ebx
mov dword [esi + 0x224], ebx
test edi, edi
je 0x73edad2c
cmp word [edi], bx
je 0x73edad2c
push edi
lea ecx, [esi + 0xc]
mov edx, 0x104
call fcn.73edb206
mov dword [esi + 8], eax
test eax, eax
js 0x73edad2c
push ebx
push ebx
push 3
push ebx
push 5
push 0x80000000
push edi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov dword [esi + 0x214], eax
cmp eax, 0xffffffff
je 0x73edad17
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
push ecx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileSizeEx]
test eax, eax
je 0x73edad17
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x218], eax
mov dword [esi + 0x21c], ecx
jmp 0x73edad2c
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x73edad29
movzx eax, ax
or eax, 0x80070000
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x73edafc7
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0x214]
cmp eax, 0xffffffff
je 0x73edb038
push edi
xor edi, edi
cmp dword [esi + 0x220], edi
jne 0x73edaff5
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_CreateFileMappingA]
mov dword [esi + 0x220], eax
mov eax, dword [esi + 0x220]
test eax, eax
je 0x73edb022
cmp dword [esi + 0x224], edi
jne 0x73edb037
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
mov dword [esi + 0x224], eax
test eax, eax
je 0x73edb022
mov dword [esi + 8], edi
jmp 0x73edb037
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x73edb034
movzx eax, ax
or eax, 0x80070000
mov dword [esi + 8], eax
pop edi
mov eax, dword [esi + 8]
pop esi
ret

Function at 0x73ee4a1b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push 0x73dbfaf8
xor ebx, ebx
mov dword [ebp - 4], esi
push 0x80000002
inc ebx
call dword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x73ee4a83
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x73dbfb44
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x73ee4a7a
cmp dword [ebp - 8], 4
jne 0x73ee4a7a
cmp dword [ebp - 0xc], ebx
sete bl
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x73ee4c41
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
push 0x73dbfaf8
xor ebx, ebx
mov dword [ebp - 4], edi
push 0x80000002
inc ebx
call dword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x73ee4ca3
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x73dbfb44
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x73ee4ca3
cmp dword [ebp - 8], 4
jne 0x73ee4ca3
xor ebx, ebx
cmp dword [ebp - 0xc], 1
sete bl
cmp dword [ebp - 4], edi
je 0x73ee4cb1
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_localregistry_l1_1_0.dll_RegCloseKey]
pop edi
mov dword [0x73f3ebc0], ebx
mov eax, ebx
pop ebx
leave
ret
Function at 0x73ee59b3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 8
push 0x3a8
mov eax, 0x73ef603a
call fcn.73eed226

Function at 0x73eed080
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x73f3e67c]
sub esp, 0x24
cmp eax, 0xffffffff
jne 0x73eed0a4
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x10]
mov dword [0x73f3e67c], eax
leave
ret
Function at 0x73f00fe7
Capabilities:
Delete directory
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
test edx, edx
je 0x73f00ffe
push ecx
mov ecx, edx
call fcn.73ef8e7f
test edi, edi
je 0x73f010f9
mov eax, dword [edi + 0x59c4]
cmp eax, 8
je 0x73f0101a
cmp eax, 4
jne 0x73f010f9
xor ebx, ebx
lea esi, [edi + 0x55b0]
mov dword [ebp - 4], ebx
cmp word [esi], bx
je 0x73f010f9
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x73f01033
sub ecx, edx
mov edx, str.C:Usersdev4rAppDataLocalTemp_
sar ecx, 1
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 4]
jne 0x73f0104a
sub edx, ebx
sar edx, 1
cmp ecx, edx
jle 0x73f010f9
cmp ecx, 0x209
jae 0x73f010f9
lea edi, [edi + ecx*2]
add edi, 0x55b0
cmp word [edi], 0x5c
je 0x73f01087
dec ecx
sub edi, 2
cmp ecx, edx
jg 0x73f01077
jmp 0x73f010f9
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
mov ecx, eax
call fcn.73dd5c5e
test eax, eax
je 0x73f010bd
test ecx, ecx
je 0x73f010a3
xor ebx, ebx
mov eax, ebx
jmp 0x73f010ab
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
xor ebx, ebx
push esi
push eax
push 0x73dc83f8
push ebx
call fcn.73f1690b
add esp, 0x10
jmp 0x73f010bf
xor ebx, ebx
xor eax, eax
push esi
mov word [edi], ax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_RemoveDirectoryW]
mov ecx, eax
call fcn.73dd5c5e
test eax, eax
je 0x73f010f4
test ecx, ecx
je 0x73f010de
mov eax, ebx
jmp 0x73f010e4
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push esi
push eax
push 0x73dc8430
push ebx
call fcn.73f1690b
add esp, 0x10
xor eax, eax
mov word [esi], ax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x73f01f8c
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x73f3e530]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x428], edx
xor ebx, ebx
test esi, esi
je 0x73f020ba
cmp byte [esi], bl
je 0x73f020ba
push 0x105
lea edx, [ebp - 0x420]
call fcn.73dd975e
push esi
mov edx, 0x104
lea ecx, [ebp - 0x214]
call fcn.73ee457f
pop ecx
lea ecx, [ebp - 0x214]
call fcn.73f18fa5
cmp eax, 0xffffffff
je 0x73f020ba
test al, 0x10
jne 0x73f020ba
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x73f020ba
push edi
push ebx
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x73f020aa
mov eax, 0x104
cmp edi, eax
ja 0x73f020aa
push eax
lea eax, [ebp - 0x10c]
push ebx
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
lea eax, [ebp - 0x424]
push ebx
push eax
push edi
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x73f020aa
cmp dword [ebp - 0x424], edi
jne 0x73f020aa
mov al, byte [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
inc ebx
jmp 0x73f02089
cmp al, 0xa
je 0x73f0208f
cmp al, 0xd
je 0x73f0208f
inc ecx
mov al, byte [ecx]
test al, al
jne 0x73f0207e
jmp 0x73f02092
mov byte [ecx], 0
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x10c]
push eax
mov edx, 0x105
call fcn.73ee457f
pop ecx
pop edi
test esi, esi
je 0x73f020b6
push esi
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, ebx
jmp 0x73f020bc
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.73ddffa0
leave
ret
Function at 0x73f024ee
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x73f3e530]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
lea edx, [ebx + 4]
mov ecx, dword [edi + 0x128]
cmp word [ecx], 0
jne 0x73f0251d
lea ecx, [edi + 0x26]
push 0x105
call fcn.73dd69fd
mov eax, dword [edi + 0x10]
or eax, dword [edi + 0x14]
jne 0x73f0254a
push 0x73dc885c
mov esi, dword [0x73f41d58]
mov ecx, esi
call dword [0x73f59474]
call esi
pop ecx
jmp 0x73f0273e
cmp dword [edi + 0x548], 8
jne 0x73f0255b
xor eax, eax
inc eax
jmp 0x73f02740
mov esi, dword [0x73f41d6c]
lea eax, [ebp - 0x280]
push eax
push 0x40
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
push dword [edi + 0x14]
push dword [edi + 0x10]
call dword [0x73f59474]
call esi
test eax, eax
je 0x73f02720
cmp dword [ebp - 0x280], 0x40
jne 0x73f02720
mov eax, 0x5a4d
cmp word [ebp - 0x4c], ax
jne 0x73f026b3
mov esi, dword [0x73f41d6c]
lea eax, [ebp - 0x280]
push eax
push 0xf8
lea eax, [ebp - 0x174]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x10]
cdq
add eax, dword [edi + 0x10]
adc edx, dword [edi + 0x14]
push edx
push eax
call dword [0x73f59474]
call esi
test eax, eax
je 0x73f02684
cmp dword [ebp - 0x280], 0xf8
jne 0x73f02684
cmp dword [ebp - 0x174], 0x4550
mov eax, dword [ebp - 0x16c]
mov dword [ebx + 0x110], eax
je 0x73f0262f
mov eax, 0x107
cmp word [ebp - 0x15c], ax
jne 0x73f02625
lea eax, [ebp - 0x170]
mov dword [0x73f57fcc], eax
mov eax, dword [ebp - 0x158]
jmp 0x73f026ab
push 0x73dc88c4
jmp 0x73f02534
mov eax, 0x20b
cmp word [ebp - 0x15c], ax
jne 0x73f0269a
mov esi, dword [0x73f41d6c]
lea eax, [ebp - 0x280]
push eax
push 0x108
lea eax, [ebp - 0x27c]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x10]
cdq
add eax, dword [edi + 0x10]
adc edx, dword [edi + 0x14]
push edx
push eax
call dword [0x73f59474]
call esi
test eax, eax
je 0x73f02684
cmp dword [ebp - 0x280], 0x108
jne 0x73f02684
mov eax, dword [ebp - 0x22c]
jmp 0x73f026ab
mov eax, dword [ebp - 0x10]
cdq
add eax, dword [edi + 0x10]
adc edx, dword [edi + 0x14]
push edx
push eax
push 0x73dc88a0
jmp 0x73f0272b
lea eax, [ebp - 0x170]
mov dword [0x73f57fcc], eax
mov eax, dword [ebp - 0x124]
mov dword [ebx + 0x114], eax
jmp 0x73f026f7
mov eax, 0x4944
cmp word [ebp - 0x4c], ax
jne 0x73f02716
mov esi, dword [0x73f41d6c]
lea eax, [ebp - 0x280]
push eax
push 0x30
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
push dword [edi + 0x14]
push dword [edi + 0x10]
call dword [0x73f59474]
call esi
test eax, eax
je 0x73f02709
cmp dword [ebp - 0x280], 0x30
jne 0x73f02709
mov eax, dword [ebp - 0x74]
mov dword [ebx + 0x110], eax
lea ecx, [edi + 0x4920]
mov edx, ebx
call fcn.73f17788
jmp 0x73f02553
push dword [edi + 0x14]
push dword [edi + 0x10]
push 0x73dc88e0
jmp 0x73f0272b
push 0x73dc8908
jmp 0x73f02534
push dword [edi + 0x14]
push dword [edi + 0x10]
push 0x73dc8880
mov esi, dword [0x73f41d58]
mov ecx, esi
call dword [0x73f59474]
call esi
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.73ddffa0
leave
ret 4
Function at 0x73f08d40
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
jne 0x73f08d58
push 0x57
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x73f08d8b
movzx eax, word [edx + 0x14]
lea ecx, [edx + 0x18]
push esi
push edi
movzx edi, word [edx + 6]
add ecx, eax
xor esi, esi
test edi, edi
je 0x73f08d87
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x73f08d7f
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 0xc]
cmp edx, eax
jb 0x73f08d8f
add ecx, 0x28
inc esi
cmp esi, edi
jb 0x73f08d70
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
mov eax, ecx
jmp 0x73f08d89

Function at 0x73f08dfa
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x73f34b40
call fcn.73de0d20
xor edx, edx
test ecx, ecx
je 0x73f08e56
cmp ecx, 0xffffffff
je 0x73f08e56
mov dword [ebp - 4], edx
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x73f08e4f
mov eax, dword [ecx + 0x3c]
test eax, eax
js 0x73f08e4f
cmp eax, 0x10000000
jae 0x73f08e4f
add eax, ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
sub edx, 0x4550
neg edx
sbb edx, edx
not edx
and edx, eax
jmp 0x73f08e4c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xfffffffe
mov eax, edx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x73f08ee0
Capabilities:
Parse pe header

Disassembly:
push 0x1c
push 0x73f34b60
call fcn.73de0d20
xor esi, esi
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x20], esi
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 8]
movzx eax, word [ecx]
mov edx, 0x5a4d
cmp ax, dx
jne 0x73f08f16
mov edi, dword [ecx + 0x3c]
add edi, ecx
jmp 0x73f08f22
mov edx, 0x4550
cmp ax, dx
jne 0x73f08f22
mov edi, ecx
test edi, edi
je 0x73f08fb7
movzx eax, word [edi + 0x18]
mov edx, 0x10b
cmp ax, dx
jne 0x73f08f4c
cmp dword [edi + 0x74], 6
jbe 0x73f08f6d
mov ebx, dword [edi + 0xa8]
mov eax, dword [edi + 0xac]
jmp 0x73f08f6f
mov edx, 0x20b
cmp ax, dx
jne 0x73f08f6d
cmp dword [edi + 0x84], 6
jbe 0x73f08f6d
mov ebx, dword [edi + 0xb8]
mov eax, dword [edi + 0xbc]
jmp 0x73f08f6f
mov eax, esi
test ebx, ebx
je 0x73f08fa2
xor edx, edx
mov dword [ebp - 0x24], 0x1c
div dword [ebp - 0x24]
mov edx, eax
add ebx, ecx
mov ecx, esi
mov dword [ebp - 0x28], ecx
cmp ecx, edx
jae 0x73f08fa2
imul eax, ecx, 0x1c
cmp dword [eax + ebx + 0xc], 0x10
jne 0x73f08f9f
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
inc ecx
jmp 0x73f08f85
cmp dword [ebp - 0x20], 0
jne 0x73f08fb0
mov esi, dword [edi + 8]
mov dword [ebp - 0x1c], esi
jmp 0x73f08fd5
push 0x490
jmp 0x73f08fcc
push 0x65e
jmp 0x73f08fcc
mov dword [ebp - 0x1c], esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x73f09bc2
Capabilities:
Check if file exists
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x73f3e530]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x4c]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
push 0x20a
lea eax, [ebp - 0x258]
mov dword [ebp - 0x460], edi
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
push 0x202
lea eax, [ebp - 0x45c]
mov dword [ebp - 0xc], edi
push edi
push eax
mov dword [ebp - 8], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [0x73f3e664]
add esp, 0x24
test eax, eax
js 0x73f09c2a
sete al
jmp 0x73f09d3c
push ebx
push esi
mov esi, 0x105
lea eax, [ebp - 0x258]
push esi
push eax
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetModuleFileNameW]
test eax, eax
je 0x73f09d38
push edi
push edi
push edi
push edi
push 0x101
lea eax, [ebp - 0x45c]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wsplitpath_s]
lea eax, [ebp - 0xc]
mov edx, esi
push eax
lea ecx, [ebp - 0x258]
call fcn.73ee45dd
lea eax, [ebp - 0x45c]
mov edx, esi
push eax
lea ecx, [ebp - 0x258]
call fcn.73ee45ae
push 0x73dbd65c
mov edx, esi
lea ecx, [ebp - 0x258]
call fcn.73ee45ae
add esp, 0x30
lea eax, [ebp - 0x258]
xor ebx, ebx
inc ebx
push edi
push 0x80
push 3
push edi
push ebx
push 0x80000000
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x73f09d27
cmp esi, 0xffffffff
je 0x73f09d27
push edi
lea eax, [ebp - 0x460]
mov dword [0x73f3e664], ebx
push eax
push 0x40
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x73f09d15
cmp dword [ebp - 0x460], 0x11
jbe 0x73f09d15
push 0x11
lea eax, [ebp - 0x4c]
push 0x73dbd680
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__strnicmp]
add esp, 0xc
neg eax
sbb eax, eax
and dword [0x73f3e664], eax
push esi
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp dword [0x73f3e664], edi
sete al
jmp 0x73f09d3a
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
jne 0x73f09d38
mov dword [0x73f3e664], ebx
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.73ddffa0
leave
ret
Function at 0x73f0af7c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x73f3e530]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
xor esi, esi
lea eax, [ebp - 0x210]
push esi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
mov edi, 0x105
push edi
push eax
push 0x73dc98c4
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
test eax, eax
je 0x73f0afd3
push esi
push 1
mov ecx, 0x100000
call fcn.73dd44b5
push edi
lea eax, [ebp - 0x210]
push eax
push 0x73dc98e4
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
test eax, eax
je 0x73f0aff7
push esi
push 1
mov ecx, 0x1000000
call fcn.73dd44b5
push edi
lea eax, [ebp - 0x210]
push eax
push 0x73dc9904
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
test eax, eax
je 0x73f0b01b
push esi
push 1
mov ecx, 0x800000
call fcn.73dd44b5
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.73ddffa0
leave
ret

Function at 0x73f0b465
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov edi, esi
jmp 0x73f0b482
movsx eax, byte [ebx + edx - 1]
and eax, 0xdf
or edi, eax
shl edi, 8
dec edx
test dl, 3
jne 0x73f0b472
shr edx, 2
mov ecx, esi
test edx, edx
je 0x73f0b4a2
mov eax, dword [ebx + ecx*4]
and eax, 0xdfdfdfdf
xor esi, eax
rol esi, 4
inc ecx
cmp ecx, edx
jl 0x73f0b490
xor esi, edi
xor edx, edx
mov eax, esi
mov ecx, 0xfd
div ecx
pop edi
pop esi
mov eax, edx
pop ebx
ret
Function at 0x73f0be84
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x854
mov eax, dword [0x73f3e530]
xor eax, esp
mov dword [esp + 0x850], eax
push ebx
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov ecx, eax
push edi
mov edi, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.73dd5c89
push 0x73dbcfc8
mov edx, 0x105
lea ecx, [esp + 0x64c]
mov ebx, eax
call fcn.73ee45dd
pop ecx
push esi
mov edx, 0x105
lea ecx, [esp + 0x64c]
call fcn.73ee45ae
test dword [0x73f3bcb4], 0x400000
pop ecx
je 0x73f0bfe5
mov edx, dword [esp + 0x10]
lea esi, [esp + 0x228]
push ecx
mov eax, esi
mov ecx, edi
push eax
call fcn.73f18c2c
test eax, eax
je 0x73f0c000
mov ecx, esi
call fcn.73f19085
cmp eax, 0xffffffff
jne 0x73f0bf39
sub esp, 0x10
mov edx, esi
mov ecx, edi
call fcn.73f1f8a8
test eax, eax
jmp 0x73f0bffe
test al, 0x10
jne 0x73f0bfe5
push dword [esp + 0x10]
mov esi, 0x105
lea ecx, [esp + 0x1c]
mov edx, esi
call fcn.73ee45dd
pop ecx
mov edx, esi
lea ecx, [esp + 0x18]
call fcn.73f08e6e
push 0x73dbdaac
call fcn.73ee45ae
pop ecx
lea ecx, [esp + 0x18]
call fcn.73f01c94
test eax, eax
jne 0x73f0bf89
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
je 0x73f0c000
push ecx
lea eax, [esp + 0x43c]
mov ecx, edi
push eax
lea edx, [esp + 0x20]
call fcn.73f18c2c
test eax, eax
je 0x73f0c000
push ecx
lea edx, [esp + 0x43c]
lea ecx, [esp + 0x22c]
call fcn.73f1f96d
test eax, eax
je 0x73f0c000
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x438]
push 0
push eax
lea eax, [esp + 0x650]
push eax
push esi
call sym.dbghelp.dll_SymSrvStoreFileW
lea eax, [esp + 0x438]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
jmp 0x73f0bfe9
mov esi, dword [esp + 0xc]
push 0x40
push edi
lea eax, [esp + 0x650]
push eax
push esi
call sym.dbghelp.dll_SymSrvStoreFileW
mov esi, eax
test esi, esi
jne 0x73f0c037
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x73f0c033
cmp eax, 3
je 0x73f0c033
push 0xfdb97537
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
call fcn.73dd5c5e
test eax, eax
je 0x73f0c033
push edi
push 0x73dbdb10
push ebx
call fcn.73f1690b
add esp, 0xc
xor eax, eax
jmp 0x73f0c094
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x73f0c05c
call fcn.73dd5c5e
test eax, eax
je 0x73f0c079
push esi
push edi
push 0x73dbdac0
push ebx
call fcn.73f1690b
add esp, 0x10
jmp 0x73f0c079
cmp eax, 0x50
jne 0x73f0c079
call fcn.73dd5c5e
test eax, eax
je 0x73f0c079
push esi
push 0x73dbdae4
push ebx
call fcn.73f1690b
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x73f0c091
mov edx, dword [ebp + 0x10]
test edx, edx
jle 0x73f0c091
push esi
mov ecx, eax
call fcn.73ee45dd
pop ecx
xor eax, eax
inc eax
mov ecx, dword [esp + 0x85c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.73ddffa0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x73f0c7b9
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x73f3e530]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x73f41bf0]
push ebx
push esi
test eax, eax
jne 0x73f0c80f
mov ecx, 0x73dbdbec
call fcn.73f18b8f
mov dword [0x73f41bf0], eax
test eax, eax
je 0x73f0c807
push 0x73dbdc04
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
mov esi, eax
mov eax, dword [0x73f41bf0]
mov dword [0x73f41bec], esi
jmp 0x73f0c815
or eax, 0xffffffff
mov dword [0x73f41bf0], eax
mov esi, dword [0x73f41bec]
cmp eax, 0xffffffff
je 0x73f0c898
test esi, esi
je 0x73f0c898
xor eax, eax
mov ecx, esi
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push 0x23
push eax
push 0
call dword [0x73f59474]
call esi
test eax, eax
je 0x73f0c898
lea eax, [ebp - 0x210]
mov ebx, 0x105
mov esi, 0x73f419e0
mov edx, ebx
push eax
mov ecx, esi
call fcn.73ee45dd
pop ecx
mov edx, ebx
mov ecx, esi
call fcn.73f08e6e
test eax, eax
je 0x73f0c898
push 0x73dbdc1c
call fcn.73ee45ae
pop ecx
push 0
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x73f0c893
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
jmp 0x73f0c89a
xor eax, eax
inc eax
jmp 0x73f0c89a
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.73ddffa0
leave
ret