joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460f77
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4862f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0043b510
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0043b510
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.0043b510
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0043c910
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0043c910
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.0043c910
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x44711e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x4471a3
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0044bc00
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x447166
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x447188
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x4471fe
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00446eec
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x4471ea
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x4471fe
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x447127
pop esi
pop ebx
leave
ret
Function at 0x44c2d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4862f0]
jne 0x44c2df
repz ret
jmp fcn.00452901

Function at 0x453218
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4865f0]
je 0x453233
inc edi
cmp edi, 0x17
jb 0x453224
cmp edi, 0x17
jae 0x4533b3
push ebp
push 3
call fcn.004596c4
cmp eax, 1
pop ecx
je 0x45337f
push 3
call fcn.004596c4
test eax, eax
pop ecx
jne 0x453267
cmp dword [0x486430], 1
je 0x45337f
cmp ebx, 0xfc
je 0x4533b2
push 0x48d1ec
mov ebx, 0x314
push ebx
mov ebp, 0x496070
push ebp
call fcn.004530ac
add esp, 0xc
test eax, eax
je 0x45329d
push esi
push esi
push esi
push esi
push esi
call fcn.0044e4fb
add esp, 0x14
push 0x104
mov esi, 0x496089
push esi
push 0
mov byte [0x49618d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4532e1
push 0x48d1d4
push 0x2fb
push esi
call fcn.004530ac
add esp, 0xc
test eax, eax
je 0x4532e1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0044e4fb
add esp, 0x14
push esi
call fcn.0044dfd0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x453326
push esi
call fcn.0044dfd0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x496384
push 0x48d1d0
sub ecx, eax
push ecx
push eax
call fcn.00458214
add esp, 0x14
test eax, eax
je 0x453326
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0044e4fb
add esp, 0x14
jmp 0x453328
xor esi, esi
push 0x487a88
push ebx
push ebp
call fcn.004581a3
add esp, 0xc
test eax, eax
je 0x453348
push esi
push esi
push esi
push esi
push esi
call fcn.0044e4fb
add esp, 0x14
push dword [edi*8 + 0x4865f4]
push ebx
push ebp
call fcn.004581a3
add esp, 0xc
test eax, eax
je 0x45336a
push esi
push esi
push esi
push esi
push esi
call fcn.0044e4fb
add esp, 0x14
push 0x12010
push 0x48d1a8
push ebp
call fcn.00459507
add esp, 0xc
jmp 0x4533b2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4533b2
cmp ebp, 0xffffffff
je 0x4533b2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4865f4]
push dword [esi]
call fcn.0044dfd0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x459507
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00452adf
xor ebx, ebx
cmp dword [0x496750], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4595dd
push 0x48e2fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4596bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48e2f0
push edi
call esi
cmp eax, ebx
je 0x4596bd
push eax
call fcn.00452a71
mov dword [esp], 0x48e2e0
push edi
mov dword [0x496750], eax
call esi
push eax
call fcn.00452a71
mov dword [esp], 0x48e2cc
push edi
mov dword [0x496754], eax
call esi
push eax
call fcn.00452a71
mov dword [0x496758], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044e830
test eax, eax
pop ecx
pop ecx
je 0x4595ab
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044e4fb
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4595dd
push 0x48e2b0
push edi
call esi
push eax
call fcn.00452a71
cmp eax, ebx
pop ecx
mov dword [0x496760], eax
je 0x4595dd
push 0x48e298
push edi
call esi
push eax
call fcn.00452a71
pop ecx
mov dword [0x49675c], eax
mov eax, dword [0x49675c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x459662
cmp dword [0x496760], ecx
je 0x459662
push eax
call fcn.00452ae8
push dword [0x496760]
mov esi, eax
call fcn.00452ae8
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x459662
cmp edi, ebx
je 0x459662
call esi
cmp eax, ebx
je 0x45962f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45962f
test byte [ebp - 0x18], 1
jne 0x459662
lea eax, [ebp - 0x10]
push eax
call fcn.0044e867
test eax, eax
pop ecx
je 0x45964a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044e4fb
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x459659
or dword [ebp + 0x10], 0x200000
jmp 0x45969d
or dword [ebp + 0x10], 0x40000
jmp 0x45969d
mov eax, dword [0x496754]
cmp eax, dword [ebp - 8]
je 0x45969d
push eax
call fcn.00452ae8
cmp eax, ebx
pop ecx
je 0x45969d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45969d
mov eax, dword [0x496758]
cmp eax, dword [ebp - 8]
je 0x45969d
push eax
call fcn.00452ae8
cmp eax, ebx
pop ecx
je 0x45969d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x496750]
call fcn.00452ae8
cmp eax, ebx
pop ecx
je 0x4596bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4596bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x7b0520
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x272000]
push edi
jmp 0x7b053a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7b0541
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b0530
mov eax, 1
add ebx, ebx
jne 0x7b0553
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7b0564
jne 0x7b0583
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b0583
dec eax
add ebx, ebx
jne 0x7b0570
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7b0548
add ebx, ebx
jne 0x7b057f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7b05d5
xor ecx, ecx
sub eax, 3
jb 0x7b059b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7b060a
sar eax, 1
mov ebp, eax
jmp 0x7b05a6
add ebx, ebx
jne 0x7b05a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b0574
inc ecx
add ebx, ebx
jne 0x7b05b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b0574
add ebx, ebx
jne 0x7b05c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7b05b6
jne 0x7b05d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7b05b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7b05f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7b05e6
jmp 0x7b0536
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7b05f4
add edi, ecx
jmp 0x7b0536
pop esi
mov edi, esi
mov ecx, 0x6870
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7b0612
cmp byte [edi], 0x2c
jne 0x7b0612
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 al, bl
loop 0x7b0617
lea edi, [esi + 0x3ad000]
mov eax, dword [edi]
or eax, eax
je 0x7b068f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b5a40]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b5b8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7b0644
mov ecx, edi
jns 0x7b0673
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3b5b94]
or eax, eax
je 0x7b0689
mov dword [ebx], eax
add ebx, 4
jmp 0x7b0661
call dword [esi + 0x3b5b90]
mov ebp, dword [esi + 0x3b5b98]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7b06c3
sub esp, 0xffffff80
jmp 0x4e74d1

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x9d6d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9d6dbc
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9d6d82
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9d6e20
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9d6e72
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9d6e78
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9ef365
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009ef025

Function at 0x9f415f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f3fde

Function at 0x9f9710
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x9f973d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x9f973d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401200
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
xor esi, esi
test ebx, ebx
push edi
mov edi, 0x811c9dc5
jle 0x40123c
mov al, byte [esi + ebp]
movzx ecx, al
xor ecx, edi
imul ecx, ecx, 0x1000193
mov edi, ecx
movsx edx, al
push edi
push edx
push esi
push str.__d___d__d_n
call fcn.0040a3e4
add esi, 1
add esp, 0x10
cmp esi, ebx
jl 0x401212
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4013d0
Capabilities:
Move file

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push 0x400
call fcn.004095e0
mov esi, eax
push 0x400
push esi
call fcn.0040ab87
push esi
push str._Extractor__Working_dir_is__s_n
call fcn.0040a3e4
push esi
call fcn.00409503
push edi
push ebp
call fcn.00409c21
add esp, 0x20
test eax, eax
mov dword [esp + 0x10], 0
je 0x401502
lea esp, [esp]
cmp dword [esp + 0x10], 0xa
jge 0x401527
call fcn.004097b9
mov eax, dword [eax]
push eax
push edi
push ebp
push str._Rename__Could_not_rename__s_to__s___d__n
call fcn.0040a3e4
add esp, 0x10
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push str._Rename__Windows___this_FS_seems_to_not_supported_renaming._Trying_alternative_method..._n
call fcn.0040a3e4
add esp, 4
push 3
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x401518
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x400
mov esi, eax
push esi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call ebx
push str.MoveFileEx
mov dword [esp + 0x18], eax
call ebx
mov ecx, dword [esp + 0x14]
lea eax, [ecx + eax + 0x28]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [esp + 0xc]
push ecx
push esi
push str.MoveFileEx
push str._NativeScreenUtil___s_failed_with_error__d:__s_n
mov ebx, eax
call fcn.0040a3e4
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
add esp, 0x10
push edx
call esi
push ebx
call esi
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [esp + 0x10], 1
push edi
push ebp
call fcn.00409c21
add esp, 8
test eax, eax
jne 0x401420
push edi
push ebp
push str._Rename__File__s_renamed_to__s_n
call fcn.0040a3e4
add esp, 0xc
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str._Rename__MoveFileEx_worked._Assuming_success._n
call fcn.0040a3e4
add esp, 4
jmp 0x401502
test eax, eax
je 0x401502
call fcn.004097b9
mov eax, dword [eax]
push eax
push edi
push ebp
push str._Rename___FAIL__Could_not_rename__s_to__s___d__n
call fcn.0040a3e4
push str._Rename__Can_do_no_better_than_a_copy_on_this_filesystem_n
call fcn.0040a3e4
mov eax, edi
call fcn.00401580
push edi
push ebp
call fcn.00401a80
add esp, 0x1c
test eax, eax
je 0x401511
pop esi
pop ebp
pop ebx
add esp, 0xc
mov dword [esp + 4], str._Rename__Copy_failed_too__Severe_filesystem_issues._n
jmp fcn.0040a3e4
Function at 0x401690
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
mov edi, eax
push edi
push str.Fixing__s_n
call fcn.0040a3e4
push 0x41cebc
push edi
call fcn.0040a56d
mov esi, eax
add esp, 0x10
test esi, esi
mov byte [esp + 8], 0x50
mov byte [esp + 9], 0x45
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
jne 0x4016dd
push edi
push str.Could_not_open_file__s_n
call fcn.0040a3e4
add esp, 8
push 1
call fcn.0040b19d
push ebp
push edi
push str.Opened__s_n
call fcn.0040a3e4
add esp, 8
xor edi, edi
push ebx
xor ebp, ebp
push esi
call fcn.0040a151
push esi
mov ebx, eax
add edi, 1
call fcn.00409cca
add esp, 8
test eax, eax
jne 0x4017eb
cmp bl, byte [esp + ebp + 0x10]
jne 0x4016ef
add ebp, 1
cmp ebp, 4
jne 0x4016f1
push edi
push str.Skipped__ld_n
mov dword [0x42f6e4], edi
call fcn.0040a3e4
push str.Found_marker_OK_n
call fcn.0040a3e4
call fcn.00409d61
add eax, 0x20
push eax
call fcn.0040a0f5
mov eax, dword [0x42f6e4]
push 0
add eax, 0x59
push eax
push esi
call fcn.0040ac6d
push str.Skipped_to_relevant_spot_n
call fcn.0040a3e4
call fcn.00409d61
add eax, 0x20
push eax
call fcn.0040a0f5
push esi
call fcn.0040a151
push eax
push str.Was__02X_n
call fcn.0040a3e4
mov ecx, dword [0x42f6e4]
push 0
add ecx, 0x59
push ecx
push esi
call fcn.0040ac6d
push esi
push 2
call fcn.00409ae2
mov edx, dword [0x42f6e4]
add esp, 0x44
push 0
add edx, 0x59
push edx
push esi
call fcn.0040ac6d
push esi
call fcn.0040a151
push eax
push str.Now__02X_n
call fcn.0040a3e4
push esi
call fcn.0040a0f5
push esi
call fcn.0040ae69
push str.Fixed_OK_n
call fcn.0040a3e4
call fcn.00409d61
add eax, 0x20
push eax
call fcn.0040a0f5
add esp, 0x28
pop ebx
pop ebp
pop edi
pop esi
pop ecx
ret
push str.SS_edit___PE_sig
push str.Could_not_find_marker:__s_n
call fcn.0040a3e4
add esp, 8
push 1
call fcn.0040b19d
int3

Function at 0x4019c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov esi, eax
push esi
push str.Copying_FILE__s_n
mov ebx, ecx
call fcn.0040a3e4
call fcn.00409d61
add eax, 0x20
push eax
call fcn.0040a0f5
push 0x41ce6c
push ebx
call fcn.0040a56d
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x401a06
push ebx
push str.Unable_to_open_source_file_for_copy__s_n
call fcn.0040a3e4
add esp, 8
pop edi
pop esi
pop ebx
ret
push 0x41cf88
push esi
call fcn.0040a56d
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x401a30
push esi
push str.Unable_to_open_destination_file_for_copy__s_n
call fcn.0040a3e4
add esp, 8
pop edi
pop esi
pop ebx
ret
push edi
push 0xc350
push 1
push 0x423388
call fcn.0040a859
mov esi, eax
add esp, 0x10
test esi, esi
jbe 0x401a5c
push ebx
push esi
push 1
push 0x423388
call fcn.0040a98e
add esp, 0x10
cmp esi, 0xc350
je 0x401a30
push edi
call fcn.0040ae69
push ebx
call fcn.0040ae69
add esp, 8
pop edi
pop esi
pop ebx
ret
Function at 0x403b80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push ebx
push str._ExtractArchive__Extracting_archive__s_into__s_n
call fcn.0040a3e4
add esp, 0xc
call fcn.00409d61
add eax, 0x20
push eax
call fcn.0040a0f5
add esp, 4
push 0x41ce6c
push ebx
call fcn.0040a56d
mov esi, eax
add esp, 8
test esi, esi
jne 0x403be7
push ebx
push str._ExtractArchive__Failed_to_extract_archive___couldnt_open_file__s_n
call fcn.0040a3e4
call fcn.00409d61
add eax, 0x20
push eax
call fcn.0040a0f5
add esp, 0xc
push 1
call fcn.0040b19d
mov ecx, dword [ebp + 8]
push esi
push 0
mov edx, edi
call fcn.004032f0
add esp, 8
test eax, eax
je 0x403be7
push str._ExtractArchive__Done_extracting_archive._n
call fcn.0040a3e4
add esp, 4
call fcn.00409d61
add eax, 0x20
push eax
call fcn.0040a0f5
add esp, 4
push esi
call fcn.0040ae69
add esp, 4
push ebx
call fcn.0040a288
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret