joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4534d0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4697e8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x4854a0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x9c]
cmp dword [esi + 0x18], 8
jb 0x45350b
mov eax, dword [esi + 4]
jmp 0x45350e
lea eax, [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x45353b
mov esi, dword [esp + 0xa0]
test esi, esi
je 0x453534
mov dword [esi], 0
call fcn.00455b50
mov dword [esi + 4], eax
mov al, 1
jmp 0x4535d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00455b50
cmp ebx, 0xb7
jne 0x453583
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.00453310
add esp, 0xc
cmp dword [eax], 3
jne 0x453583
mov esi, dword [esp + 0xa0]
test esi, esi
je 0x4535d2
mov dword [esi], 0
call fcn.00455b50
mov dword [esi + 4], eax
jmp 0x4535d2
mov edi, dword [esp + 0xa0]
test edi, edi
jne 0x4535c8
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x20]
call fcn.00402480
mov dword [esp + 0x94], edi
call fcn.00455b50
push eax
push ebx
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x48]
call fcn.00453070
push 0x47eaa8
lea eax, [esp + 0x3c]
push eax
call fcn.0043b956
call fcn.00455b50
mov dword [edi], ebx
mov dword [edi + 4], eax
xor al, al
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x88
ret

Function at 0x455100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4854a0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4854a0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov esi, ecx
mov ecx, dword [esp + 8]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00454f60
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.00454eb0
cmp dword [esp + 0x24], 0x10
jb 0x45519a
mov edx, dword [esp + 0x10]
push edx
call fcn.0041bf87
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00436f5b
add esp, 0x30
ret 0x1c
Function at 0x455330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469b18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4854a0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4854a0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov esi, ecx
mov ecx, dword [esp + 8]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], 0
call fcn.00455030
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.004551c0
cmp dword [esp + 0x24], 8
jb 0x4553cc
mov edx, dword [esp + 0x10]
push edx
call fcn.0041bf87
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00436f5b
add esp, 0x30
ret 0x1c

Function at 0x4568ae
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4854a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00456843
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043a980
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4568fd
cmp dword [ebp - 0x1c], 5
jb 0x456915
jmp 0x456911
cmp dword [ebp - 0x10], 1
jne 0x456915
cmp dword [ebp - 0x1c], 4
ja 0x456911
jne 0x456915
cmp dword [ebp - 0x18], 0
jbe 0x456915
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4761a4
call fcn.00456717
test eax, eax
jge 0x456936
mov byte [0x48ac5c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00436f5b
add ebp, 0x78
leave
ret
Function at 0x6949a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c9000]
push edi
or ebp, 0xffffffff
jmp 0x6949c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6949c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6949b8
mov eax, 1
add ebx, ebx
jne 0x6949db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6949ec
jne 0x6949fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6949fc
dec eax
add ebx, ebx
jne 0x6949f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6949d0
xor ecx, ecx
sub eax, 3
jb 0x694a14
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x694a86
sar eax, 1
mov ebp, eax
jmp 0x694a1f
add ebx, ebx
jne 0x694a1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x694a2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x694a50
inc ecx
add ebx, ebx
jne 0x694a3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x694a31
jne 0x694a4d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x694a31
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x694a70
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x694a61
jmp 0x6949be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x694a70
add edi, ecx
jmp 0x6949be
pop esi
mov edi, esi
mov ecx, 0xb4b4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x694a8e
cmp byte [edi], 0x34
jne 0x694a8e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x694a93
lea edi, [esi + 0x290000]
mov eax, dword [edi]
or eax, eax
je 0x694b02
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x296884]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2969b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x694ac0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2969b4]
or eax, eax
je 0x694afc
mov dword [ebx], eax
add ebx, 4
jmp 0x694add
call dword [esi + 0x2969b8]
popal
jmp 0x574628
Function at 0x4016c8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426f81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
call fcn.0040430a
push ebx
push 0x10
lea ecx, [esp + 0x20]
call fcn.00405905
push 1
push ebx
push 0xfffffffffffffff0
push dword [ebp + 8]
mov dword [esp + 0xa4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call esi
cmp eax, 0xffffffff
jne 0x40174b
push ebx
push 1
lea ecx, [esp + 0x20]
call fcn.00404329
xor al, al
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x40175a
lea eax, [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0x10
push eax
push dword [ebp + 8]
call edi
test eax, eax
je 0x401728
push 1
push ebx
push 0xffffffffffffffec
push dword [ebp + 8]
call esi
push ebx
cmp eax, 0xffffffff
je 0x401729
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
call edi
test eax, eax
je 0x401728
push 1
push ebx
push 0xfffffffffffffffc
pop eax
sub eax, dword [esp + 0x18]
push eax
push dword [ebp + 8]
call esi
push ebx
cmp eax, 0xffffffff
je 0x401729
push dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.00403a3e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x4017cb
mov eax, dword [eax + 4]
jmp 0x4017ce
add eax, 4
push ebx
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x18]
push eax
push dword [ebp + 8]
call edi
test eax, eax
je 0x401728
push dword [ebp + 0xc]
lea eax, [esp + 0x54]
push eax
call fcn.0042459f
lea edx, [esp + 0x34]
mov ecx, eax
mov byte [esp + 0x94], 1
call fcn.004245f5
mov byte [esp + 0x94], 2
cmp dword [esp + 0x30], 0x10
mov ecx, dword [esp + 0x1c]
jae 0x40181d
lea ecx, [esp + 0x1c]
push dword [esp + 0x2c]
push ecx
push dword [eax + 0x14]
mov ecx, eax
push ebx
call fcn.004042a4
push ebx
test eax, eax
push 1
lea ecx, [esp + 0x3c]
setne byte [esp + 0x17]
call fcn.00404329
lea eax, [esp + 0x50]
call fcn.00424385
cmp byte [esp + 0xf], bl
je 0x401888
cmp byte [0x433f19], bl
jne 0x401869
push ebx
push str.Invalid_Archive_
push str.We_are_sorry__but_your_installation___update_did_not_complete_due_to_unexpected_download_errors._r_nPlease_download_full_version_of_the_program
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [0x433f18], bl
mov byte [esp + 0xf], bl
push ebx
push 1
lea ecx, [esp + 0x20]
call fcn.00404329
mov al, byte [esp + 0xf]
jmp 0x401736
mov eax, dword [esp + 0x10]
push 1
push ebx
neg eax
push eax
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
setne byte [esp + 0xf]
jmp 0x401873
Function at 0x407357
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426b1e
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4312c8]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4312c8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4073ba
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0040f3c4
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x4073e2
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x4073e2
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x40739a
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x4073ee
or eax, 0xffffffff
jmp 0x40739a
cmp dword [esi + 0x3c], edi
jne 0x407402
push eax
push ebx
call fcn.00407050
pop ecx
pop ecx
test al, al
je 0x4073e9
jmp 0x4073de
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x18], bl
call fcn.00407a34
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], edi
call fcn.004039ca
mov ecx, eax
call fcn.00406583
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004039ca
mov ecx, eax
call fcn.00406583
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x407512
cmp eax, 1
jg 0x40753a
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.004039ca
mov ecx, eax
call fcn.00406583
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x4074a7
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.004039ca
mov ecx, eax
call fcn.00406583
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004101a3
add esp, 0x10
cmp edi, eax
jne 0x407551
lea eax, [esp + 0x10]
mov byte [esi + 0x41], 1
cmp dword [esp + 0x1c], eax
jne 0x407568
test edi, edi
ja 0x4074d5
cmp dword [esp + 0x58], 0x20
jae 0x407551
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.00403dd9
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.004039ca
mov ecx, eax
call fcn.00406583
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004039ca
mov ecx, eax
call fcn.00406583
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x21]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x407455
jmp 0x407551
cmp eax, 3
jne 0x407551
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.00407050
pop ecx
pop ecx
test al, al
jne 0x407568
or esi, 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00404329
mov eax, esi
jmp 0x40739a
mov esi, dword [ebp + 8]
jmp 0x407554
Function at 0x407b9d
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x426cf9
call fcn.004108f6
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x407ca9
cmp byte [esi + 0x41], 0
je 0x407ca9
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x407bd3
xor al, al
jmp 0x407cab
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.00407a34
mov dword [ebp - 4], edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.004039ca
mov ecx, eax
call fcn.00406583
mov edi, dword [ebp - 0x1c]
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.004039ca
mov ecx, eax
call fcn.00406583
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
add edi, ebx
push edi
push dword [ebp - 0x38]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x407c43
dec eax
je 0x407c47
dec eax
dec eax
je 0x407ca5
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00404329
mov al, bl
jmp 0x407cab
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.004039ca
mov ecx, eax
call fcn.00406583
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x407c87
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.004039ca
mov ecx, eax
call fcn.00406583
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004101a3
add esp, 0x10
cmp edi, eax
jne 0x407c31
cmp byte [esi + 0x41], 0
je 0x407ca5
test edi, edi
jne 0x407be1
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.00403dd9
jmp 0x407be1
mov bl, 1
jmp 0x407c33
mov al, 1
call fcn.00410979
ret
Function at 0x40f3c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4312c8]
jne 0x40f3ce
repz ret
jmp fcn.00415b3e

Function at 0x41d35b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00414018
and dword [ebp - 4], 0
cmp dword [0x433eac], 0
mov ebx, eax
jne 0x41d40c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41d4bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x429fa8
push edi
call esi
test eax, eax
je 0x41d4bd
push eax
call fcn.00413fa6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433eac], eax
call esi
push eax
call fcn.00413fa6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433eb0], eax
call esi
push eax
call fcn.00413fa6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x433eb4], eax
call esi
push eax
call fcn.00413fa6
pop ecx
mov dword [0x433ebc], eax
test eax, eax
je 0x41d40c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413fa6
pop ecx
mov dword [0x433eb8], eax
mov eax, dword [0x433eb8]
cmp eax, ebx
je 0x41d464
cmp dword [0x433ebc], ebx
je 0x41d464
push eax
call fcn.00414021
push dword [0x433ebc]
mov esi, eax
call fcn.00414021
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41d464
test edi, edi
je 0x41d464
call esi
test eax, eax
je 0x41d45b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41d45b
test byte [ebp - 0xc], 1
jne 0x41d464
or dword [ebp + 0x10], 0x200000
jmp 0x41d49d
mov eax, dword [0x433eb0]
cmp eax, ebx
je 0x41d49d
push eax
call fcn.00414021
pop ecx
test eax, eax
je 0x41d49d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41d49d
mov eax, dword [0x433eb4]
cmp eax, ebx
je 0x41d49d
push eax
call fcn.00414021
pop ecx
test eax, eax
je 0x41d49d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433eac]
call fcn.00414021
pop ecx
test eax, eax
je 0x41d4bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41d4bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4234c0
Capabilities:
Get file size

Disassembly:
push 0xd0
mov eax, 0x425e7e
call fcn.0041088d
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x42b7c8
lea ecx, [ebp - 0x60]
mov dword [edi], vtable.replay::log::file.0
call fcn.004038f1
push 0x42b7cc
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.004038f1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x7c]
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00425174
push eax
lea eax, [ebp - 0x44]
push str.log_
push eax
mov byte [ebp - 4], 3
call fcn.00405561
add esp, 0x10
push eax
lea eax, [edi + 4]
push eax
mov byte [ebp - 4], 4
call fcn.004012b7
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x44]
call fcn.00404329
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00404329
push ebx
push esi
lea ecx, [ebp - 0x7c]
call fcn.00404329
push ebx
push esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
call fcn.00404329
push dword [ebp + 0xc]
lea ecx, [edi + 0xc]
call fcn.00403916
push 0x42b7d8
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
or dword [edi + 0x28], 0xffffffff
push eax
mov dword [edi + 0x2c], ebx
call fcn.004055b3
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x423598
mov eax, dword [eax + 4]
jmp 0x42359b
add eax, 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x80
push 4
push ebx
push 7
push 0x40000000
push eax
call esi
push ebx
push 1
lea ecx, [ebp - 0x28]
mov dword [edi + 0x30], eax
call fcn.00404329
mov eax, dword [edi + 0x30]
cmp eax, 0xffffffff
jne 0x423660
push str..log.txt
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
call fcn.004055b3
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4235ed
mov eax, dword [eax + 4]
jmp 0x4235f0
add eax, 4
push ebx
push 0x80
push 4
push ebx
push 3
push 0x40000000
push eax
call esi
push ebx
push 1
lea ecx, [ebp - 0x28]
mov dword [edi + 0x30], eax
call fcn.00404329
mov eax, dword [edi + 0x30]
cmp eax, 0xffffffff
jne 0x423660
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edi, [ebp - 0x28]
call fcn.004253d5
push eax
lea eax, [ebp - 0x44]
push str.CreateFile_failed:
push eax
mov byte [ebp - 4], 0xb
call fcn.00405561
add esp, 0x10
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0xc
call fcn.00408157
push 0x42dbbc
lea eax, [ebp - 0xdc]
push eax
call fcn.0041045b
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x423672
push edi
call fcn.00422f33
mov eax, edi
call fcn.00410965
ret 8

Function at 0x42459f
Capabilities:
Hash data with md5

Disassembly:
push 4
mov eax, 0x425c11
call fcn.0041088d
mov esi, dword [ebp + 8]
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
lea eax, [esi + 0x18]
push eax
call fcn.00406553
and dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push esi
mov byte [esi + 0x30], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.0042457b
mov eax, esi
call fcn.00410965
ret 8
Function at 0x42468c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [eax + 0x18], 8
jb 0x42469a
mov eax, dword [eax + 4]
jmp 0x42469d
add eax, 4
push dword [ebp + 0xc]
push 0
push edi
push 0
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4246b9
and dword [edi], 0
xor ecx, ecx
test eax, eax
sete cl
mov al, cl
pop ebp
ret 8

Function at 0x4246c6
Capabilities:
Set registry value

Disassembly:
push 0x98
mov eax, 0x425c67
call fcn.0041088d
cmp dword [esi + 0x18], 8
jb 0x4246e0
mov eax, dword [esi + 4]
jmp 0x4246e3
lea eax, [esi + 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push 0
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test ebx, ebx
je 0x424756
push 1
push 0
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.00422aba
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 0x10
jb 0x42471e
mov eax, dword [eax + 4]
jmp 0x424721
add eax, 4
push ebx
push eax
lea eax, [ebp - 0x28]
push str.RegSetValueEx___failed:_value___s____i_
push eax
call fcn.004253b6
add esp, 0x10
push eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 1
call fcn.00405c3b
push 0x42da70
lea eax, [ebp - 0xa4]
push eax
call fcn.0041045b
call fcn.00410965
ret 0xc

Function at 0x42475e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x134
mov eax, 0x425ca5
call fcn.0041088d
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x10], ebx
jb 0x42477b
mov eax, dword [esi + 4]
jmp 0x42477e
lea eax, [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0xc]
xor edi, edi
push edi
push edi
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x10], ebx
je 0x4247f5
push 1
push edi
mov edx, esi
lea ecx, [ebp - 0x80]
call fcn.00422aba
pop ecx
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 0x10
jb 0x4247ba
mov eax, dword [eax + 4]
jmp 0x4247bd
add eax, 4
push dword [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x64]
push str.Size_mismatch:_value___s__expected__i_found__i
push eax
call fcn.004253b6
add esp, 0x14
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 1
call fcn.00405d1a
push 0x42daf0
lea eax, [ebp - 0xe0]
push eax
call fcn.0041045b
cmp eax, edi
je 0x424850
push 1
push edi
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00422aba
pop ecx
pop ecx
mov dword [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x42481a
mov eax, dword [eax + 4]
jmp 0x42481d
add eax, 4
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x48]
push str.RegQueryValueEx___failed:_value___s____i_
push eax
call fcn.004253b6
add esp, 0x10
push eax
lea eax, [ebp - 0x140]
push eax
mov byte [ebp - 4], 3
call fcn.00405c3b
push 0x42da70
lea eax, [ebp - 0x140]
jmp 0x4247ef
call fcn.00410965
ret 8