joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bab4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
test eax, eax
je 0x41bb05
test edi, edi
je 0x41bb09
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41bac7
sub eax, edx
je 0x41bb05
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41bad7
sub eax, edx
je 0x41bb05
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 0x456a1c
call esi
test edi, edi
jne 0x41bb46
mov eax, dword [0x46dd68]
test eax, eax
je 0x41bb77
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.0043b780
and dword [0x46dd68], 0
pop ecx
jmp 0x41bb77
cmp dword [0x46dd68], 0
jne 0x41bb6b
push 0x10
call fcn.0043b7d8
pop ecx
test eax, eax
je 0x41bb64
mov esi, eax
call fcn.0041b5a2
jmp 0x41bb66
xor eax, eax
mov dword [0x46dd68], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call fcn.0041b5ea
pop esi
leave
ret

Function at 0x41bb7a
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 0x41bb98
sub eax, ecx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0041bf71
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 0x41bbbc
add ecx, 4
dec edi
jne 0x41bbb7
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041bbf0
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x41bc29
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 0x41bedf
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 0x41bf29
jmp 0x41beff
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x40
jl 0x41bef4
call fcn.0041bd25
jmp 0x41bf16
mov ecx, dword [eax + 0x1c]
mov byte [eax + ecx + 0x20], 0
inc dword [eax + 0x1c]
cmp dword [eax + 0x1c], 0x38
jl 0x41bf0b
jmp 0x41bf2e
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x38
jl 0x41bf1e
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.0041bd25

Function at 0x41bfa0
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, 0x4572f0
stosb byte es:[edi], al
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41bfc2
sub eax, esi
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
call fcn.0041bf71
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 0x41bfe4
add ecx, 4
dec edi
jne 0x41bfdf
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp + 8]
call fcn.0041bbf0
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x41c018
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], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x84]
call fcn.0041bc29
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.0041bcba
lea eax, [ebp - 0x184]
push eax
call edi
push eax
lea eax, [ebp - 0x184]
call fcn.0041bcba
lea eax, [ebp - 0x1c]
push eax
call fcn.0041bc5d
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push 0x14
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041bbf0
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x41c096
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 0x41c10a
lea esi, [ebx + 1]
lea ebx, [esi + esi]
mov eax, ebx
call fcn.00444320
mov edi, esp
push ebx
push 0
push edi
call fcn.004454d0
add esp, 0xc
push esi
push dword [ebp + 0x10]
push edi
call fcn.00442cb0
add esp, 0xc
push esi
push edi
call fcn.0041bfa0
pop ecx
pop ecx
test esi, esi
je 0x41c105
push esi
push dword [ebp + 0x10]
lea eax, [esi + edi]
push eax
mov dword [ebp - 8], eax
call fcn.00442cb0
add esp, 0xc
push esi
push dword [ebp - 8]
push dword [ebp + 0x14]
call fcn.0041c018
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41c146
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 0x41c151
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 0x41c167
mov ecx, dword [eax]
jmp 0x41c169
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ecx, esi
jne 0x41c173
mov dword [ebp + 0x14], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
xor ebx, ebx
inc ebx
cmp eax, esi
je 0x41c187
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41c18a
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 0x41c200
cmp dword [ebp + 0x14], esi
je 0x41c200
mov dword [ebp - 0x10], ebx
cmp eax, esi
je 0x41c1b4
lea eax, [ecx + ecx + 2]
mov dword [ebp - 4], eax
call fcn.00444320
mov edi, esp
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x41c28e
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 0x41c205
mov eax, esi
jmp 0x41c28e
mov dword [ebp - 0x10], esi
jmp 0x41c1b4
cmp dword [ebp - 0x10], 0
je 0x41c274
push dword [ebp - 4]
push edi
call fcn.0041bfa0
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
je 0x41c274
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 0x41c255
push ebx
push edi
call fcn.0041bfa0
sub dword [ebp - 4], esi
push dword [ebp - 4]
lea eax, [esi + edi]
push eax
push dword [ebp + 0x1c]
call fcn.0041c018
mov ebx, dword [ebp - 4]
add esp, 0x14
dec ebx
mov dword [ebp - 4], ebx
jmp 0x41c257
xor esi, esi
push ebx
add esi, edi
push esi
mov esi, dword [ebp + 0x14]
push esi
call fcn.00442cb0
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp ebx, dword [eax]
jae 0x41c277
mov byte [ebx + esi], 0
jmp 0x41c277
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41c280
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41c28c
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 0x41c316
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.0041c2c1
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x41c33b
mov ebx, dword [esi + 8]
add ebx, 0x64
call fcn.0041c2c1
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 0x41c330
test ebx, ebx
jne 0x41c383
cmp dword [ebp - 8], eax
jbe 0x41c37e
cmp dword [ebp - 8], 2
jbe 0x41c375
cmp dword [ebp - 8], 7
jne 0x41c37e
cmp dword [ebp - 4], 0
je 0x41c37e
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x41c385
xor eax, eax
mov ecx, esi
call fcn.0041c2ff
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x41f285
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, 0x46dd70
push 0x4580f0
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 SysReAllocString
mov dword [ebp - 8], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
mov eax, esi
je 0x41f2df
mov eax, 0x46dd84
pop esi
leave
ret

Function at 0x420b69
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push 0
mov ebx, eax
push 0x23
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x420b93
xor al, al
jmp 0x420c14
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420b9c
sub eax, edx
cmp eax, 0xf8
jae 0x420b8c
lea eax, [ebp - 0x104]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x420bb8
push esi
push edi
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x420bc7
mov eax, 0x4556b4
mov esi, eax
movsw word es:[edi], word [esi]
mov edi, ebx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x420bdb
mov esi, 0x454ce8
movsd dword es:[edi], dword [esi]
cmp byte [ebp + 8], cl
je 0x420c10
mov edi, ebx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x420bf1
mov esi, eax
dec ebx
movsw word es:[edi], word [esi]
mov edi, ebx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x420c00
mov esi, str.cache
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
mov al, 1
pop esi
pop ebx
leave
ret
Function at 0x421644
Capabilities:
Print debug messages

Disassembly:
push dword [esi + 0x570]
call fcn.004337f6
mov eax, dword [esi + 0x568]
pop ecx
mov ecx, dword [esi + 0x56c]
mov edx, eax
or edx, ecx
je 0x421676
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [esi + 0x568], eax
mov dword [esi + 0x56c], ecx
jmp 0x421681
push str.Attempt_to_reduce_CMuppet_ref_count___0_IGNORED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push edi
push dword [esi + 0x570]
call fcn.0043380a
lea edi, [esi + 0x4ec]
push dword [edi]
call fcn.004337f6
cmp byte [esi + 0x456], 0
push dword [edi]
sete bl
call fcn.0043380a
add esp, 0xc
pop edi
mov al, bl
pop ebx
ret

Function at 0x421bea
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
push dword [ebx + 0x4dc]
mov esi, eax
call fcn.004337f6
mov eax, dword [ebx + 0x560]
pop ecx
test eax, eax
je 0x421c14
push eax
call fcn.0043c387
pop ecx
push dword [ebx + 0x4dc]
and dword [ebx + 0x560], 0
call fcn.0043380a
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 0x421c4f
lea eax, [ebp - 0x110]
jmp 0x421c71
mov dword [ebp - 4], esi
test esi, esi
jne 0x421c74
push esi
lea eax, [ebp - 0x218]
call fcn.00420b69
pop ecx
test al, al
je 0x421d6b
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 0x421c7a
sub eax, esi
add eax, 0x11
push eax
call fcn.0043ba63
mov edx, dword [ebp - 4]
pop ecx
mov dword [ebx + 0x560], eax
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x421c96
mov esi, dword [ebx + 0x560]
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421cab
sub eax, edi
je 0x421ccf
cmp byte [esi + eax - 1], 0x5c
je 0x421ccf
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x421cbe
mov edi, esi
mov esi, 0x4556b4
movsw word es:[edi], word [esi]
mov edi, dword [ebx + 0x560]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x421cd6
mov esi, str.cache
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebx + 0x560]
push 0
call fcn.00428e07
pop ecx
test al, al
jne 0x421d26
push dword [ebx + 0x560]
call fcn.0043c387
and dword [ebx + 0x560], 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.0043cd34
add eax, 0x40
push eax
call fcn.0043d281
add esp, 0xc
jmp 0x421d6b
push dword [ebx + 0x4dc]
call fcn.004337f6
mov esi, dword [ebx + 0x560]
mov eax, esi
pop ecx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421d3d
sub eax, edi
cmp byte [esi + eax - 1], 0x5c
je 0x421d5f
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x421d4e
mov edi, esi
mov esi, 0x4556b4
movsw word es:[edi], word [esi]
push dword [ebx + 0x4dc]
call fcn.0043380a
pop ecx
pop edi
pop esi
leave
ret
Function at 0x424cd5
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x20
pop ebx
call fcn.00427ae9
mov ebx, eax
push 0
mov dword [ebp - 8], ebx
call fcn.0043eb11
pop ecx
and eax, 0xffff
push eax
call fcn.0043e8f9
pop ecx
call fcn.0043e90b
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.0043c67a
mov edi, ebx
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x424d30
mov esi, 0x458c80
lea eax, [ebp - 0x2c]
movsw word es:[edi], word [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424d44
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x424d50
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 0x424dca
push ebx
call fcn.004265af
pop ecx
test al, al
jne 0x424db3
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424d7f
sub eax, edx
cmp eax, 0x104
jae 0x424e0a
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 0x424dd8
inc dword [ebp - 4]
push dword [ebp - 4]
push edi
push str._s._04i
jmp 0x424dc1
inc dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp + 0xc]
push str._s._4i
push ebx
call fcn.0043c67a
add esp, 0x10
cmp dword [ebp - 4], esi
jl 0x424d6f
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
push ebx
call fcn.00428dac
mov esi, dword [ebp + 8]
pop ecx
mov eax, edi
call fcn.00425140
mov edx, edi
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x424def
mov bl, 1
mov eax, dword [ebp + 8]
lea edi, [ebp - 8]
call fcn.00427c09
mov al, bl
jmp 0x424dd1
xor bl, bl
jmp 0x424dfb
Function at 0x424e0e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [eax + 0x560]
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 0x424e25
sub eax, esi
test ecx, ecx
je 0x424e9c
test eax, eax
je 0x424e9c
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dl, byte [ecx]
inc ecx
mov byte [esi], dl
inc esi
test dl, dl
jne 0x424e3b
cmp byte [eax + edi - 1], 0x5c
mov ebx, 0x4556b4
je 0x424e5e
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x424e52
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 0x424e62
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.00428e07
pop ecx
test al, al
je 0x424fb5
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x424e89
mov esi, ebx
movsw word es:[edi], word [esi]
mov edi, 0x104
jmp 0x424ebb
push dword [ebp + 0xc]
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x424fb5
cmp eax, edi
jae 0x424fb5
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424ec1
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 0x424ed2
sub eax, ecx
lea eax, [eax + esi + 1]
cmp eax, edi
jae 0x424fb5
push 0x458fa4
push dword [ebp + 8]
call fcn.0043bb30
pop ecx
pop ecx
test eax, eax
je 0x424eff
add eax, 3
jmp 0x424f02
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 0x424f0a
lea eax, [ebp - 0x108]
cmp byte [ebp - 0x108], cl
je 0x424f76
movsx ecx, byte [eax]
cmp ecx, 0x2f
jg 0x424f59
je 0x424f54
cmp ecx, 0x22
je 0x424f6d
cmp ecx, 0x2a
je 0x424f6d
cmp ecx, 0x2e
jne 0x424f70
mov cl, byte [eax + 1]
test cl, cl
je 0x424f6d
cmp cl, 0x2e
je 0x424f4e
cmp cl, 0x5c
je 0x424f6d
jmp 0x424f70
mov byte [eax + 1], 0x5f
jmp 0x424f6d
mov byte [eax], 0x5c
jmp 0x424f70
cmp ecx, 0x3c
je 0x424f6d
cmp ecx, 0x3d
jle 0x424f70
cmp ecx, 0x3f
jle 0x424f6d
cmp ecx, 0x7c
jne 0x424f70
mov byte [eax], 0x5f
inc eax
cmp byte [eax], 0
jne 0x424f22
lea eax, [ebp - 0x108]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424f7e
mov edi, dword [ebp + 0xc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x424f8b
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.00428e07
test al, al
pop ecx
setne al
jmp 0x424fb7
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x424fbe
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.0043d264
add esp, 0x10
cmp eax, esi
je 0x424fea
xor al, al
jmp 0x4250a2
lea eax, [ebp - 0x80]
mov byte [ebp - 1], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424ff4
sub eax, edx
jmp 0x425007
cmp byte [ebp + eax - 0x80], 0
jne 0x424fe3
inc eax
cmp eax, esi
jb 0x424fff
lea eax, [ebp - 0x100]
push eax
push str.size
lea eax, [ebp - 0x80]
push eax
call fcn.004250a7
test al, al
je 0x424fe3
lea eax, [ebp - 0x100]
push edi
push eax
call fcn.0043b688
pop ecx
mov edi, eax
lea eax, [ebp - 0x100]
push eax
push str.hash
lea eax, [ebp - 0x80]
push eax
call fcn.004250a7
test al, al
je 0x425064
lea eax, [ebp - 0x100]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425056
sub eax, edx
cmp eax, 0x20
jb 0x425068
xor al, al
jmp 0x4250a1
push 0x24
call fcn.0043b7d8
pop ecx
test eax, eax
je 0x42507f
and dword [eax + 0x20], 0
mov byte [eax], 0
mov edx, eax
jmp 0x425081
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 0x425092
mov dword [edx + 0x20], edi
mov al, 1
pop edi
pop esi
leave
ret 8
Function at 0x429038
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.0043c67a
lea eax, [ebp - 0x84]
add esp, 0x14
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x429065
sub eax, ecx
mov esi, 0x80
cmp eax, esi
jae 0x42908e
mov edx, esi
sub edx, eax
push edx
lea ecx, [ebp + eax - 0x84]
push 0
push ecx
call fcn.004454d0
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x84]
push esi
push 1
push eax
call fcn.0043ea8f
add esp, 0x10
cmp eax, esi
je 0x4290ab
xor al, al
jmp 0x4290b6
push dword [ebp + 8]
call fcn.0043e732
pop ecx
mov al, 1
pop esi
leave
ret 4
Function at 0x42c868
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
push ebx
push edi
push 0x45910c
push dword [ebp + 8]
call fcn.0043cfad
mov edi, eax
pop ecx
pop ecx
mov dword [esp + 8], edi
test edi, edi
jne 0x42c8bd
call fcn.0043e7d0
push dword [eax]
call fcn.0043e53c
pop ecx
push eax
push dword [ebp + 8]
push str.unable_to_open__s_for_writing:__s_n
call fcn.0043cd34
add eax, 0x40
push eax
call fcn.0043d281
add esp, 0x10
xor al, al
jmp 0x42caa0
push dword [ebp + 8]
call fcn.00428dac
pop ecx
push esi
lea eax, [esp + 0x14]
push str.__s__r_n
push eax
call fcn.0043c67a
lea eax, [esp + 0x1c]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42c8e0
sub eax, ecx
mov ebx, eax
push edi
push ebx
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0043ea8f
add esp, 0x10
push edi
cmp eax, ebx
je 0x42c922
call fcn.0043d72e
pop ecx
push dword [ebp + 8]
call fcn.0043e819
pop ecx
push dword [esi + 0x270]
call fcn.0043380a
xor al, al
jmp 0x42ca9f
call fcn.0043e732
pop ecx
push dword [esi + 0x274]
call fcn.004337f6
pop ecx
mov ecx, dword [esi + 0x238]
test ecx, ecx
jne 0x42c95b
push dword [esi + 0x274]
call fcn.0043380a
pop ecx
push edi
call fcn.0043d72e
pop ecx
push dword [ebp + 8]
call fcn.0043e819
jmp 0x42c91b
push 0x454bc7
push 0x455484
mov eax, esi
call fcn.00428a3a
push eax
lea eax, [esp + 0x14]
push str..ver_s_r_n
push eax
call fcn.0043c67a
add esp, 0xc
push dword [esi + 0x274]
call fcn.0043380a
lea eax, [esp + 0x14]
pop ecx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42c992
sub eax, ecx
mov ebx, eax
push edi
push ebx
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0043ea8f
add esp, 0x10
push edi
cmp eax, ebx
jne 0x42c901
call fcn.0043e732
and dword [esp + 0x10], 0
pop ecx
xor eax, eax
jmp 0x42ca74
mov eax, dword [esi + 0x260]
inc dword [esp + 0xc]
test eax, eax
je 0x42c9f0
push ebx
push dword [esi + 0x268]
call fcn.00428985
and eax, edx
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x42ca70
push 0x454bc7
push 0x455484
push ebx
mov eax, edi
call fcn.0043058f
push eax
push ebx
lea eax, [esp + 0x18]
push str._s_s_r_n
push eax
call fcn.0043c67a
mov edi, 0x458f3c
lea eax, [esp + 0x20]
push edi
push eax
call fcn.0043bb30
add esp, 0x18
jmp 0x42ca34
push edi
push eax
mov byte [eax], 0x5c
call fcn.0043bb30
pop ecx
pop ecx
test eax, eax
jne 0x42ca28
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ca3f
push dword [esp + 8]
sub eax, edx
mov edi, eax
push edi
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0043ea8f
add esp, 0x10
push dword [esp + 8]
cmp eax, edi
jne 0x42c901
call fcn.0043e732
pop ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esi + 0x234]
mov ecx, edi
call fcn.00432c68
mov ebx, eax
test ebx, ebx
jne 0x42c9c9
push dword [esp + 8]
call fcn.0043d72e
pop ecx
push dword [ebp + 8]
call fcn.00428dac
mov al, 1
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4