joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
mov esi, ecx
mov ecx, edi
xor ebx, ebx
call edx
cmp eax, dword [esi + 0x1c]
jne 0x428ee4
mov eax, dword [edi + 0x78]
cmp eax, 2
jne 0x428ec7
lea eax, [esi + 0x20]
push eax
push 1
push edi
mov ecx, esi
call fcn.00428ac0
pop edi
pop esi
pop ebx
pop ecx
ret 4
cmp eax, 1
jne 0x428fc4
lea ecx, [esi + 0x3c]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.00428ac0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x24]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
cmp eax, ebx
je 0x428ef6
mov ecx, dword [eax + 4]
jmp 0x428ef8
xor ecx, ecx
push ebp
mov ebp, 1
cmp ecx, ebx
je 0x428f50
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push edi
call eax
mov dl, al
cmp dl, bl
jne 0x428fba
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x428f46
cmp eax, 0xffffffff
jne 0x428f32
mov eax, dword [esi + 0x24]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
cmp eax, ebx
je 0x428f46
mov eax, dword [eax + 4]
jmp 0x428f48
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x428f46
add dword [esi + 0x34], ebp
mov ecx, eax
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 4]
jmp 0x428f48
xor eax, eax
mov ecx, eax
cmp eax, ebx
jne 0x428f02
jmp 0x428f52
mov dl, bl
mov eax, dword [esi + 0x40]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ebx
cmp eax, ebx
je 0x428f64
mov eax, dword [eax + 4]
jmp 0x428f66
xor eax, eax
mov ecx, eax
cmp eax, ebx
je 0x428fba
lea esp, [esp]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push edi
call eax
cmp al, bl
jne 0x428fb2
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
je 0x428fac
cmp ecx, 0xffffffff
jne 0x428f9a
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], ebx
cmp ecx, ebx
je 0x428fac
mov ecx, dword [ecx + 4]
jmp 0x428fae
mov ecx, dword [ecx + 8]
cmp ecx, ebx
je 0x428fac
add dword [esi + 0x50], ebp
mov dword [esi + 0x4c], ecx
mov ecx, dword [ecx + 4]
jmp 0x428fae
xor ecx, ecx
cmp ecx, ebx
jne 0x428f70
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 4
pop ebp
pop edi
pop esi
mov al, dl
pop ebx
pop ecx
ret 4
pop edi
pop esi
mov al, bl
pop ebx
pop ecx
ret 4
Function at 0x429920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x662f5e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x40]
push eax
call fcn.00428a40
lea esi, [edi + 0x20]
mov ecx, esi
mov dword [esp + 0x20], 0
mov dword [edi], vtable.AEProxyComposition.0
call fcn.0043c210
mov dword [esi], vtable.TList_class_AEProxyTrack_.0
lea esi, [edi + 0x3c]
mov ecx, esi
mov byte [esp + 0x20], 1
call fcn.0043c210
mov dword [esi], vtable.TList_class_AEProxyTrack_.0
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 8]
mov esi, dword [str.comp]
lea eax, [ecx + 0xc]
mov byte [esp + 0x20], 2
mov ebp, 4
sub esi, eax
mov dl, byte [esi + eax]
mov bl, byte [eax]
dec ebp
inc eax
cmp dl, bl
jne 0x4299b7
test ebp, ebp
jne 0x4299a4
mov ebp, ecx
jmp 0x4299b9
xor ebp, ebp
mov ecx, ebp
call fcn.0045d5a0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push edx
mov ecx, esi
call eax
push 3
push 2
push 1
lea ecx, [esi + 0x1c]
call fcn.00441520
and dword [esi + 0x5c], 0xffffffef
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x1c]
mov dword [esi + 0xbc], edx
mov eax, dword [ebp + 0x88]
mov dword [esi + 0x88], eax
mov ecx, dword [ebp + 0x8c]
mov dword [esi + 0x8c], ecx
mov edx, dword [ebp + 0x90]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x90], edx
mov eax, dword [ebp + 0x94]
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0x34]
push eax
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x4c]
push ecx
push edx
mov ecx, esi
call eax
mov edx, dword [ebp]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call edx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push ecx
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp + 0x78]
mov dword [esi + 0x78], eax
mov ecx, dword [ebp + 0x80]
mov dword [esi + 0x80], ecx
mov edx, dword [ebp + 0x84]
mov dword [esi + 0x84], edx
or eax, 0xffffffff
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 8], esi
mov byte [edi + 0x10], 0
mov eax, dword [esi + 0xbc]
mov dword [edi + 0x1c], eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x42a980
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6630b3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
push eax
push edi
call fcn.004289e0
lea ebx, [esi + 0x18]
mov ecx, ebx
mov dword [esp + 0x1c], 0
mov dword [esi], vtable.AEProxyTrack.0
call fcn.0043c210
mov dword [ebx], vtable.TList_class_AEProxy_.0
mov cl, byte [esp + 0x28]
mov byte [esi + 0x10], cl
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
mov byte [esp + 0x1c], 1
call eax
mov ecx, dword [esp + 0x2c]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.0042a490
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10

Function at 0x42b870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6721c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
xor ebx, ebx
call fcn.00432460
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
add ecx, 0x50
push ecx
mov dword [esp + 0x30], ebx
call fcn.00401310
add esp, 8
test al, al
je 0x42b8d2
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.00433560
add esp, 8
mov bl, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00431720
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 4
Function at 0x42c600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6633d6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esi], vtable.DLaunch.0
call fcn.00432460
lea ecx, [esi + 0x1c]
mov dword [esp + 0x18], 0
call fcn.00432460
mov eax, dword [esp + 0x20]
push eax
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00432580
push 0x200
lea eax, [esi + 0x30]
push 0
push eax
mov dword [esi + 0x18], 0xffffffff
call fcn.0063f050
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x42c6f0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x663408
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push ebp
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
mov edi, 1
push edx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x34], 0xc
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x42c77a
or eax, 0xffffffff
jmp 0x42c8da
xor eax, eax
push 0x44
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x58]
push ebp
push eax
call fcn.0063f050
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x24]
or dword [esp + 0x8c], 0x101
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 4]
add esp, 0xc
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x8c], ecx
cmp eax, ebp
je 0x42c836
add esi, 4
lea ecx, [ecx]
push eax
lea ecx, [esp + 0x44]
call fcn.00432cd0
push 0x70176c
push esi
mov dword [esp + 0xa8], ebp
call fcn.00433550
lea edx, [esp + 0x48]
push edx
push esi
call fcn.00433560
push 0x701768
push esi
call fcn.00433550
add esp, 0x18
lea ecx, [esp + 0x40]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00431720
mov eax, dword [ebx + edi*4 + 4]
inc edi
cmp eax, ebp
jne 0x42c7e0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x58]
push edx
push ebp
push ebp
push ebp
push 1
push ebp
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x42c8bc
mov ecx, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
lea eax, [esp + 0x18]
push eax
push 0x200
add esi, 0x30
push esi
push ecx
mov dword [esp + 0x28], ebp
call ebx
test eax, eax
je 0x42c8b2
mov edi, dword [esp + 0x1c]
add edi, 0x1c
push esi
push edi
call fcn.00433550
add esp, 8
push str.END_DUCK_TRANSMISSION
mov ecx, edi
call fcn.00431a80
test eax, eax
jne 0x42c8b2
mov eax, dword [esp + 0x18]
push ebp
lea edx, [esp + 0x18]
push edx
push 0x200
push esi
push eax
call ebx
test eax, eax
jne 0x42c881
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
jmp 0x42c8d6
mov esi, dword [esi + 8]
push esi
push str._command_does_not_exist__s__n
call fcn.0063f86b
add eax, 0x40
push eax
call fcn.0064010b
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 4
Function at 0x42e400
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x666238
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xc]
call fcn.00432cd0
lea ecx, [esp + 8]
push 0x701a64
push ecx
mov dword [esp + 0x2c], 0
call fcn.00433550
mov edx, dword [esp + 0x14]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
dec eax
cmp eax, 5
ja case.0x42e45d.3
jmp dword [eax*4 + 0x42e4a8]
mov esi, dword [0x88a450]
jmp 0x42e482
mov esi, dword [0x88a448]
jmp 0x42e482
mov esi, dword [0x88a44c]
jmp 0x42e482
mov esi, dword [0x88a444]
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.00431720
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret

Function at 0x431441
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [esi + 0x28], 0
jne 0x43153d
mov ecx, dword [0x8a25c8]
call fcn.0043d8d0
push esi
push 0x4313f0
push eax
mov dword [esi + 0x20], eax
mov eax, dword [0x8a25c8]
mov ecx, dword [eax + 4]
push 0x87
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [esi + 0x28], eax
test eax, eax
je 0x431537
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x6edb9d
push 0x3ee
push eax
call edi
mov edx, dword [esi + 0x28]
push 0x6edb9d
push 0x3f0
push edx
call edi
mov eax, dword [esi + 0x28]
push 0x6edb9d
push 0x3f5
push eax
call edi
mov ecx, dword [esi + 0x28]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push ecx
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0x640000
push 0
mov edi, eax
push 0x401
push edi
call ebp
xor edx, edx
push edx
push edx
push 0x402
push edi
mov word [esi + 0x1e], dx
call ebp
mov eax, dword [esi + 0x28]
push 0x3ef
push eax
call ebx
mov ecx, dword [esi + 0x28]
push 1
push ecx
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
push 0
push 1
push 1
mov ecx, esi
call eax
mov ecx, dword [esi + 0x20]
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
pop edi
sete dl
pop ebp
mov byte [esi + 0x1c], dl
pop esi
mov al, 1
pop ebx
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov al, bl
pop ebx
ret 8

Function at 0x433660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66396c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.DFile.0
call fcn.00432460
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], 0
call fcn.00432460
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.00432460
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 2
call fcn.00432460
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 3
call fcn.00432460
mov dword [esi + 4], 2
mov dword [esi + 0x5c], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4336f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66396c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.DFile.0
lea ecx, [esi + 0x60]
mov dword [esp + 0x14], 3
call fcn.00431720
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 2
call fcn.00431720
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.00431720
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 0
call fcn.00431720
lea ecx, [esi + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00431720
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4346a0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x663b98
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 1
push 4
or esi, 0xffffffff
call fcn.00433e60
push eax
lea ecx, [esp + 0x10]
call fcn.004429d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.00442b80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43471c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 5
jne 0x43471a
lea ecx, [esp + 0xc]
call fcn.00442b80
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43471c
call edi
mov esi, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00442ab0
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret

Function at 0x4347c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x663bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
push 1
push 4
xor esi, esi
call fcn.00433e60
push eax
lea ecx, [esp + 0x10]
call fcn.004429d0
push 0x30
lea eax, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x68], esi
call fcn.0063f050
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x10]
call fcn.00442b80
push eax
call fcn.00642828
add esp, 8
lea ecx, [esp + 0xc]
call fcn.00442b80
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x434842
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x434846
test al, 0x10
jne 0x43484b
mov esi, 0xffffffd5
test si, si
lea ecx, [esp + 0xc]
sete bl
mov dword [esp + 0x5c], 0xffffffff
call fcn.00442ab0
mov al, bl
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x54
ret

Function at 0x435060
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x6634d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
xor edi, edi
xor ebx, ebx
cmp eax, edi
je 0x435097
mov dword [eax], edi
mov dword [eax + 4], edi
push 1
push 2
call fcn.00433e60
push eax
lea ecx, [esp + 0x1c]
call fcn.00432ca0
push edi
push 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], edi
call fcn.004326d0
mov eax, dword [esp + 0x1c]
push edi
push edi
push 3
push edi
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4350f5
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [esp + 0x14]
push esi
mov dword [esp + 0x14], eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.00431720
mov eax, edi
mov edx, ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x435670
Capabilities:
Delete directory
Delete file

Disassembly:
push esi
push edi
mov esi, ecx
or edi, 0xffffffff
call fcn.004347c0
test al, al
je 0x435689
pop edi
mov ecx, esi
pop esi
jmp fcn.004346a0
mov eax, edi
pop edi
pop esi
ret

Function at 0x435690
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x663d00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
push 1
push 2
xor edi, edi
call fcn.00433e60
push eax
lea ecx, [esp + 0x2c]
call fcn.00432ca0
push edi
push 3
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], edi
call fcn.004326d0
push 2
mov ecx, esi
call fcn.00435400
push eax
lea ecx, [esp + 0x18]
call fcn.00432ca0
mov ebx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push ebx
push eax
mov byte [esp + 0x4c], 1
call fcn.00433550
add esp, 8
push edi
push 3
lea ecx, [esp + 0x1c]
call fcn.004326d0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x435748
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
jne 0x43573f
mov edi, 0xffffffd0
jmp 0x435748
test edi, edi
je 0x435748
cmp edi, 0xffffffd0
jne 0x435768
mov eax, dword [esi + 4]
push eax
mov ecx, esi
lea ebp, [esi + 8]
call fcn.00435400
push eax
mov ecx, ebp
call fcn.00432580
push ebx
push ebp
call fcn.00433550
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
call fcn.00431720
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], 0xffffffff
call fcn.00431720
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
Function at 0x4357a0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x663d36
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push esi
push edi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0xb8]
mov ecx, esi
call fcn.004347c0
mov ecx, esi
test al, al
je 0x43595f
call fcn.00434e90
test al, al
je 0x435958
push 1
push 2
mov ecx, esi
call fcn.00433e60
push eax
lea ecx, [esp + 0x10]
call fcn.00432ca0
lea eax, [esp + 0xc]
push 0x2f
push eax
mov dword [esp + 0xb8], 0
call fcn.00433580
add esp, 8
push 0
mov ecx, edi
call fcn.00435260
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00433560
add esp, 8
push esi
lea ecx, [esp + 0x34]
call fcn.004338a0
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0xa4], 0
push 0
push 3
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 1
call fcn.004326d0
mov esi, dword [eax + 4]
mov ecx, edi
call fcn.00435120
mov eax, dword [eax + 4]
xor ecx, ecx
cmp byte [esp + 0xcc], cl
lea edx, [esp + 0x20]
sete cl
push ecx
push 0
push edx
push 0x434750
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
test eax, eax
je 0x4358c4
xor esi, esi
jmp 0x43592f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
ja 0x4358fc
je case.0x4358e0.5
sub eax, 2
cmp eax, 0x11
ja case.0x4358e0.4
movzx eax, byte [eax + 0x43599c]
jmp dword [eax*4 + 0x43598c]
mov esi, 0xffffffd4
jmp 0x43592f
mov esi, 0xffffffd5
jmp 0x43592f
mov esi, 0xffffffd3
jmp 0x43592f
cmp eax, 0x27
je 0x43592a
cmp eax, 0x50
je case.0x4358e0.4
cmp eax, 0x4d3
jne case.0x4358e0.4
mov esi, dword [esp + 0xa4]
sub esi, 0x27
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0xffffffde
jmp 0x43592f
mov esi, 0xffffffd0
jmp 0x43592f
mov esi, 0xffffffde
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 0
call fcn.004336f0
lea ecx, [esp + 0xc]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00431720
mov eax, esi
jmp 0x435971
mov eax, 0xffffffd5
jmp 0x435971
call fcn.00434e90
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 0xffffffd5
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xa8
ret 0x18

Function at 0x4359b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 8]
xor bl, bl
call fcn.004317f0
test eax, eax
jne 0x4359db
push eax
push eax
mov ecx, esi
call fcn.00435260
mov ecx, eax
call fcn.00431930
cmp al, 0x2e
sete bl
test bl, bl
jne 0x435a00
push 1
push 2
mov ecx, esi
call fcn.00433e60
mov esi, dword [esi + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x435a00
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov al, 1
pop ebx
ret
pop esi
mov al, bl
pop ebx
ret
Function at 0x435c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x663dc7
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.DFile.0
call fcn.00432460
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], 0
call fcn.00432460
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.00432460
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 2
call fcn.00432460
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 3
call fcn.00432460
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x1c], 4
call fcn.004351d0
mov dword [esi + 0x5c], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8

Function at 0x435cb0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x663e2f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.DFile.0
call fcn.00432460
lea ecx, [esi + 0x1c]
mov dword [esp + 0x28], 0
call fcn.00432460
lea ecx, [esi + 0x30]
mov byte [esp + 0x28], 1
call fcn.00432460
lea ecx, [esi + 0x44]
mov byte [esp + 0x28], 2
call fcn.00432460
lea ecx, [esi + 0x60]
mov byte [esp + 0x28], 3
call fcn.00432460
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00432cd0
mov ecx, dword [esp + 0x34]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x30], 5
call fcn.004351d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 4
call fcn.00431720
mov dword [esi + 0x5c], 0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8