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

Disassembly:
push 0xffffffffffffffff
push 0x4d943b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
jne 0x423a40
push 0x1c
call fcn.004ba015
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x423a3c
mov ecx, eax
call fcn.004a3970
jmp 0x423a3e
xor eax, eax
mov dword [esi], eax
mov eax, dword [esi]
fld dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
fstp dword [eax + 8]
fld dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
fstp dword [eax + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
fld dword [esp + 0x34]
fstp dword [eax + 0x18]
mov dword [eax + 0xc], edx
mov dword [eax + 0x14], ecx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c

Function at 0x4276d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d9981
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x8c]
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
mov byte [esi + 4], cl
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 4]
mov ebx, dword [ecx]
mov edi, eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
lea esp, [esp]
test edi, edi
mov ebp, dword [eax + 4]
je 0x42774b
cmp edi, eax
je 0x427750
call fcn.004bb053
cmp ebx, ebp
je 0x42785c
test edi, edi
jne 0x427761
call fcn.004bb053
cmp ebx, dword [edi + 4]
jne 0x42776b
call fcn.004bb053
push 0x4eb378
lea esi, [ebx + 0xc]
lea eax, [esp + 0x64]
push esi
push eax
call fcn.00417690
add esp, 0xc
mov ebp, eax
cmp ebx, dword [edi + 4]
mov dword [esp + 0x84], 1
jne 0x427798
call fcn.004bb053
add esi, 0x1c
push esi
lea ecx, [esp + 0x48]
push ebp
push ecx
call fcn.0041ee60
push 0x4eafb0
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x9c], 2
call fcn.00417690
add esp, 0x18
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
mov byte [esp + 0x90], 3
call fcn.00402050
mov esi, 0x10
cmp dword [esp + 0x40], esi
jb 0x4277f1
mov eax, dword [esp + 0x2c]
push eax
call fcn.004b9684
add esp, 4
cmp dword [esp + 0x5c], esi
mov ebx, 0xf
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
jb 0x427816
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004b9684
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
mov byte [esp + 0x84], 0
jb 0x42783e
mov edx, dword [esp + 0x64]
push edx
call fcn.004b9684
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0040ede0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
jmp 0x427740
mov eax, esi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4
Function at 0x428dc0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4d9d69
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], esi
mov dword [esp + 0x18], ebp
mov byte [ebp + 4], 0
push ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x428e64
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
cmp edi, esi
je 0x428e64
add edi, 1
push edi
call fcn.004b8cfb
add esp, 4
push edi
mov esi, eax
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x428e47
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.00402230
push esi
call fcn.004bb969
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x429a30
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4d9f30
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xa28]
mov edx, dword [eax + 8]
lea ecx, [esi + 0xa28]
call edx
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esi + 0x2ad0]
call fcn.00401e20
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x2b24]
call fcn.00401e20
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x2b40]
call fcn.00401e20
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x2b5c]
call fcn.00401e20
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x2b78]
call fcn.00401e20
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x2b94]
call fcn.00401e20
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x2b08]
call fcn.00401e20
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push eax
mov dword [esi + 0x2bb0], ebx
mov dword [esi + 0x2bb4], ebx
mov dword [esi + 0x2abc], ebx
mov dword [esi + 0xabc], ebx
mov dword [esi + 0x2ab4], ebx
call edi
push 0x4e9a2d
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esi + 4]
push 0x3f2
push ecx
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push eax
call ebp
mov edx, dword [esi + 4]
push 0x3f1
push edx
call edi
push ebx
push eax
call ebp
mov eax, dword [esi + 4]
push 0x3ef
push eax
call edi
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push eax
call ebp
mov ecx, dword [esi + 4]
push 0x3ef
push ecx
call edi
push ebx
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esi + 4]
push 0x3ee
push edx
call edi
push ebx
push eax
call ebp
mov eax, dword [esi + 4]
push 0x3f0
push eax
call edi
push ebx
push eax
call ebp
mov ecx, dword [esi + 4]
push 0x3ec
push ecx
call edi
push ebx
push eax
call ebp
mov ecx, esi
call fcn.004252e0
lea edx, [esp + 0x30]
push 1
push edx
call fcn.00428b90
add esp, 8
mov edi, 0x10
cmp dword [eax + 0x18], edi
mov dword [esp + 0x54], ebx
jb 0x429bad
mov eax, dword [eax + 4]
jmp 0x429bb0
add eax, 4
mov edx, dword [esi + 0x260]
lea ecx, [esi + 0x260]
push eax
mov eax, dword [edx + 8]
call eax
or ebp, 0xffffffff
cmp dword [esp + 0x48], edi
mov dword [esp + 0x54], ebp
jb 0x429bdc
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004b9684
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.00428d10
add esp, 4
cmp dword [eax + 0x18], edi
mov dword [esp + 0x54], 1
jb 0x429bfb
mov eax, dword [eax + 4]
jmp 0x429bfe
add eax, 4
mov edx, dword [esi + 0x310]
lea ecx, [esi + 0x310]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x54], ebp
jb 0x429c27
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b9684
add esp, 4
mov edx, dword [esi + 0x70]
mov eax, dword [edx + 0x170]
lea ecx, [esi + 0x70]
push ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x429e40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d9f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x521a70]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
fld qword [0x4eb128]
xor ebx, ebx
fst qword [esp + 0x14]
cmp ecx, ebx
je 0x429f76
cmp byte [ecx], bl
je 0x429f76
mov eax, ecx
fstp st(0)
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x429eb6
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00402230
push 2
push 0x4eb6ec
lea ecx, [esp + 0x28]
mov dword [esp + 0x198], ebx
call fcn.00402300
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x429ef2
lea eax, [esp + 0x24]
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x429f5e
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor esi, esi
lea ecx, [ecx]
add esi, 1
cmp byte [esp + 0x68], 0x2e
je 0x429f43
lea edx, [esp + 0x50]
push edx
call fcn.00422520
fcomp qword [esp + 0x18]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x429f43
lea eax, [esp + 0x50]
push eax
call fcn.00422520
fstp qword [esp + 0x18]
add esp, 4
cmp esi, 0x200
jge 0x429f57
lea ecx, [esp + 0x3c]
push ecx
push edi
call ebx
test eax, eax
jne 0x429f10
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x38], 0x10
jb 0x429f72
mov edx, dword [esp + 0x24]
push edx
call fcn.004b9684
add esp, 4
fld qword [esp + 0x14]
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.004b9963
mov esp, ebp
pop ebp
ret
Function at 0x42ad20
Capabilities:
Get disk size
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4da260
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x521a70]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], ebx
push 3
push 0x4eab04
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00402230
push 3
push 0x4eab00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 1
call fcn.00402300
push 3
push 0x4eaafc
lea ecx, [esp + 0x4c]
call fcn.00402300
push 1
push 0x4ea794
lea ecx, [esp + 0x4c]
call fcn.00402300
push 3
push 0x4eaaf8
lea ecx, [esp + 0x4c]
call fcn.00402300
push 2
push 0x4eaaf4
lea ecx, [esp + 0x4c]
call fcn.00402300
push 3
push 0x4eaaf0
lea ecx, [esp + 0x4c]
call fcn.00402300
push 1
push 0x4eaaec
lea ecx, [esp + 0x4c]
call fcn.00402300
push 1
push 0x4eaae8
lea ecx, [esp + 0x4c]
call fcn.00402300
push 3
push 0x4eaae4
lea ecx, [esp + 0x4c]
call fcn.00402300
push 3
push 0x4eaae0
lea ecx, [esp + 0x4c]
call fcn.00402300
mov eax, dword [esp + 0x48]
mov ebp, 0x10
cmp dword [esp + 0x5c], ebp
jae 0x42ae36
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
push VariantInit
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x42af2c
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, eax
push ecx
mov edx, eax
push edx
push 0x4eb798
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.0041f720
cmp dword [eax + 0x18], ebp
jb 0x42ae9e
mov eax, dword [eax + 4]
jmp 0x42aea1
add eax, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esp + 0x40], ebp
jb 0x42aed8
mov edx, dword [esp + 0x2c]
push edx
call fcn.004b9684
add esp, 4
cmp esi, ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x42aee7
push esi
call ebp
xor esi, esi
mov ecx, edi
call fcn.0041aae0
or eax, dword [esp + 0x20]
xor ecx, ecx
cmp dword [esp + 0x1c], eax
sete cl
cmp dword [esp + 0x5c], 0x10
mov edi, ecx
jb 0x42af11
mov edx, dword [esp + 0x48]
push edx
call fcn.004b9684
add esp, 4
cmp esi, ebx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x42af28
push esi
call ebp
mov eax, edi
jmp 0x42af41
cmp dword [esp + 0x5c], ebp
jb 0x42af3f
mov eax, dword [esp + 0x48]
push eax
call fcn.004b9684
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.004b9963
add esp, 0x5c
ret
Function at 0x42c840
Capabilities:
Set file attributes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x4da4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x521a70]
xor eax, ebp
mov dword [ebp + 0x68], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x78]
mov ebx, dword [ebp + 0x74]
mov esi, ecx
mov eax, edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], edi
mov byte [esi + 4], 0
lea ecx, [eax + 1]
jmp 0x42c8a0
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42c8a0
sub eax, ecx
push eax
push edi
mov ecx, esi
call fcn.00402230
mov dword [esi + 0x1c], ebx
xor ebx, ebx
mov esi, 1
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], esi
mov dword [ebp - 4], 0
jmp 0x42c8d0
test esi, esi
je 0x42c9e6
push 0x20
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + 0x1c]
push edi
push eax
call fcn.004233a0
xor ecx, ecx
add esp, 8
test eax, eax
setne cl
mov esi, ecx
test esi, esi
mov dword [ebp + 0x2c], esi
je 0x42c8c4
push eax
lea esi, [ebp]
call fcn.00487200
add esp, 4
push eax
lea edx, [ebp + 0x4c]
push str.Decoding_error:
push edx
mov byte [ebp - 4], 2
call fcn.0040fd20
add esp, 0xc
mov esi, 0x10
cmp dword [ebp + 0x18], esi
mov byte [ebp - 4], 4
jb 0x42c93e
mov eax, dword [ebp + 4]
push eax
call fcn.004b9684
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], 0
mov byte [ebp + 4], 0
call fcn.004274c0
mov ecx, dword [ebp + 0x50]
add esp, 4
cmp dword [ebp + 0x64], esi
jae 0x42c969
lea ecx, [ebp + 0x50]
cmp dword [eax + 0x18], esi
jb 0x42c973
mov eax, dword [eax + 4]
jmp 0x42c976
add eax, 4
push 0x2012
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x14], esi
mov ebx, eax
mov dword [ebp + 0x28], ebx
jb 0x42c99b
mov edx, dword [ebp - 0x28]
push edx
call fcn.004b9684
add esp, 4
xor eax, eax
cmp ebx, 4
sete al
cmp dword [ebp + 0x64], 0x10
mov esi, eax
mov dword [ebp + 0x2c], esi
jb 0x42c8c4
mov ecx, dword [ebp + 0x50]
push ecx
call fcn.004b9684
add esp, 4
jmp 0x42c8c4
cmp ebx, 3
jne 0x42c9f3
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.004b9963
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 8
Function at 0x42f450
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4da9c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
lea esi, [edi + edi + 2]
cmp esi, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], edi
jge 0x42f53c
jmp 0x42f4a0
lea eax, [esi*8]
sub eax, esi
cmp dword [ebp + eax*4 - 4], 0x10
mov ecx, dword [ebp + eax*4 - 8]
lea eax, [ebp + eax*4]
mov dword [esp + 0x14], ecx
jb 0x42f4c1
mov edx, dword [eax - 0x18]
jmp 0x42f4c4
lea edx, [eax - 0x18]
mov ebx, dword [eax + 0x14]
cmp ebx, ecx
jae 0x42f4cd
mov ecx, ebx
cmp dword [eax + 0x18], 0x10
jb 0x42f4d8
mov eax, dword [eax + 4]
jmp 0x42f4db
add eax, 4
push ecx
push edx
push eax
call fcn.0040e2d0
add esp, 0xc
test eax, eax
jne 0x42f4fd
mov eax, dword [esp + 0x14]
cmp ebx, eax
jb 0x42f4ff
xor ecx, ecx
cmp ebx, eax
setne cl
mov eax, ecx
test eax, eax
jge 0x42f502
sub esi, 1
push 0xffffffffffffffff
lea edx, [esi*8]
sub edx, esi
lea ecx, [edi*8]
push 0
lea eax, [ebp + edx*4]
sub ecx, edi
push eax
lea ecx, [ebp + ecx*4]
call fcn.00402150
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x34]
jl 0x42f4a0
mov ebx, dword [esp + 0x34]
cmp esi, ebx
jne 0x42f565
push 0xffffffffffffffff
lea edx, [ebx*8]
sub edx, ebx
lea ecx, [edi*8]
push 0
lea eax, [ebp + edx*4 - 0x1c]
sub ecx, edi
push eax
lea ecx, [ebp + ecx*4]
call fcn.00402150
lea edi, [ebx - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x5c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.00402150
mov eax, dword [esp + 0x34]
push eax
push edi
push ebp
call fcn.0042c540
add esp, 0x28
cmp dword [esp + 0x50], 0x10
jb 0x42f5b1
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004b9684
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x434180
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
mov esi, ecx
mov dword [esi], vtable.LZMFolderCompression::CDecoderFolder::CFileBuffer.0
mov dword [esi + 8], 0
mov dword [esi + 4], edi
je 0x4341e5
push edi
mov dword [esp + 0x14], 0
call fcn.004b8cfb
mov edx, dword [esp + 0x10]
add esp, 4
push 0
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
push edx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4341ce
cmp edi, dword [esp + 0x10]
je 0x4341e5
mov eax, dword [esi + 8]
test eax, eax
je 0x4341e5
push eax
call fcn.004bb969
add esp, 4
mov dword [esi + 8], 0
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x4353c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x521a70]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [str.d:_temp]
mov ecx, dword [0x4ebc3c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x220]
push edi
xor ebx, ebx
push 0xfc
lea edx, [esp + 0x124]
push ebx
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
call fcn.004ba350
push 0x103
lea eax, [esp + 0x25]
push ebx
push eax
mov byte [esp + 0x2c], bl
call fcn.004ba350
add esp, 0x18
lea ecx, [esp + 0x118]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x14]
push edx
call ebp
push eax
push 0x4ebc34
lea eax, [esp + 0x124]
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
call fcn.0041ef10
add esp, 4
test eax, eax
jne 0x435447
lea eax, [esp + 0x14]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x435483
sub eax, edx
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00402230
mov ecx, dword [esp + 0x21c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9963
add esp, 0x210
ret
Function at 0x4354c0
Capabilities:
Set file attributes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x4db403
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x521a70]
xor eax, ebp
mov dword [ebp + 0x68], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x74]
mov edi, ecx
mov ecx, dword [ebp + 0x78]
mov eax, ecx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], 0
mov dword [ebp + 0x2c], edi
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x28], ecx
mov byte [edi + 4], 0
lea esi, [eax + 1]
jmp 0x435520
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x435520
sub eax, esi
push eax
push ecx
mov ecx, edi
call fcn.00402230
xor eax, eax
lea ecx, [edi + 0x1c]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], 0xf
mov dword [ebp - 4], eax
mov byte [ecx + 4], al
mov eax, ebx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x435550
sub eax, esi
push eax
push ebx
call fcn.00402230
xor ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp + 0x24], ebx
mov esi, 1
test esi, esi
je 0x43568b
mov edi, dword [ebp + 0x28]
push 0x20
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp + 0x1c]
call fcn.00434050
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
test esi, esi
mov dword [ebp + 0x20], esi
je 0x435659
push eax
lea esi, [ebp]
call fcn.00487200
add esp, 4
push eax
lea edx, [ebp + 0x4c]
push str.Decoding_error:
push edx
mov byte [ebp - 4], 3
call fcn.0040fd20
add esp, 0xc
mov edi, 0x10
cmp dword [ebp + 0x18], edi
mov byte [ebp - 4], 5
jb 0x4355e0
mov eax, dword [ebp + 4]
push eax
call fcn.004b9684
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], 0
mov byte [ebp + 4], 0
call fcn.004274c0
mov ecx, dword [ebp + 0x50]
add esp, 4
cmp dword [ebp + 0x64], edi
jae 0x43560c
lea ecx, [ebp + 0x50]
cmp dword [eax + 0x18], edi
jb 0x435616
mov eax, dword [eax + 4]
jmp 0x435619
add eax, 4
push 0x2012
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x14], edi
mov ebx, eax
mov dword [ebp + 0x24], ebx
jb 0x43563e
mov edx, dword [ebp - 0x28]
push edx
call fcn.004b9684
add esp, 4
xor eax, eax
cmp ebx, 4
sete al
cmp dword [ebp + 0x64], edi
mov esi, eax
jb 0x435659
mov ecx, dword [ebp + 0x50]
push ecx
call fcn.004b9684
add esp, 4
mov edi, dword [ebp + 0x2c]
mov dword [ebp - 4], 1
jmp 0x435570
cmp ebx, 3
jne 0x435698
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.004b9963
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 8
Function at 0x4359e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4db467
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x521a70]
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 [esi - 0x74]
lea edi, [esi - 0x74]
mov dword [esi - 0x78], 0x4ebc4c
mov ecx, dword [eax + 4]
mov dword [ecx + esi - 0x74], 0x4ebc44
cmp dword [esi - 4], 0
mov dword [esp + 0x1c], 1
je 0x435a5c
lea ecx, [edi + 4]
call fcn.0041ee10
test eax, eax
jne 0x435a5c
mov edx, dword [edi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x435a54
or eax, 4
push 0
push eax
call fcn.00417d30
cmp dword [esi - 8], 0x10
jb 0x435a67
mov eax, dword [esi - 0x1c]
jmp 0x435a6a
lea eax, [esi - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi - 8], 0x10
jb 0x435a83
mov eax, dword [esi - 0x1c]
push eax
call fcn.004b9684
add esp, 4
lea eax, [esi - 0x78]
neg eax
sbb eax, eax
and eax, edi
mov dword [esi - 8], 0xf
mov dword [esi - 0xc], 0
lea ecx, [eax + 0x54]
mov byte [esi - 0x1c], 0
mov dword [esp + 0x1c], 0xffffffff
call fcn.0042aa10
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret