joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be590
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x533d48
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
push 1
push 0
push 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0
call fcn.00420f50
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [eax - 0x1c]
cmp ecx, 2
jbe 0x4be698
cmp eax, 0x20
ja 0x4be698
lea edx, [esp + 8]
push 0x26
push edx
call fcn.004c15b0
push 0x5577e8
push eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x68], 1
call fcn.004031b0
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x54], 3
call fcn.00402cd0
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.00402c30
call fcn.004be100
add esp, 4
test eax, eax
je 0x4be68f
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00506bf0
add esp, 0xc
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x1c], str.open
call fcn.00420f50
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 1
call fcn.00420f50
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esp + 4]
call fcn.00402cd0
lea ecx, [esp + 0x5c]
call fcn.00402cd0
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x54
ret

Function at 0x4beb50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x533c99
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
call fcn.00406370
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], 1
call fcn.004014d0
mov eax, esi
lea esi, [esp + 0x14]
mov dword [esp + 0x58], 1
call fcn.004bf0d0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call fcn.00402460
mov ecx, esi
mov byte [esp + 0x58], 1
call fcn.00401540
lea ecx, [esp + 0x30]
call fcn.00402000
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.00401560
push eax
mov edx, edi
mov ecx, esi
call fcn.004be6c0
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00401540
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.005007b7
add esp, 0x54
ret
Function at 0x4bec20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x533c48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x57a6cc]
mov edi, ecx
mov dword [esp + 0xc], 0
mov byte [esp + 0xb], 1
test eax, eax
jbe 0x4becac
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x13]
call fcn.004bece0
add esp, 8
mov dword [esp + 0x38], 0
cmp byte [esp + 0xb], 0
lea ecx, [esp + 0x10]
je 0x4bec9f
push ecx
mov ecx, esi
call fcn.00401d00
lea ecx, [esp + 0x10]
call fcn.00401540
jmp 0x4becbb
mov dword [esp + 0x38], 0xffffffff
call fcn.00401540
push 0
push esi
lea ecx, [esp + 0x13]
call fcn.004bece0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005007b7
add esp, 0x34
ret

Function at 0x4bee20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x533be8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x57a6cc]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xc], 0
mov byte [esp + 0xb], 1
test eax, eax
jbe 0x4beebf
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4bee76
cmp ecx, 1
jne 0x4beebf
push edi
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x1b]
mov ecx, esi
call fcn.004bef00
add esp, 0x10
mov dword [esp + 0x38], 0
cmp byte [esp + 0xb], 0
lea ecx, [esp + 0x10]
je 0x4beeb2
push ecx
mov ecx, ebp
call fcn.00401450
lea ecx, [esp + 0x10]
call fcn.00401490
jmp 0x4beed5
mov dword [esp + 0x38], 0xffffffff
call fcn.00401490
mov edx, dword [esp + 0x44]
push edi
push ebx
push edx
push ebp
lea edx, [esp + 0x1b]
mov ecx, esi
call fcn.004bef00
add esp, 0x10
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005007b7
add esp, 0x34
ret
Function at 0x4c1190
Capabilities:
Encode data using base64

Disassembly:
push esi
mov esi, edx
push edi
mov edi, eax
test esi, esi
je 0x4c129b
test edi, edi
jle 0x4c129b
cmp edi, 3
jl 0x4c1235
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx*4]
sub eax, edx
neg eax
add edi, eax
push ebx
jmp 0x4c11d0
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
inc ecx
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
sub edx, 1
jne 0x4c11d0
pop ebx
test edi, edi
jle 0x4c1293
movzx edx, byte [esi]
shr edx, 2
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov al, byte [esi]
and al, 3
inc ecx
shl al, 4
cmp edi, 1
jle 0x4c125d
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
cmp edi, 2
jge 0x4c127e
mov al, 0x3d
mov byte [ecx], al
inc ecx
mov byte [ecx], al
inc ecx
pop edi
mov byte [ecx], 0
mov al, 1
pop esi
ret
movzx eax, byte [esi + 1]
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
pop edi
mov byte [ecx], 0
mov al, 1
pop esi
ret
pop edi
xor al, al
pop esi
ret
Function at 0x4c1350
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x534718
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp esi, ebx
je 0x4c154f
cmp dword [esp + 0x34], ebx
je 0x4c154f
push ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x14]
push eax
push 0x54183c
push 1
push ebx
push 0x541a7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4c1512
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
cmp eax, ebx
jl 0x4c1512
push esi
lea ecx, [esp + 0x14]
call fcn.00402c50
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.00402ed0
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00403040
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00402cf0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00402cd0
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
lea ecx, [esp + 0x10]
call fcn.00420f50
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x24]
push edx
call eax
cmp eax, ebx
jge 0x4c1443
mov dword [esp + 0x2c], 0xffffffff
jmp 0x4c1509
or ebp, 0xffffffff
cmp edi, ebx
je 0x4c14b4
lea ecx, [esp + 0x18]
call fcn.00402c10
push 0x104
push 0x104
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.00403440
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
lea ecx, [esp + 0x1c]
call fcn.00403480
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov esi, dword [ecx]
push edx
lea ecx, [esp + 0x1c]
call fcn.00420f50
mov ecx, dword [esi + 0x44]
push eax
mov eax, dword [esp + 0x1c]
push eax
call ecx
cmp eax, ebx
lea ecx, [esp + 0x18]
jge 0x4c14ab
call fcn.00402cd0
jmp 0x4c1505
mov byte [esp + 0x2c], bl
call fcn.00402cd0
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x4c14cd
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp eax, ebx
jl 0x4c1505
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x541a0c
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x4c1505
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
jl 0x4c1505
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x10]
call fcn.00402cd0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4c1522
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4c1532
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x4c15b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x533229
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 0xc], 0
call fcn.00402c10
mov ecx, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x20], 0
push 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4c1641
push 0x104
mov ecx, esi
call fcn.00403440
mov edx, dword [esp + 8]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00403480
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x4c1d20
Capabilities:
Parse url

Disassembly:
mov eax, 0x2f24
call fcn.00507350
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0x2f20], eax
mov eax, dword [esp + 0x2f2c]
lea edx, [esp + 0xfe0]
mov dword [esp + 8], edx
mov dword [esp], eax
lea edx, [esp + 0x1f80]
mov dword [esp + 0x20], edx
lea eax, [esp + 0x40]
mov dword [esp + 0x14], eax
push ebp
mov ebp, dword [esp + 0x2f2c]
lea edx, [esp + 0x17b4]
lea eax, [esp + 0x814]
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x2758]
mov dword [esp + 0x40], eax
mov eax, 0x3e8
push 0
push 0
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
call fcn.00401560
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.004065b0
mov cx, word [esp + 0x20]
mov edx, dword [esp + 0x34]
mov word [ebp], cx
push edx
mov ecx, edi
call fcn.004065b0
mov eax, dword [esp + 0x3c]
push eax
mov ecx, ebx
call fcn.004065b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov dword [edx], ecx
mov ecx, dword [esp + 0x2f24]
pop ebp
xor ecx, esp
call fcn.005007b7
add esp, 0x2f24
ret 8
Function at 0x4c39b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5346d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.00401d00
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 0
call fcn.00421e30
push eax
mov ecx, esi
call fcn.00401d00
lea ecx, [esp + 8]
call fcn.00401540
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
add esp, 0x2c
ret

Function at 0x4c3b60
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
mov edi, eax
mov eax, dword [edi]
test eax, eax
jne 0x4c3b6d
xor al, al
pop edi
ret
cmp dword [eax + 4], 0
je 0x4c3b69
push esi
lea ecx, [eax + 0xc]
push ecx
push 4
push eax
push 0x4c3a20
push 0
push 0
call fcn.0050300a
mov edx, dword [edi]
mov dword [edx + 0x10], eax
mov eax, dword [edi]
add esp, 0x18
cmp dword [eax + 0x10], 0
jne 0x4c3bc2
or esi, 0xffffffff
mov dword [eax + 0x10], esi
mov edi, dword [edi]
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x4c3bb2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], esi
pop esi
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
xor al, al
pop edi
ret
mov byte [eax + 8], 1
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4c3be4
mov esi, dword [edi]
call fcn.004c3ab0
mov edx, dword [edi]
mov byte [edx + 8], 0
pop esi
mov al, 1
pop edi
ret

Function at 0x4c42c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x535508
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
push eax
push 1
lea ecx, [esp + 0xc]
call fcn.004c7100
lea ecx, [esp + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.00421e30
lea ecx, [esp + 4]
call fcn.004b5cb0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret 4
Function at 0x4c4f90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x53741c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 8]
push eax
mov dword [esi], vtable.CZipArchive.0
call fcn.004c7650
lea eax, [esi + 0x30]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
call fcn.004cdae0
mov dword [esi + 0xc0], vtable.CZipCentralDir.0
mov dword [esi + 0xe4], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd8], edi
lea ecx, [esi + 0xf4]
call fcn.004014d0
lea ecx, [esi + 0x110]
call fcn.004014d0
mov eax, vtable.CZipAutoBuffer.0
mov dword [esi + 0x130], eax
mov dword [esi + 0x138], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x14c], eax
mov dword [esi + 0x154], edi
mov dword [esi + 0x150], edi
lea ecx, [esi + 0x15c]
push ecx
mov byte [esp + 0x18], 6
call fcn.004c7650
mov eax, esi
call fcn.004c50b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4c5870
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x538399
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov esi, dword [eax + 0xc4]
mov ecx, esi
call fcn.004d14f0
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x74]
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
call fcn.00506040
add esp, 4
cmp eax, 0xffffffff
jne 0x4c58ed
mov ecx, edi
call fcn.004c8f90
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.004d02d0
add esp, 8
test al, al
je 0x4c596d
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x70], ebx
mov ecx, eax
mov dword [esp + 0x10], 1
call fcn.00401560
mov ebx, eax
mov eax, esi
call fcn.004d2000
push 1
mov ecx, ebx
lea esi, [esp + 0x30]
mov dword [esp + 0x18], eax
call fcn.004ccce0
add esp, 4
mov ecx, eax
call fcn.00401560
mov ecx, dword [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov ecx, esi
setne bl
call fcn.004b5cb0
test bl, bl
mov ebx, 1
jne 0x4c5972
mov ebx, 0xfffffffe
mov dword [esp + 0x70], 0xffffffff
test byte [esp + 0x10], 1
je 0x4c598a
lea ecx, [esp + 0x48]
call fcn.004b5cb0
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov esi, dword [ebp + 8]
push 0
call fcn.004c59c0
cmp eax, 1
jne 0x4c59a4
mov eax, ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c8a30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x534612
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], 0
call fcn.00401d00
push 0x557f2c
lea ecx, [esp + 0x24]
mov dword [esp + 0x84], 0
call fcn.00401500
mov byte [esp + 0x80], 1
mov ebx, 1
push edi
lea esi, [esp + 0x24]
mov dword [esp + 0x18], ebx
call fcn.004c89e0
add esp, 4
test al, al
jne 0x4c8ae8
push 0x557f34
lea ecx, [esp + 0x40]
call fcn.00401500
mov dword [esp + 0x80], 2
mov ebx, 3
push edi
lea esi, [esp + 0x40]
mov dword [esp + 0x18], ebx
call fcn.004c89e0
add esp, 4
mov byte [esp + 0x13], 0
test al, al
je 0x4c8aed
mov byte [esp + 0x13], 1
test bl, 2
je 0x4c8afe
lea ecx, [esp + 0x3c]
and ebx, 0xfffffffd
call fcn.00401540
mov dword [esp + 0x80], 0
test bl, 1
je 0x4c8b17
lea ecx, [esp + 0x20]
call fcn.00401540
cmp byte [esp + 0x13], 0
je 0x4c8b49
mov ebx, 2
mov eax, edi
lea ecx, [esp + 0x20]
call fcn.004c87f0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 3
call fcn.00402460
lea ecx, [esp + 0x20]
call fcn.00401540
lea ecx, [esp + 0x58]
xor esi, esi
call fcn.00401560
mov ecx, edi
mov ebx, eax
call fcn.00402000
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 8
call fcn.00421d70
add esp, 8
xor edx, edx
test eax, eax
jbe 0x4c8bdc
movzx ecx, word [ebx + edx*2]
mov edi, 0x30
cmp di, cx
ja 0x4c8b9c
cmp cx, 0x39
ja 0x4c8b9c
movzx ecx, cx
sub ecx, edi
jmp 0x4c8bd2
mov edi, 0x61
cmp di, cx
ja 0x4c8bb8
mov edi, 0x66
cmp di, cx
jb 0x4c8bb8
movzx ecx, cx
sub ecx, 0x57
jmp 0x4c8bd2
mov edi, 0x41
cmp di, cx
ja 0x4c8bdc
mov edi, 0x46
cmp di, cx
jb 0x4c8bdc
movzx ecx, cx
sub ecx, 0x37
shl esi, 4
inc edx
add esi, ecx
cmp edx, eax
jb 0x4c8b81
lea ecx, [esp + 0x58]
call fcn.00401540
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005007b7
add esp, 0x74
ret

Function at 0x4c8c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x533098
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
mov esi, ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00401d00
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0
call fcn.00401d00
lea edi, [esp + 0x28]
call fcn.004c8780
lea edi, [esp + 0xc]
call fcn.004c8780
push 0
mov eax, edi
push eax
lea ecx, [esp + 0x30]
call fcn.004065d0
mov ecx, edi
mov esi, eax
call fcn.00401540
lea ecx, [esp + 0x28]
call fcn.00401540
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.005007b7
add esp, 0x48
ret
Function at 0x4c92a0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4c92b3
pop esi
xor eax, eax
pop ebx
ret 8
push edi
call fcn.00503bae
mov dword [eax], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
push esi
push eax
push ecx
call fcn.0050441f
mov edi, eax
add esp, 0xc
cmp edi, esi
jge 0x4c92e8
call fcn.00503bae
cmp dword [eax], 0
je 0x4c92e8
mov ecx, ebx
call fcn.004c8f90
mov eax, edi
pop edi
pop esi
pop ebx
ret 8

Function at 0x4c9340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5345ab
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.00500823
lea ebx, [esi + 0xc]
mov dword [esp + 0x38], 0
mov ecx, ebx
mov dword [esi], vtable.CZipException.0
call fcn.004014d0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x38], 1
mov dword [esi + 0x28], eax
test edi, edi
je 0x4c93bf
lea ecx, [esp + 0x14]
push ecx
call fcn.004c41b0
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
mov byte [esp + 0x3c], 2
call fcn.00402460
lea ecx, [esp + 0x14]
call fcn.004b5cb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 8
Function at 0x4ce2f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x537971
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x20], esi
movzx eax, word [edi + 0x24]
cmp eax, dword [edi + 8]
mov edx, ebp
sete bl
mov cl, bl
mov eax, edi
mov dword [esp + 0x24], ebp
call fcn.004cd990
mov dword [esp + 0x4c], esi
mov dword [esp + 0x20], 1
cmp dword [edi + 0x40], esi
je 0x4ce421
movzx ebx, bl
neg ebx
sbb ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x38], esp
mov ecx, esi
mov dword [esp + 0x38], esi
call fcn.004014d0
push ebp
mov ecx, esi
mov dword [esp + 0x6c], 1
call fcn.00402480
mov ecx, dword [esp + 0x30]
push ecx
push ebx
mov esi, edi
mov byte [esp + 0x70], 0
call fcn.004ceb50
mov ecx, dword [edi + 0x40]
add ecx, 4
call fcn.00401560
push 1
mov ecx, eax
lea esi, [esp + 0x2c]
call fcn.004ccce0
add esp, 4
mov ecx, eax
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, esi
mov ebx, eax
call fcn.004b5cb0
cmp ebx, 0xffffffff
je 0x4ce3e1
test bl, 0x10
mov eax, 0
sete al
lea eax, [eax + eax - 1]
test eax, eax
jne 0x4ce3f2
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], 5
jmp 0x4ce361
mov eax, dword [edi + 0x40]
add eax, 4
push eax
mov ecx, ebp
call fcn.00402460
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
mov ecx, ebp
call fcn.00401560
mov ecx, eax
call fcn.004d03f0
test eax, eax
jne 0x4ce400
mov ecx, ebp
call fcn.00401560
push 0xd9
mov ecx, eax
call fcn.004c4640
int3