joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493c10
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [esp + 4]
lea ecx, [esi + 4]
cmp ax, 9
jne 0x493c40
push 3
push 0x56c4b4
call fcn.0047c4b0
pop esi
add esp, 0x24
ret
test ax, ax
jne 0x493c56
push 3
push 0x56c4bc
call fcn.0047c4b0
pop esi
add esp, 0x24
ret
cmp ax, 6
jne 0x493c6b
push str.ia64
call fcn.0047c5b0
pop esi
add esp, 0x24
ret
push str.Unknown_architecture
call fcn.0047c5b0
pop esi
add esp, 0x24
ret

Function at 0x495b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x543508
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0xc], 0
mov word [esp + 0x10], ax
lea ecx, [esp + 0x10]
movzx eax, word [str._INSTALL_PATH]
neg eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
sbb eax, eax
and eax, 0xd
push eax
push str._INSTALL_PATH
call fcn.0047c4b0
lea eax, [esp + 0x10]
mov dword [esp + 0x38], 0
push eax
push esi
call fcn.004f5460
cmp dword [esp + 0x24], 8
jb 0x495bbe
mov eax, dword [esp + 0x10]
test eax, eax
je 0x495bbe
push eax
call fcn.00507b54
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005072fd
mov esp, ebp
pop ebp
ret

Function at 0x495be0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x543508
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0xc], 0
mov word [esp + 0x10], ax
lea ecx, [esp + 0x10]
movzx eax, word [str._CONTENT_PATH]
neg eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
sbb eax, eax
and eax, 0xd
push eax
push str._CONTENT_PATH
call fcn.0047c4b0
lea eax, [esp + 0x10]
mov dword [esp + 0x38], 0
push eax
push esi
call fcn.004f5460
cmp dword [esp + 0x24], 8
jb 0x495c7e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x495c7e
push eax
call fcn.00507b54
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005072fd
mov esp, ebp
pop ebp
ret
Function at 0x495ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x543508
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0xc], 0
mov word [esp + 0x10], ax
lea ecx, [esp + 0x10]
movzx eax, word [str._REALTIME_SCAN_SD]
neg eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
sbb eax, eax
and eax, 0x11
push eax
push str._REALTIME_SCAN_SD
call fcn.0047c4b0
lea eax, [esp + 0x10]
mov dword [esp + 0x38], 0
push eax
push esi
call fcn.004f5460
cmp dword [esp + 0x24], 8
jb 0x495d3e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x495d3e
push eax
call fcn.00507b54
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005072fd
mov esp, ebp
pop ebp
ret

Function at 0x495d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x543508
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0xc], 0
mov word [esp + 0x10], ax
lea ecx, [esp + 0x10]
movzx eax, word [str._CONFIG_SD]
neg eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
sbb eax, eax
and eax, 0xa
push eax
push str._CONFIG_SD
call fcn.0047c4b0
lea eax, [esp + 0x10]
mov dword [esp + 0x38], 0
push eax
push esi
call fcn.004f5460
cmp dword [esp + 0x24], 8
jb 0x495dfe
mov eax, dword [esp + 0x10]
test eax, eax
je 0x495dfe
push eax
call fcn.00507b54
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005072fd
mov esp, ebp
pop ebp
ret

Function at 0x495e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x543508
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0xc], 0
mov word [esp + 0x10], ax
lea ecx, [esp + 0x10]
movzx eax, word [str._PRODUCT_GUID]
neg eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
sbb eax, eax
and eax, 0xd
push eax
push str._PRODUCT_GUID
call fcn.0047c4b0
lea eax, [esp + 0x10]
mov dword [esp + 0x38], 0
push eax
push esi
call fcn.004f5460
cmp dword [esp + 0x24], 8
jb 0x495ebe
mov eax, dword [esp + 0x10]
test eax, eax
je 0x495ebe
push eax
call fcn.00507b54
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005072fd
mov esp, ebp
pop ebp
ret
Function at 0x497b80
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x543908
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [esp + 8], esi
mov word [esi], ax
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], eax
call fcn.004f4960
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 1
call fcn.004f43f0
mov byte [esp + 0x48], 2
cmp dword [esp + 0x34], 0
je 0x497c24
cmp dword [esp + 0x1c], 0
je 0x497c24
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
jae 0x497c05
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x497c24
lea eax, [esp + 0x24]
cmp esi, eax
je 0x497c24
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0047c390
cmp dword [esp + 0x20], 8
jb 0x497c3c
mov eax, dword [esp + 0xc]
test eax, eax
je 0x497c3c
push eax
call fcn.00507b54
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x38], 8
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
jb 0x497c6b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x497c6b
push eax
call fcn.00507b54
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005072fd
add esp, 0x44
ret
Function at 0x4a1a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x544da7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [edi], 0x573174
mov dword [edi + 0x60], 0x56b700
mov dword [esp + 0x1c], 0
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0xc], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x56b714
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0047c240
mov dword [esp + 0x1c], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x5731a8
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0047da30
lea eax, [esi + 4]
mov dword [esi], 0x5731ac
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x59f51c]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x4a2bd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x544e88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x4a2d25
cmp byte [edi + 0x45], 0
je 0x4a2d25
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4a2c30
xor al, al
jmp 0x4a2d27
mov ecx, 0xf
mov byte [esp + 0x18], 0
xor eax, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 8
cmp ecx, 0x10
jae 0x4a2c59
lea eax, [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
lea esp, [esp]
cmp dword [esp + 0x2c], 0x10
mov ebx, eax
jae 0x4a2c7f
lea ebx, [esp + 0x18]
mov eax, ebx
mov ecx, dword [edi + 0x40]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x2c]
add edx, ebx
mov esi, dword [ecx]
push edx
push eax
lea eax, [edi + 0x48]
push eax
call dword [esi + 0x20]
sub eax, 0
je 0x4a2cad
dec eax
je 0x4a2cb1
sub eax, 2
mov eax, dword [esp + 0x18]
je 0x4a2d0b
xor bl, bl
jmp 0x4a2d0d
mov byte [edi + 0x45], 0
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
mov ecx, eax
jae 0x4a2cc2
lea ecx, [esp + 0x18]
mov esi, dword [esp + 0x14]
sub esi, ecx
je 0x4a2cec
cmp dword [esp + 0x2c], 0x10
jae 0x4a2cd5
lea eax, [esp + 0x18]
push dword [edi + 0x50]
push esi
push 1
push eax
call fcn.00509e91
add esp, 0x10
cmp esi, eax
mov eax, dword [esp + 0x18]
jne 0x4a2ca9
cmp byte [edi + 0x45], 0
je 0x4a2d0b
test esi, esi
jne 0x4a2c70
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0048e6c0
jmp 0x4a2c65
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x4a2d21
test eax, eax
je 0x4a2d21
push eax
call fcn.00507b54
add esp, 4
mov al, bl
jmp 0x4a2d27
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005072fd
mov esp, ebp
pop ebp
ret
Function at 0x4a3790
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x544f48
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
push 2
push 0x573210
lea ecx, [esp + 0x284]
mov dword [esp + 0x27c], 0
xor esi, esi
call fcn.004824e0
cmp dword [esp + 0x290], 8
mov eax, dword [esp + 0x27c]
jae 0x4a3802
lea eax, [esp + 0x27c]
push 0x104
push eax
lea ecx, [esp + 0x18]
call fcn.00483c80
lea ecx, [esp + 0x18]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a3831
push eax
call fcn.00507b54
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x18]
inc esi
push eax
push edi
call ebx
test eax, eax
jne 0x4a3837
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 2
setbe bl
cmp dword [esp + 0x290], 8
jb 0x4a386f
mov eax, dword [esp + 0x27c]
test eax, eax
je 0x4a386f
push eax
call fcn.00507b54
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.005072fd
add esp, 0x268
ret

Function at 0x4a41a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54513b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x596c60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x45], 0
mov esi, 4
mov dword [ebp - 4], 0
call fcn.004f43f0
cmp dword [ebp - 0x1c], 0
je 0x4a4204
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4a41fb
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
cmp esi, 4
sete bl
cmp dword [ebp - 0x18], 8
jb 0x4a4308
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4a4308
push eax
call fcn.00507b54
add esp, 4
jmp 0x4a4308
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005072fd
mov esp, ebp
pop ebp
ret
Function at 0x4a9cb0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [esp + 0x10], 0x22c
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
test esi, esi
je 0x4a9d1a
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov edi, edi
cmp ebp, dword [esp + 0x18]
jne 0x4a9d0e
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x4a9d1a
lea eax, [esp + 0x10]
push eax
push ebx
call esi
test eax, eax
jne 0x4a9d00
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005072fd
add esp, 0x230
ret
Function at 0x4b87c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x54170b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x56b67c
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x18], eax
call fcn.00493c80
call fcn.00493f60
call fcn.004945a0
mov ecx, esi
call fcn.00493c10
mov dword [esi], 0x57574c
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4b8920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x547a7e
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], 0x56b67c
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 8], esi
mov word [esi + 4], ax
mov dword [esp + 0x148], eax
call fcn.00493c80
call fcn.00493f60
call fcn.004945a0
mov ecx, esi
call fcn.00493c10
xor eax, eax
mov dword [esi], 0x575710
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x88], eax
xor eax, eax
push 0x574cb8
push str.kernel32
mov word [esi + 0x88], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b8a98
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [esp + 8], 0
je 0x4b8a8f
mov eax, 1
jmp 0x4b8a91
xor eax, eax
mov word [esi + 0x88], ax
push 0x11c
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0050c510
add esp, 0xc
mov dword [esp + 0x1c], 0x11c
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4b8add
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
mov dword [esi + 0x7c], ecx
movzx ecx, al
mov dword [esi + 0x80], ecx
jmp 0x4b8afc
mov eax, dword [esp + 0x20]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x80], eax
movzx eax, word [esp + 0x130]
mov dword [esi + 0x84], eax
mov eax, esi
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.005072fd
add esp, 0x144
ret
Function at 0x4b9750
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x547afb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x596c60]
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], 0x56b67c
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x14], eax
call fcn.00493c80
call fcn.00493f60
call fcn.004945a0
mov ecx, esi
call fcn.00493c10
mov dword [esi], 0x575738
xor eax, eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x48], 7
mov dword [esi + 0x44], 0
mov word [esi + 0x34], ax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 7
mov word [esi + 0x4c], ax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 7
mov word [esi + 0x64], ax
mov dword [esi + 0x7c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4cae60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x54170b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x56b67c
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x18], eax
call fcn.00493c80
call fcn.00493f60
call fcn.004945a0
mov ecx, esi
call fcn.00493c10
mov dword [esi], 0x575724
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 7
mov word [esi + 0x4c], ax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 7
mov word [esi + 0x64], ax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], 7
mov word [esi + 0x7c], ax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x4caf30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x54170b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x56b67c
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x18], eax
call fcn.00493c80
call fcn.00493f60
call fcn.004945a0
mov ecx, esi
call fcn.00493c10
mov dword [esi], 0x5756fc
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 7
mov word [esi + 0x4c], ax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 7
mov word [esi + 0x64], ax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x4cb3c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x54170b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x56b67c
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x18], eax
call fcn.00493c80
call fcn.00493f60
call fcn.004945a0
mov ecx, esi
call fcn.00493c10
mov dword [esi], 0x575774
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 7
mov word [esi + 0x4c], ax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4cb4d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x54170b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x56b67c
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x18], eax
call fcn.00493c80
call fcn.00493f60
call fcn.004945a0
mov ecx, esi
call fcn.00493c10
mov dword [esi], 0x575760
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 7
mov word [esi + 0x4c], ax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 7
mov word [esi + 0x64], ax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], 7
mov word [esi + 0x7c], ax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], 7
mov word [esi + 0x94], ax
mov byte [esi + 0xac], al
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4d0fe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x54170b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x596c60]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x56b67c
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x18], eax
call fcn.00493c80
call fcn.00493f60
call fcn.004945a0
mov ecx, esi
call fcn.00493c10
mov dword [esi], 0x575ff4
mov eax, esi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret