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

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xda0d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xda0d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xda0d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xda0d94
push eax
push esi
call fcn.00da320b
add esp, 8
pop esi
ret 0x10

Function at 0xda0da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xda0e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xda0e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xdb9320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00da2dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xda0dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xda0e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xda0ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xda0eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xdb9320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00da2dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xda0eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xda0e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xda1000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xda1131
push esi
call fcn.00da4145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00d93080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xda1131
push 0
push ebp
call fcn.00d933a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00d93260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xda108b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00d932f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xda1121
push 0xdb9918
push edi
call fcn.00da23f0
push eax
push ebx
push esi
call fcn.00da0f60
push 0xdb98f8
push edi
call fcn.00da23f0
push eax
push ebx
push esi
call fcn.00da0f60
push 0xdb98d8
push edi
call fcn.00da23f0
push eax
push ebx
push esi
call fcn.00da0f60
push 0xdb98c0
push edi
call fcn.00da23f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00da0f60
push 0xdb98a0
push edi
call fcn.00da23f0
push eax
push ebx
push esi
call fcn.00da0f60
push 0xdb9888
push edi
call fcn.00da23f0
push eax
push ebx
push esi
call fcn.00da0f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xda21b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00da2140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00da2140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00da2140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00da2140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xda2bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xda2c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xdb487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xda2c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xda2c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x10001050
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_VirtualAllocExNuma
mov esi, eax
test esi, esi
je 0x1000107e
mov dword [0x1001105c], 0
mov eax, dword [esp + 0xc]
push edi
push eax
push esi
call fcn.10002410
add esp, 0xc
pop edi
mov eax, esi
pop esi
ret

Function at 0x10001150
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
mov dl, byte [eax + 1]
push ebp
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jle 0x10001216
push ebx
push esi
push edi
movzx esi, cl
movzx edi, dl
lea eax, [esi + 1]
cdq
mov ecx, 0x335
idiv ecx
mov bl, dl
mov edx, dword [0x1001215c]
movzx esi, bl
movzx eax, byte [esi + edx]
lea ecx, [esi + edx]
add eax, edi
cdq
mov edi, 0x335
idiv edi
mov eax, dword [0x1001215c]
movzx edi, dl
add eax, edi
mov byte [esp + 0x13], dl
call fcn.10001040
mov ecx, dword [0x1001215c]
movzx eax, byte [edi + ecx]
movzx ecx, byte [esi + ecx]
add eax, ecx
cdq
mov ecx, 0x335
idiv ecx
push 0
push 0
mov byte [esp + 0x1a], dl
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x12]
mov edx, ebp
sub edx, dword [0x1001105c]
inc ebp
add eax, edx
mov edx, dword [0x1001215c]
mov cl, byte [ecx + edx]
xor byte [eax], cl
cmp ebp, dword [esp + 0x1c]
jl 0x10001170
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x13]
pop edi
pop esi
mov byte [eax], bl
pop ebx
mov byte [eax + 1], dl
pop ebp
pop ecx
ret
mov byte [eax], cl
mov byte [eax + 1], dl
pop ebp
pop ecx
ret
Function at 0x10002775
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100110e0]
jne 0x1000277f
repz ret
jmp fcn.10003cbe

Function at 0x100095ed
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10004a53
and dword [ebp - 4], 0
cmp dword [0x10012b5c], 0
mov ebx, eax
jne 0x1000969e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000974f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000f178
push edi
call esi
test eax, eax
je 0x1000974f
push eax
call fcn.100049e1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10012b5c], eax
call esi
push eax
call fcn.100049e1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10012b60], eax
call esi
push eax
call fcn.100049e1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10012b64], eax
call esi
push eax
call fcn.100049e1
pop ecx
mov dword [0x10012b6c], eax
test eax, eax
je 0x1000969e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100049e1
pop ecx
mov dword [0x10012b68], eax
mov eax, dword [0x10012b68]
cmp eax, ebx
je 0x100096f6
cmp dword [0x10012b6c], ebx
je 0x100096f6
push eax
call fcn.10004a5c
push dword [0x10012b6c]
mov esi, eax
call fcn.10004a5c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100096f6
test edi, edi
je 0x100096f6
call esi
test eax, eax
je 0x100096ed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100096ed
test byte [ebp - 0xc], 1
jne 0x100096f6
or dword [ebp + 0x10], 0x200000
jmp 0x1000972f
mov eax, dword [0x10012b60]
cmp eax, ebx
je 0x1000972f
push eax
call fcn.10004a5c
pop ecx
test eax, eax
je 0x1000972f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000972f
mov eax, dword [0x10012b64]
cmp eax, ebx
je 0x1000972f
push eax
call fcn.10004a5c
pop ecx
test eax, eax
je 0x1000972f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10012b5c]
call fcn.10004a5c
pop ecx
test eax, eax
je 0x1000974f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10009751
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x48]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x78]
add ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
add edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x4011ba
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 0x18]
jae 0x40122b
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x38], 0
push 0xd
push str.GetProcAddres
lea ecx, [ebp - 0x38]
push ecx
call fcn.004010c0
add esp, 0xc
mov byte [ebp - 0x2b], 0x73
mov byte [ebp - 0x2a], 0
push 0xe
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00401060
add esp, 0xc
test eax, eax
jne 0x401220
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x40]
movzx eax, word [edx + ecx*2]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4]
add eax, dword [ebp + 8]
jmp 0x40122d
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x4011b1
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
xor ecx, ecx
and eax, 0xfffff000
and ecx, 0xf
mov dword [ebp + 8], eax
mov edx, 1
test edx, edx
je 0x40129c
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x40128f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx], 0x4550
jne 0x40128f
mov eax, dword [ebp - 8]
jmp 0x40129c
mov eax, dword [ebp + 8]
sub eax, 0x1000
mov dword [ebp + 8], eax
jmp 0x401256
mov esp, ebp
pop ebp
ret
Function at 0x101dc060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [0x101dc0a2]
lea ecx, [0x101dc0aa]
sub ecx, eax
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x101dc0c6
mov edi, dword [ebp + 8]
lea esi, [0x101dc0a2]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
jmp 0x101dc0c1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101dc0d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x65
mov al, 0x6d
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov cl, 0x6a
mov al, 0x66
push esi
mov dl, 0x75
push edi
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x16], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xb], dl
mov byte [ebp - 0x17], dl
lea edi, [ebp - 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], 0x2f
mov byte [ebp - 3], 0
xor edx, edx
mov byte [ebp - 0x20], 0x45
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x56
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x15], 0x43
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x12], 0x62
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0
je 0x101dc176
mov cl, byte [ebp + edx - 0xc]
lea edi, [ebp - 0xc]
dec cl
xor eax, eax
mov byte [ebp + edx - 0xc], cl
or ecx, 0xffffffff
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x101dc15a
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x101dc18c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edi, [ebp - 0x20]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x101dc1b9
mov al, byte [ebp + edx - 0x20]
lea edi, [ebp - 0x20]
dec al
or ecx, 0xffffffff
mov byte [ebp + edx - 0x20], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x101dc19d
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x101dc1d1
push eax
call fcn.101dc060
add esp, 4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x101dc640
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push edi
call fcn.101e14d0
mov ebx, dword [0x10295220]
mov ecx, dword [0x101e6094]
mov eax, ebx
sub eax, ecx
jne 0x101dc742
mov edi, dword [0x101e6986]
test edi, edi
je 0x101dc742
cmp word [ebx], 0x5a4d
je 0x101dc691
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.101ddc70
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
je 0x101dc6b4
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.101ddc70
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov cx, word [eax + 6]
xor edx, edx
mov dx, word [eax + 0x14]
test cx, cx
lea eax, [edx + eax + 0x18]
jbe 0x101dc6d7
and ecx, 0xffff
mov edx, eax
add eax, 0x28
dec ecx
jne 0x101dc6cd
jmp 0x101dc6da
mov edx, dword [ebp - 4]
push esi
mov esi, dword [edx + 0xc]
push 0x10
lea eax, [ebp - 0xf4]
push 0x101e6976
push eax
add esi, ebx
call fcn.101e48d0
push edi
lea ecx, [ebp - 0xf4]
push esi
push ecx
call fcn.101e4b30
lea edx, [ebp - 0xf4]
lea eax, [ebp - 0x24]
push edx
push eax
call fcn.101e4b50
push 0x20
lea ecx, [ebp - 0x24]
push 0x101e6956
push ecx
call fcn.101dd800
add esp, 0x2c
test eax, eax
pop esi
je 0x101dc742
push 0xa36
push 0
push 0x101e6070
call fcn.101dd7b0
add esp, 0xc
call fcn.101ddc70
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101e14f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x3ff]
mov byte [ebp - 0x400], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1ff]
mov byte [ebp - 0x200], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x101e1541
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x400]
push 0x200
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x400]
push 0x5c
push edx
call fcn.101dd840
add esp, 8
test eax, eax
jne 0x101e1574
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov byte [eax], 0
lea eax, [ebp - 0x200]
push 0x200
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x200]
push 0x5c
push ecx
call fcn.101dd840
mov esi, eax
add esp, 8
test esi, esi
jne 0x101e15ab
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x200]
push 0x101e780c
push edx
mov byte [esi], 0
call fcn.101dd940
lea eax, [ebp - 0x400]
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.101dd980
add esp, 0x10
test eax, eax
jne 0x101e15df
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x200]
push 0x101e7800
push edx
mov byte [esi], 0
call fcn.101dd940
lea eax, [ebp - 0x400]
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.101dd980
add esp, 0x10
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5c223947
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x515e576e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..pdata
nop
nop
mov ebx, 0x40de38
mov ecx, 0x594c2903
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x236b3965
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401120
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push 0
push 0
mov dword [esp + 0xc], 0
push dword [esi]
call fcn.00409f16
push dword [esi]
lea eax, [esp + 0x1c]
push 2
push 1
push eax
call fcn.00409b2b
mov ax, word [esp + 0x28]
add esp, 0x1c
cmp al, 0x4d
jne 0x4011f2
cmp ah, 0x5a
jne 0x4011f2
push 0
push 0x3c
push dword [esi]
call fcn.00409f16
push dword [esi]
lea eax, [esp + 0x14]
push 1
push 4
push eax
call fcn.00409b2b
mov eax, dword [esp + 0x20]
push 0
add eax, 0x18
push eax
push dword [esi]
call fcn.00409f16
push dword [esi]
lea eax, [esp + 0x38]
push 1
push 2
push eax
call fcn.00409b2b
mov ax, word [esp + 0x44]
add esp, 0x38
cmp al, 0xb
jne 0x4011f2
cmp ah, 1
jne 0x4011b6
mov ecx, 0x98
jmp 0x4011c0
cmp ah, 2
jne 0x4011f2
mov ecx, 0xa8
mov eax, dword [esp + 4]
push 0
add eax, ecx
push eax
push dword [esi]
call fcn.00409f16
push dword [esi]
lea eax, [esp + 0x14]
push 1
push 4
push eax
call fcn.00409b2b
mov eax, dword [esp + 0x20]
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmove eax, ecx
pop esi
pop ecx
ret
or eax, 0xffffffff
pop esi
pop ecx
ret

Function at 0x401220
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi], 0
jne 0x401252
lea eax, [edi + 0x68]
push 0x420210
push eax
call fcn.004028c0
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x401252
push str.Cannot_open_archive_file_n
call fcn.00401980
add esp, 4
xor eax, eax
pop edi
ret
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push 0
push dword [ebp + 4]
call sub.WS2_32.dll_ntohl
add eax, dword [edi + 4]
push eax
push dword [edi]
call fcn.00409f16
add esp, 0xc
push dword [ebp + 8]
call sub.WS2_32.dll_ntohl
push eax
call fcn.00409808
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40129a
push str.Could_not_allocate_read_buffer_n
call fcn.00401980
add esp, 4
xor eax, eax
pop ebp
pop ebx
pop edi
ret
push dword [edi]
push 1
push dword [ebp + 8]
call sub.WS2_32.dll_ntohl
push eax
push ebx
call fcn.00409b2b
add esp, 0x10
cmp eax, 1
jae 0x4012ce
push str.Could_not_read_from_file_n
call fcn.00401980
push ebx
call fcn.00409803
add esp, 8
xor eax, eax
pop ebp
pop ebx
pop edi
ret
cmp byte [ebp + 0x10], 1
jne 0x401305
push esi
push ebp
push ebx
call fcn.00401030
push ebx
mov esi, eax
call fcn.00409803
add esp, 0xc
mov ebx, esi
test esi, esi
pop esi
jne 0x401305
lea eax, [ebp + 0x12]
push eax
push str.Error_decompressing__s_n
call fcn.00401980
add esp, 8
xor eax, eax
pop ebp
pop ebx
pop edi
ret
mov eax, dword [edi]
test eax, eax
je 0x40131a
push eax
call fcn.00409889
add esp, 4
mov dword [edi], 0
pop ebp
mov eax, ebx
pop ebx
pop edi
ret