joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002d49
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002dc4
push esi
push esi
lea eax, [ebp + 8]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1002dbb
push edi
push dword [ebp + 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, esi
je 0x1002dba
lea eax, [ebp + 8]
push eax
push edi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002db3
mov esi, edi
jmp 0x1002dba
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x1002ec1
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x10
xor ebx, ebx
push 0x40
mov dword [ebp - 8], ebx
call edi
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x1002f02
push eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov esi, eax
test esi, esi
je 0x1002f05
push 0x10
push 0x40
call edi
mov dword [esi + ebx*4], eax
inc ebx
cmp ebx, 4
jl 0x1002eed
jmp 0x1002f05
mov esi, dword [ebp + 0x14]
mov ebx, 0x100
push ebx
push 0x40
call edi
push ebx
push 0x40
mov dword [ebp - 4], eax
call edi
test esi, esi
mov dword [ebp - 0x10], eax
je 0x100304b
mov edi, dword [ebp - 4]
test edi, edi
je 0x100304b
test eax, eax
je 0x100304b
push dword [ebp + 0x10]
call fcn.01001a90
test eax, eax
je 0x100303f
push dword [ebp + 0x10]
push ebx
push edi
push 0x100c2a8
push 0x10013d4
push 0x1001438
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1003055
push edi
call fcn.01002c67
push edi
call fcn.01002cc4
test eax, eax
je 0x1003008
push edi
push 4
push dword [ebp - 0x10]
call fcn.0100165d
movzx ebx, word [ebp + 0x14]
push ebx
mov edi, 0x1001430
push edi
push 0x10013a0
push 0x10
push dword [esi]
call fcn.01001730
mov eax, ebx
and eax, 0x3ff
push eax
push edi
push 0x10013a0
push 0x10
push dword [esi + 4]
call fcn.01001730
shr ebx, 0xa
push ebx
push edi
push 0x10013a0
push 0x10
push dword [esi + 8]
call fcn.01001730
push edi
push 0x100139c
push 0x10
push dword [esi + 0xc]
call fcn.01001730
add esp, 0x4c
xor edi, edi
push dword [ebp + 0x10]
push 0x100
push dword [ebp - 4]
push 0x100c2a8
push dword [ebp - 0x10]
push dword [esi + edi*4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x1003008
inc edi
cmp edi, 4
jl 0x1002fe0
jmp 0x100300f
mov dword [ebp - 8], 1
push dword [ebp - 4]
call fcn.010025c8
mov edi, eax
test edi, edi
je 0x1003029
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], edi
cmp dword [ebp - 8], 0
je 0x1003055
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.01001677
jmp 0x1003055
mov dword [0x100c290], 0x22b
jmp 0x1003055
mov dword [0x100c290], 0x228
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
cmp dword [ebp - 0xc], edi
je 0x100307f
test esi, esi
je 0x1003071
push dword [esi + edi*4]
call ebx
inc edi
cmp edi, 4
jl 0x1003062
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push dword [ebp - 0xc]
call ebx
push dword [ebp - 4]
call ebx
push dword [ebp - 0x10]
call ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10046a0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 4
jl 0x10046f3
cmp esi, 0x10
jl 0x10046d9
mov eax, esi
shr eax, 4
je 0x10046d9
mov ecx, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ecx + 0xc]
xor edi, dword [ecx + 8]
xor edi, dword [ecx + 4]
xor edi, dword [ecx]
add ecx, 0x10
xor eax, edi
dec edx
jne 0x10046c3
pop edi
jmp 0x10046df
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, esi
shr edx, 2
and edx, 3
je 0x10046f9
xor eax, dword [ecx]
add ecx, 4
dec edx
jne 0x10046e9
jmp 0x10046f9
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
and esi, 3
mov edx, esi
pop esi
je 0x100471f
dec edx
je 0x100471a
dec edx
je 0x1004713
dec edx
jne 0x100471f
movzx edx, byte [ecx]
shl edx, 0x10
xor eax, edx
inc ecx
xor edx, edx
mov dh, byte [ecx]
xor eax, edx
inc ecx
movzx ecx, byte [ecx]
xor eax, ecx
pop ebp
ret 0xc
Function at 0x596ae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb3000]
push edi
jmp 0x596afa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x596b01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596af0
mov eax, 1
add ebx, ebx
jne 0x596b13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x596b24
jne 0x596b43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596b43
dec eax
add ebx, ebx
jne 0x596b30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x596b08
add ebx, ebx
jne 0x596b3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x596b95
xor ecx, ecx
sub eax, 3
jb 0x596b5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x596bca
sar eax, 1
mov ebp, eax
jmp 0x596b66
add ebx, ebx
jne 0x596b66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596b34
inc ecx
add ebx, ebx
jne 0x596b74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596b34
add ebx, ebx
jne 0x596b81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x596b76
jne 0x596b92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x596b76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x596bb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x596ba6
jmp 0x596af6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x596bb4
add edi, ecx
jmp 0x596af6
pop esi
mov edi, esi
mov ecx, 0x49d4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x596bd2
cmp byte [edi], 0x1a
jne 0x596bd2
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 0x596bd7
lea edi, [esi + 0x192000]
mov eax, dword [edi]
or eax, eax
je 0x596c46
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d8b68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d8c2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x596c04
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d8c34]
or eax, eax
je 0x596c40
mov dword [ebx], eax
add ebx, 4
jmp 0x596c21
call dword [esi + 0x1d8c30]
mov ebp, dword [esi + 0x1d8c38]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x596c7a
sub esp, 0xffffff80
jmp 0x49d85a
Function at 0x418622
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x60e648
call fcn.0060cc48
sub esp, 0x30
push ebx
push esi
mov esi, ecx
or ebx, 0xffffffff
mov ecx, dword [ebp + 8]
cmp ecx, ebx
mov dword [ebp - 0x14], esi
sete al
test al, al
je 0x418651
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x4187b4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x418680
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x418680
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x4187b3
cmp dword [esi + 0x4c], 0
je 0x4187b1
mov ecx, esi
call fcn.004188d9
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x4186b0
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.00418054
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x4187b1
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x3c], cl
lea ecx, [ebp - 0x3c]
push 8
mov byte [ebp - 0x10], al
mov dword [ebp - 0x28], 0xf
call fcn.0040984f
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x28]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
cmp edi, 0x10
lea edx, [ebp - 0x3c]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x3c]
cmovae edx, dword [ebp - 0x3c]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [edi + 0x1c]
test eax, eax
js 0x4187a5
cmp eax, 1
jg 0x41878a
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
cmp edi, 0x10
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x20], edx
je 0x41875b
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x3c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.005f3369
mov edx, dword [ebp - 0x20]
add esp, 0x10
cmp edx, eax
jne 0x4187a5
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x24], eax
jne 0x418785
test edx, edx
jne 0x4186db
cmp dword [ebp - 0x2c], 0x20
jae 0x4187a5
push edx
push 8
lea ecx, [ebp - 0x3c]
call fcn.0040a72d
jmp 0x4186d8
mov ebx, dword [ebp + 8]
jmp 0x4187a5
cmp eax, 3
jne 0x4187a5
mov eax, dword [ebp - 0x14]
push dword [eax + 0x4c]
push dword [ebp - 0x10]
call fcn.00418054
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004097fa
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ac55
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x60e814
call fcn.0060cc48
sub esp, 0x28
push ebx
push esi
push edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], str.wq.cloud.duba.net
mov dword [ebp - 0x18], str.221.228.204.36:80
mov dword [ebp - 0x14], str.122.193.207.36:80
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 4], 1
mov edi, ebx
push str.http:__
lea ecx, [ebp - 0x10]
call fcn.004060f8
push dword [ebp + edi*4 - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.004062d3
push 0x2f
lea ecx, [ebp - 0x10]
call fcn.004062a6
push str.cityinfo
lea ecx, [ebp - 0x10]
call fcn.004062d3
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push ecx
push 0x1c
mov ecx, esi
call fcn.00415047
add esp, 0x10
cmp dword [ebp - 0x24], 0
jne 0x41acf9
inc edi
cmp edi, 3
jb 0x41aca0
or edi, 0xffffffff
jmp 0x41ad12
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.00406921
mov edi, ebx
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004097fa
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41c6d2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x60e9f4
call fcn.0060cc48
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], al
call fcn.0041e04a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4221de
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x60f32e
call fcn.0060cc48
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x240]
push dword [ecx + 8]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
lea ecx, [edi + 0xc]
call fcn.0042ae46
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
or dword [edi + 0x58], 0xffffffff
or dword [edi + 0x5c], 0xffffffff
mov dword [edi + 0x54], eax
mov dword [edi + 0x50], ebx
mov dword [edi + 0x10], 4
cmp ebx, dword [ebp + 0x14]
jge 0x422319
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [eax + ebx*4]
call fcn.0041bf41
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_CharUpperW]
cmp dword [ebp - 0x18], 0
jne 0x422266
mov esi, 0x80070057
jmp 0x42230c
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
shl eax, 4
add eax, dword [ebp + 0x10]
cmp word [ecx], 0x42
jne 0x4222fc
push 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042247d
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.0042218a
mov esi, eax
pop ecx
test esi, esi
jne 0x42230c
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x3a
jne 0x42225c
push 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042247d
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.0042218a
mov esi, eax
pop ecx
test esi, esi
jne 0x42230c
cmp dword [ebp - 0x18], eax
jne 0x42225c
test esi, esi
jne 0x42230c
sub esp, 0x10
lea esi, [ebp - 0x2c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x240]
call fcn.0041e1c1
mov byte [ebp - 4], 0
push dword [ebp - 0x1c]
call fcn.0049a81e
pop ecx
inc ebx
jmp 0x422232
push eax
push ecx
lea ecx, [edi + 0xc]
call fcn.0042ae9f
mov esi, eax
test esi, esi
je 0x4222e9
push dword [ebp - 0x1c]
call fcn.0049a81e
pop ecx
mov eax, esi
jmp 0x422328
xor eax, eax
jmp 0x422328
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42c363
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, 0x80004005
cmp dword [eax + 0xc], ecx
je 0x42c390
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x42c3d0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0042c83c
test eax, eax
je 0x42c3d0
xor esi, esi
jmp 0x42c3d0
push edi
mov edi, dword [eax + 0x10]
cmp edi, 0xffffffff
je 0x42c3cf
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
push ecx
jmp 0x42c3b9
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
sub ebx, dword [ebp + 8]
je 0x42c3cc
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42c3a9
jmp 0x42c3ce
xor esi, esi
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10

Function at 0x42c3d7
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x60ff10
call fcn.0060cc48
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp + 8]
call fcn.00406173
mov dword [ebp - 4], ebx
mov ecx, edi
push dword [ebp + 8]
call fcn.0042c53b
test eax, eax
jne 0x42c518
push ebx
push dword [ebp + 8]
call fcn.005f2810
pop ecx
pop ecx
test eax, eax
jne 0x42c51b
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s_d__x
push eax
call fcn.00406cc8
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp + 8]
call fcn.005f46f4
pop ecx
pop ecx
test eax, eax
je 0x42c49c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
push 0x6ca908
call fcn.0048e9c0
push 0x698588
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040aec1
add esp, 0x10
mov byte [ebp - 4], 2
jmp 0x42c4c9
lea ecx, [esi - 0x10]
call fcn.00404ea9
jmp 0x42c51b
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp + 8]
mov ecx, edi
call fcn.0042c53b
test eax, eax
jne 0x42c510
push 0x698588
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040aec1
pop ecx
mov byte [ebp - 4], 3
push dword [eax]
mov ecx, edi
call fcn.0042c53b
mov byte [ebp - 4], 1
mov edi, eax
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
test edi, edi
je 0x42c492
push 0x698588
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040aec1
pop ecx
push 5
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
xor ebx, ebx
inc ebx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42c5ae
Capabilities:
Copy file

Disassembly:
mov eax, 0x60ff52
call fcn.0060cc48
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x14], 0xffffffff
je 0x42c6fc
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0xc]
push eax
lea edx, [ebx + 8]
lea ecx, [ebp - 0x18]
call fcn.0040b545
pop ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0042cec2
test eax, eax
je 0x42c6f1
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
mov byte [ebp - 4], 1
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042cf6d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.0042d02f
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040b545
pop ecx
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00404ea9
test esi, esi
mov esi, dword [ebp - 0x10]
je 0x42c6de
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
mov dword [ebp - 0x1c], edi
call fcn.004067cf
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040b545
pop ecx
pop ecx
mov byte [ebp - 4], 6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0042d092
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
or dword [ebx + 0x14], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e46b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x610135
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x30]
mov dword [esi], vtable.CFilterCoder.10.0
mov dword [esi + 4], vtable.CFilterCoder.9.0
mov dword [esi + 8], vtable.CFilterCoder.8.0
mov dword [esi + 0xc], vtable.CFilterCoder.7.0
mov dword [esi + 0x10], vtable.CFilterCoder.6.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.4.0
mov dword [esi + 0x1c], vtable.CFilterCoder.3.0
mov dword [esi + 0x20], vtable.CFilterCoder.2.0
mov dword [esi + 0x24], vtable.CFilterCoder.1.0
mov dword [esi + 0x28], vtable.CFilterCoder.0
call fcn.004322cd
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x42e4eb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x42e4ff
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x42e513
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x42e527
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x42e53b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 5
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x42e54f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 6
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x42e563
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 7
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x42e577
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42fbc1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x42fbdc
lea ecx, [esi + 4]
call fcn.00438438
test eax, eax
jne 0x42fc44
push edi
lea edi, [esi + 8]
cmp dword [edi], ebx
jne 0x42fbef
mov ecx, edi
call fcn.00438438
test eax, eax
jne 0x42fc43
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x42fc01
call fcn.004383c8
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x42fc12
call fcn.004383c8
mov byte [esi + 0x10], bl
cmp dword [esi + 0xc], ebx
je 0x42fc1e
xor eax, eax
jmp 0x42fc43
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x42fb81
push ebx
push ebx
call fcn.005f4880
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
jne 0x42fc41
call fcn.004383c8
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4306dc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x61024a
call fcn.0060cc48
push ecx
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 0x10]
mov dword [ecx + 4], vtable.ICompressSetBufSize.0
xor edx, edx
mov dword [ecx + 8], edx
mov dword [ecx], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [ecx + 4], vtable.NCompress::NBcj2::CDecoder.0
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x30]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x50]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x70]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x4a0]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x20], edx
mov eax, 0x100000
mov dword [ecx + 0x4d8], 0x10000
mov dword [ecx + 0x4c8], eax
mov dword [ecx + 0x4cc], eax
mov dword [ecx + 0x4d0], eax
mov dword [ecx + 0x4d4], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret