joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419b01
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
push ebx
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 4], 0x80004005
call fcn.0044f6b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push 0x10
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x419bf1
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x20c]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
cmp ax, bx
jne 0x419b65
push esi
mov esi, str..url
movsd dword es:[edi], dword [esi]
push 0x3ff
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x60b]
push ebx
push eax
movsw word es:[edi], word [esi]
mov byte [ebp - 0x60c], bl
call fcn.0044f6b0
push dword [ebp + 0x10]
lea eax, [ebp - 0x60c]
push dword [ebp + 0xc]
push str._InternetShortcut__r_nURL_S_r_nIconFile_S_r_nIconIndex0_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push ebx
push ebx
push 2
push ebx
push ebx
mov edi, eax
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x419bef
push ebx
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 0x60c]
push eax
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
pop esi
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0xc

Function at 0x41bf82
Capabilities:
Create http request
Create thread

Disassembly:
push ebx
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.VIP_TRACKING
mov dword [esi + 8], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
push edi
push edi
push edi
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, eax
lea eax, [esi + 4]
push eax
push edi
push ebx
push 0x41c023
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
mov eax, esi
pop ebx
ret
Function at 0x41c494
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
test eax, eax
je 0x41c4e5
test edi, edi
je 0x41c4e9
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c4a7
sub eax, edx
je 0x41c4e5
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c4b7
sub eax, edx
je 0x41c4e5
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Attempting_to_send
call esi
push dword [ebp + 8]
call esi
push str._to_URL:
call esi
push edi
call esi
push 0x460b5c
call esi
test edi, edi
jne 0x41c526
mov eax, dword [0x477de8]
test eax, eax
je 0x41c557
push 0
push 0
push 0x12
push dword [eax + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call fcn.00445940
and dword [0x477de8], 0
pop ecx
jmp 0x41c557
cmp dword [0x477de8], 0
jne 0x41c54b
push 0x10
call fcn.00445998
pop ecx
test eax, eax
je 0x41c544
mov esi, eax
call fcn.0041bf82
jmp 0x41c546
xor eax, eax
mov dword [0x477de8], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call fcn.0041bfca
pop esi
leave
ret

Function at 0x41c55a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov byte [ebp - 0x14], 0
push esi
push edi
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c578
sub eax, ecx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0041c951
add esp, 0xc
push 5
lea ecx, [ebp - 0x14]
pop edi
xor esi, esi
lea eax, [ecx + 3]
mov dl, byte [eax]
xor byte [ecx + esi], dl
mov dl, byte [ecx + esi]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx + esi], dl
inc esi
dec eax
cmp esi, 2
jl 0x41c59c
add ecx, 4
dec edi
jne 0x41c597
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041c5d0
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x41c609
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
ret
Function at 0x41c8bf
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax + 0x1c]
mov byte [ecx + eax + 0x20], 0x80
inc dword [eax + 0x1c]
cmp ecx, 0x37
mov ecx, dword [eax + 0x1c]
jle 0x41c909
jmp 0x41c8df
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x40
jl 0x41c8d4
call fcn.0041c705
jmp 0x41c8f6
mov ecx, dword [eax + 0x1c]
mov byte [eax + ecx + 0x20], 0
inc dword [eax + 0x1c]
cmp dword [eax + 0x1c], 0x38
jl 0x41c8eb
jmp 0x41c90e
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x38
jl 0x41c8fe
mov ecx, dword [eax + 0x18]
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x58], dl
mov edx, ecx
shr ecx, 8
mov byte [eax + 0x5a], cl
mov cl, byte [eax + 0x18]
shr edx, 0x10
mov byte [eax + 0x5b], cl
mov ecx, dword [eax + 0x14]
mov byte [eax + 0x59], dl
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x5c], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 8
mov byte [eax + 0x5e], cl
mov cl, byte [eax + 0x14]
mov byte [eax + 0x5d], dl
mov byte [eax + 0x5f], cl
jmp fcn.0041c705

Function at 0x41c980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push esi
push edi
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x461598
stosb byte es:[edi], al
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c9a2
sub eax, esi
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
call fcn.0041c951
add esp, 0xc
push 5
lea ecx, [ebp - 0x14]
pop edi
xor esi, esi
lea eax, [ecx + 3]
mov dl, byte [eax]
xor byte [ecx + esi], dl
mov dl, byte [ecx + esi]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx + esi], dl
inc esi
dec eax
cmp esi, 2
jl 0x41c9c4
add ecx, 4
dec edi
jne 0x41c9bf
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp + 8]
call fcn.0041c5d0
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x41c9f8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push esi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x184]
push eax
mov dword [ebp - 8], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x84]
call fcn.0041c609
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
push eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x84]
call fcn.0041c69a
lea eax, [ebp - 0x184]
push eax
call edi
push eax
lea eax, [ebp - 0x184]
call fcn.0041c69a
lea eax, [ebp - 0x1c]
push eax
call fcn.0041c63d
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push 0x14
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041c5d0
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x41ca76
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov ebx, eax
xor eax, eax
inc esi
push edi
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
je 0x41caea
lea esi, [ebx + 1]
lea ebx, [esi + esi]
mov eax, ebx
call fcn.0044e500
mov edi, esp
push ebx
push 0
push edi
call fcn.0044f6b0
add esp, 0xc
push esi
push dword [ebp + 0x10]
push edi
call fcn.0044ce90
add esp, 0xc
push esi
push edi
call fcn.0041c980
pop ecx
pop ecx
test esi, esi
je 0x41cae5
push esi
push dword [ebp + 0x10]
lea eax, [esi + edi]
push eax
mov dword [ebp - 8], eax
call fcn.0044ce90
add esp, 0xc
push esi
push dword [ebp - 8]
push dword [ebp + 0x14]
call fcn.0041c9f8
add esp, 0xc
push 3
pop esi
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0x20006
push eax
push eax
push eax
push dword [ebp + 8]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41cb26
push ebx
push edi
push esi
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov dword [ebp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41cb31
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
je 0x41cb47
mov ecx, dword [eax]
jmp 0x41cb49
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ecx, esi
jne 0x41cb53
mov dword [ebp + 0x14], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
xor ebx, ebx
inc ebx
cmp eax, esi
je 0x41cb67
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41cb6a
mov dword [ebp - 8], ebx
xor eax, eax
cmp dword [ebp - 8], ebx
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x1c], esi
je 0x41cbe0
cmp dword [ebp + 0x14], esi
je 0x41cbe0
mov dword [ebp - 0x10], ebx
cmp eax, esi
je 0x41cb94
lea eax, [ecx + ecx + 2]
mov dword [ebp - 4], eax
call fcn.0044e500
mov edi, esp
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push dword [ebp + 8]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x41cc6e
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41cbe5
mov eax, esi
jmp 0x41cc6e
mov dword [ebp - 0x10], esi
jmp 0x41cb94
cmp dword [ebp - 0x10], 0
je 0x41cc54
push dword [ebp - 4]
push edi
call fcn.0041c980
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
je 0x41cc54
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [ebp - 4]
mov esi, eax
inc esi
cmp esi, ebx
jae 0x41cc35
push ebx
push edi
call fcn.0041c980
sub dword [ebp - 4], esi
push dword [ebp - 4]
lea eax, [esi + edi]
push eax
push dword [ebp + 0x1c]
call fcn.0041c9f8
mov ebx, dword [ebp - 4]
add esp, 0x14
dec ebx
mov dword [ebp - 4], ebx
jmp 0x41cc37
xor esi, esi
push ebx
add esi, edi
push esi
mov esi, dword [ebp + 0x14]
push esi
call fcn.0044ce90
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp ebx, dword [eax]
jae 0x41cc57
mov byte [ebx + esi], 0
jmp 0x41cc57
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41cc60
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41cc6c
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor eax, eax
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ccf6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x64
mov esi, eax
pop ebx
call fcn.0041cca1
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x41cd1b
mov ebx, dword [esi + 8]
add ebx, 0x64
call fcn.0041cca1
mov eax, dword [esi + 8]
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], eax
mov eax, dword [esi]
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov ebx, eax
cmp ebx, 0xea
je 0x41cd10
test ebx, ebx
jne 0x41cd63
cmp dword [ebp - 8], eax
jbe 0x41cd5e
cmp dword [ebp - 8], 2
jbe 0x41cd55
cmp dword [ebp - 8], 7
jne 0x41cd5e
cmp dword [ebp - 4], 0
je 0x41cd5e
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x41cd65
xor eax, eax
mov ecx, esi
call fcn.0041ccdf
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x41fc54
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromIID]
push dword [ebp - 4]
mov esi, 0x477df0
push 0x462350
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 8]
push eax
push esi
push esi
push SysReAllocStringLen
mov dword [ebp - 8], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
mov eax, esi
je 0x41fcae
mov eax, 0x477e04
pop esi
leave
ret

Function at 0x420964
Capabilities:
Print debug messages

Disassembly:
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
push esi
call fcn.004252c9
push str.BIGV_in_the_house
mov dword [esi], 0x462c18
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push ebx
mov byte [esi + 0x2cc], 1
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2c4], ebx
call fcn.0043d946
push ebx
push ebx
mov dword [esi + 0x2c8], eax
call fcn.0043d946
push ebx
push ebx
mov dword [esi + 0x294], eax
mov dword [esi + 0x18], 2
mov dword [esi + 0x264], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x274], ebx
mov dword [esi + 0x278], ebx
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi + 0x288], ebx
mov dword [esi + 0x28c], ebx
mov dword [esi + 0x290], ebx
mov dword [esi + 0x298], ebx
mov byte [esi + 0x260], bl
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
call fcn.0043d946
add esp, 0x18
mov dword [esi + 0x2b0], eax
mov byte [esi + 0x2ac], bl
mov byte [esi + 0x261], bl
mov byte [esi + 0x29c], bl
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2b8], ebx
mov dword [esi + 0x2bc], ebx
mov eax, esi
pop ebx
ret
Function at 0x4261af
Capabilities:
Print debug messages

Disassembly:
push dword [esi + 0x190]
call fcn.0043d96d
mov eax, dword [esi + 0x188]
pop ecx
mov ecx, dword [esi + 0x18c]
mov edx, eax
or edx, ecx
je 0x4261e1
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], ecx
jmp 0x4261ec
push str.Attempt_to_reduce_CMuppet_ref_count___0_IGNORED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push edi
push dword [esi + 0x190]
call fcn.0043d981
lea edi, [esi + 0x10c]
push dword [edi]
call fcn.0043d96d
cmp byte [esi + 0x72], 0
push dword [edi]
sete bl
call fcn.0043d981
add esp, 0xc
pop edi
mov al, bl
pop ebx
ret

Function at 0x4268ea
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
push dword [ebx + 0xfc]
mov esi, eax
call fcn.0043d96d
mov eax, dword [ebx + 0x180]
pop ecx
test eax, eax
je 0x426914
push eax
call fcn.00446598
pop ecx
push dword [ebx + 0xfc]
and dword [ebx + 0x180], 0
call fcn.0043d981
mov dword [esp], 0x104
lea eax, [ebp - 0x110]
push eax
push str.MUP_CACHEDIR
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x102
ja 0x42694f
lea eax, [ebp - 0x110]
jmp 0x426971
mov dword [ebp - 4], esi
test esi, esi
jne 0x426974
push esi
lea eax, [ebp - 0x218]
call fcn.0043228a
pop ecx
test al, al
je 0x426a6b
lea eax, [ebp - 0x218]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42697a
sub eax, esi
add eax, 0x11
push eax
call fcn.00445c23
mov edx, dword [ebp - 4]
pop ecx
mov dword [ebx + 0x180], eax
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x426996
mov esi, dword [ebx + 0x180]
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4269ab
sub eax, edi
je 0x4269cf
cmp byte [esi + eax - 1], 0x5c
je 0x4269cf
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4269be
mov edi, esi
mov esi, 0x45f79c
movsw word es:[edi], word [esi]
mov edi, dword [ebx + 0x180]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4269d6
mov esi, str.cache
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebx + 0x180]
push 0
call fcn.0042db1e
pop ecx
test al, al
jne 0x426a26
push dword [ebx + 0x180]
call fcn.00446598
and dword [ebx + 0x180], 0
pop ecx
push dword [ebp - 4]
push str.Unable_to_use_global_cache_at__s:_dir_doesnt_exist_and_cant_be_created_n
call fcn.00446f45
add eax, 0x40
push eax
call fcn.00447492
add esp, 0xc
jmp 0x426a6b
push dword [ebx + 0xfc]
call fcn.0043d96d
mov esi, dword [ebx + 0x180]
mov eax, esi
pop ecx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426a3d
sub eax, edi
cmp byte [esi + eax - 1], 0x5c
je 0x426a5f
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x426a4e
mov edi, esi
mov esi, 0x45f79c
movsw word es:[edi], word [esi]
push dword [ebx + 0xfc]
call fcn.0043d981
pop ecx
pop edi
pop esi
leave
ret
Function at 0x42977c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x20
push dword [ebp + 0xc]
call fcn.0042c787
mov ebx, eax
push 0
mov dword [ebp - 8], ebx
call fcn.00445ff3
pop ecx
and eax, 0xffff
push eax
call fcn.004489fa
pop ecx
call fcn.00448a0c
imul eax, eax, 0x3e8
cdq
mov ecx, 0x7fff
idiv ecx
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push str._04i
push eax
call fcn.0044688b
mov edi, ebx
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4297d6
mov esi, 0x4630e4
lea eax, [ebp - 0x2c]
movsw word es:[edi], word [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4297ea
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4297f6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x2710
jmp 0x429870
push ebx
call fcn.0042b122
pop ecx
test al, al
jne 0x429859
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429825
sub eax, edx
cmp eax, 0x104
jae 0x4298b0
mov edi, dword [ebp + 0xc]
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne al
test al, al
jne 0x42987e
inc dword [ebp - 4]
push dword [ebp - 4]
push edi
push str._s._04i
jmp 0x429867
inc dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp + 0xc]
push str._s._4i
push ebx
call fcn.0044688b
add esp, 0x10
cmp dword [ebp - 4], esi
jl 0x429815
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
push ebx
call fcn.0042dac3
mov esi, dword [ebp + 8]
pop ecx
mov eax, edi
call fcn.00429be6
mov edx, edi
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x429895
mov bl, 1
mov eax, dword [ebp + 8]
lea edi, [ebp - 8]
call fcn.0042c8e8
mov al, bl
jmp 0x429877
xor bl, bl
jmp 0x4298a1
Function at 0x4298b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [eax + 0x180]
sub esp, 0x108
push ebx
push esi
mov eax, ecx
push edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4298cb
sub eax, esi
test ecx, ecx
je 0x429942
test eax, eax
je 0x429942
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dl, byte [ecx]
inc ecx
mov byte [esi], dl
inc esi
test dl, dl
jne 0x4298e1
cmp byte [eax + edi - 1], 0x5c
mov ebx, 0x45f79c
je 0x429904
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4298f8
mov esi, ebx
movsw word es:[edi], word [esi]
mov edi, dword [ebp + 0xc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x429908
mov esi, str.__temp
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
push 0
mov eax, edi
call fcn.0042db1e
pop ecx
test al, al
je 0x429a5b
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42992f
mov esi, ebx
movsw word es:[edi], word [esi]
mov edi, 0x104
jmp 0x429961
push dword [ebp + 0xc]
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x429a5b
cmp eax, edi
jae 0x429a5b
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429967
sub eax, edx
mov esi, eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x429978
sub eax, ecx
lea eax, [eax + esi + 1]
cmp eax, edi
jae 0x429a5b
push 0x46304c
push dword [ebp + 8]
call fcn.00445cf0
pop ecx
pop ecx
test eax, eax
je 0x4299a5
add eax, 3
jmp 0x4299a8
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x108]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4299b0
lea eax, [ebp - 0x108]
cmp byte [ebp - 0x108], cl
je 0x429a1c
movsx ecx, byte [eax]
cmp ecx, 0x2f
jg 0x4299ff
je 0x4299fa
cmp ecx, 0x22
je 0x429a13
cmp ecx, 0x2a
je 0x429a13
cmp ecx, 0x2e
jne 0x429a16
mov cl, byte [eax + 1]
test cl, cl
je 0x429a13
cmp cl, 0x2e
je 0x4299f4
cmp cl, 0x5c
je 0x429a13
jmp 0x429a16
mov byte [eax + 1], 0x5f
jmp 0x429a13
mov byte [eax], 0x5c
jmp 0x429a16
cmp ecx, 0x3c
je 0x429a13
cmp ecx, 0x3d
jle 0x429a16
cmp ecx, 0x3f
jle 0x429a13
cmp ecx, 0x7c
jne 0x429a16
mov byte [eax], 0x5f
inc eax
cmp byte [eax], 0
jne 0x4299c8
lea eax, [ebp - 0x108]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429a24
mov edi, dword [ebp + 0xc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x429a31
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
call fcn.0042db1e
test al, al
pop ecx
setne al
jmp 0x429a5d
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x429a64
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push dword [ebp + 8]
mov esi, 0x80
push esi
lea eax, [ebp - 0x80]
push 1
push eax
call fcn.00447475
add esp, 0x10
cmp eax, esi
je 0x429a90
xor al, al
jmp 0x429b48
lea eax, [ebp - 0x80]
mov byte [ebp - 1], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429a9a
sub eax, edx
jmp 0x429aad
cmp byte [ebp + eax - 0x80], 0
jne 0x429a89
inc eax
cmp eax, esi
jb 0x429aa5
lea eax, [ebp - 0x100]
push eax
push str.size
lea eax, [ebp - 0x80]
push eax
call fcn.00429b4d
test al, al
je 0x429a89
lea eax, [ebp - 0x100]
push edi
push eax
call fcn.00445848
pop ecx
mov edi, eax
lea eax, [ebp - 0x100]
push eax
push str.hash
lea eax, [ebp - 0x80]
push eax
call fcn.00429b4d
test al, al
je 0x429b0a
lea eax, [ebp - 0x100]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429afc
sub eax, edx
cmp eax, 0x20
jb 0x429b0e
xor al, al
jmp 0x429b47
push 0x24
call fcn.00445998
pop ecx
test eax, eax
je 0x429b25
and dword [eax + 0x20], 0
mov byte [eax], 0
mov edx, eax
jmp 0x429b27
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
lea eax, [ebp - 0x100]
mov esi, edx
mov ecx, eax
sub esi, ecx
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x429b38
mov dword [edx + 0x20], edi
mov al, 1
pop edi
pop esi
leave
ret 8
Function at 0x42dd4f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
push eax
push 0
push dword [eax + 0x20]
lea eax, [ebp - 0x84]
push str.size:__llu__hash:__s
push eax
call fcn.0044688b
lea eax, [ebp - 0x84]
add esp, 0x14
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42dd7c
sub eax, ecx
mov esi, 0x80
cmp eax, esi
jae 0x42dda5
mov edx, esi
sub edx, eax
push edx
lea ecx, [ebp + eax - 0x84]
push 0
push ecx
call fcn.0044f6b0
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x84]
push esi
push 1
push eax
call fcn.00448b90
add esp, 0x10
cmp eax, esi
je 0x42ddc2
xor al, al
jmp 0x42ddcd
push dword [ebp + 8]
call fcn.004488ee
pop ecx
mov al, 1
pop esi
leave
ret 4