joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1020c792
Capabilities:
Encode data using xor

Disassembly:
mov dl, dl
adc dh, byte cs:[edx]
pop edi
mov eax, dword [0x2163aa0b]
fistp word [ecx - 0x2a]
movsd dword es:[edi], dword [esi]
out 0x7b, eax
movsd dword es:[edi], dword [esi]
invalid
shl byte [eax], cl
sub eax, 0x12d28325
adc dword [eax], edi
bound esp, qword [ecx + 0x604fb90b]
lodsd eax, dword [esi]
push 0xbd28834
loopne 0x1020c6a7
test dl, dl
and dword [edx + 0x41], edx
out dx, eax
sub al, 0x3c
iretd
push ds
arpl word [ecx + 0x631e340b], sp
mov eax, dword [0x63788b32]
mov eax, dword [0x4f03e82e]
add byte [edx - 0x3820e185], bh
mov ch, 0x79
mov edi, 0xdf2102c9
inc eax
or eax, 0xd0a8
add byte [eax], al
loop 0x1020c6e2
invalid
and al, 4
mov dword [esp], edx
push eax
mov eax, dword [esp + 4]
pushfd
push edx
push eax
mov eax, dword [esp + 0xc]
ret 0x10
push 0x42a94ff4
push ecx
push edx
call fcn.102475fd
invalid

Function at 0x10229490
Capabilities:
Encode data using xor

Disassembly:
or al, 0x34
push ds
arpl word [ecx + 0x601cf104], sp
mov eax, dword [0x601cf133]
mov eax, dword [0x601cf13a]
mov eax, dword [0x5ec11112]
mov eax, dword [0x631e3414]
mov eax, dword [0x5ec11123]
arpl word [ecx + 0x5ec11123], sp
mov eax, dword [0x63788b16]
mov eax, dword [0x6d03e835]
add byte [edx + 0x69c0b28b], ch
pop ds
mov dl, dl
push ss
xor eax, 0x6d03e8
stosb byte es:[edi], al
mov esi, dword [edx - 0x77e09640]
rcl byte [esi], cl
aad 0xd
adc edx, 0x23
aad 0xd
adc edx, 4
push 0x14d28834
imul ebx, dword [edi], 0x6835d288
xor al, 0x88
rcl byte [edx], cl
aad 0xd
adc edx, 0x3a
in eax, 0x94
xchg edx, edx
xor edx, ebx
out dx, al
cmp eax, ebx
mov edx, 0xa3df1e7b
call 0xdc05a1de
and edi, ebx
sbb eax, dword [eax + 0x30]
outsd dx, dword [esi]
add byte [eax], al
add byte [eax], al
jp 0x10229402
invalid
and al, 4
push ebp
sub dword [ecx], eax
add byte [edi + 0x52], dh
push ebx
push eax
call fcn.1025da71
je 0x102294de
push edi
jmp fcn.10244f33
add dword [eax], eax
loopne 0x1022941e
invalid
lea esp, [esp + 4]
and al, 4
push ecx
push edx
push ebx
call fcn.1021f365
jbe 0x1022942a
lds ebx, [edi - 0x5f]
cmp esi, dword [edx + 0x5c]
aam 0xb0
pop esi
jo 0x10229430
rcl byte [edi], cl
push ecx
out dx, al
and bl, bh
pop esp
call 0xdc0640dc
and edi, ebx
sar dword [edi], 1
loop 0x1022948d
add byte [eax], al
add byte [eax], al
jae 0x1022947a
test eax, 0x5015a15e
add byte [edi + 0x1e3427d2], 0x63
mov eax, dword [0x5f9e972b]
mov eax, dword [0x1dd1c827]
fbstp tbyte [eax + ebp*8]
ret
hlt
Function at 0x435e10
Capabilities:
Copy file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
cmp dword [0x4e0bc4], 0x516
jne 0x435e35
push 0
lea eax, [ebp - 0x530]
push eax
push 0
call sub.KERNEL32.dll_VerLanguageNameA
mov eax, dword [ebp + 0xc]
shr eax, 3
test eax, eax
je 0x435edb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov dword [ebp + 0xc], eax
jmp 0x435e60
cmp dword [0x4e0bc4], 0x29
jne 0x435e81
push 0
push 0
push 0
push 0
push 0x401380
push 0x4013b0
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
cmp dword [0x4e0bc4], 0x1c
jne 0x435ec6
push 0
push 0
call edi
call ebx
push 0
push 0
push 0
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.00435cc0
add esi, 8
dec dword [ebp + 0xc]
jne 0x435e60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x435ef0
Capabilities:
Copy file
Get disk information
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x99c
cmp dword [0x4e0bc4], 0x37
jne 0x436024
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0x4013f4
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x14]
mov word [ebp - 0x24], dx
push ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
push edx
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0
call dword [sym.imp.KERNEL32.dll_LocalHandle]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
push 0
push 0
push 0
lea ecx, [ebp - 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea edx, [ebp - 0x99c]
push edx
push 0x401400
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0x401444
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
push 0x401460
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 4], 0
mov eax, dword [0x4e0bc8]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dl, byte [ecx + eax]
mov ecx, dword [0x4dd1c4]
mov byte [ecx + eax], dl
mov esp, ebp
pop ebp
ret 4
Function at 0x436150
Capabilities:
Create pipe
Get common file path
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1694
call fcn.00436e10
mov dword [ebp - 4], 0
jmp 0x43616f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x332beaf6
jge 0x436206
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4e0bc4], 0x16
jne 0x4361ae
lea ecx, [ebp - 0x58]
push ecx
push 0
lea edx, [ebp - 0x458]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4e0bc4], 0x9e
jne 0x4361f6
push 0
lea eax, [ebp - 0xa78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
push 0
lea ecx, [ebp - 0xe78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp dword [ebp - 4], 0x3775ee
jle 0x436201
jmp 0x436206
jmp 0x436166
push section..data
mov edx, dword [0x4e0bc4]
push edx
mov eax, dword [0x4dd1c4]
push eax
call fcn.00435e10
mov dword [ebp - 0xe7c], 0
jmp 0x436238
mov ecx, dword [ebp - 0xe7c]
add ecx, 1
mov dword [ebp - 0xe7c], ecx
cmp dword [ebp - 0xe7c], 0x3e79e
jge 0x436276
cmp dword [0x4e0bc4], 0x10
jne 0x436263
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp dword [ebp - 0xe7c], 0x1e673
jne 0x436274
call fcn.00436070
jmp 0x436229
mov dword [ebp - 0xe80], 0
jmp 0x436291
mov edx, dword [ebp - 0xe80]
add edx, 1
mov dword [ebp - 0xe80], edx
cmp dword [ebp - 0xe80], 0xdd9a7
jge 0x4362e1
cmp dword [0x4e0bc4], 0xc01
jne 0x4362df
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSize]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x436282
jmp dword [0x4dd1c4]
Function at 0x4371f0
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x437213
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x43721a
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x437231
mov edx, dword [ebp - 4]
push edx
call fcn.0043d630
add esp, 4
or eax, 0xffffffff
jmp 0x437233
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x441c20
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x463510]
jne 0x441c2a
repz ret
jmp fcn.0044bdc0
Function at 0x70001ed0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov ecx, esp
mov dword [ecx], eax
call fcn.70001a60
sub esp, 4
xor ecx, ecx
add ecx, 0x18
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, word [ecx + 0x14]
add eax, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
movzx ecx, word [ecx + 6]
cmp eax, ecx
jge 0x70001f6b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
add ecx, dword [edx + 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.70001110
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
add eax, 0x28
mov dword [ebp - 0x24], eax
jmp 0x70001f18
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x54]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov esi, esp
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
mov dword [esi], edx
call fcn.70001110
mov dword [ebp - 0x2c], eax
add esp, 0x34
pop esi
pop ebp
ret 8
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x423570
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x423592
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x423599
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x423588
mov eax, 1
add ebx, ebx
jne 0x4235ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4235a0
jne 0x4235bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4235a0
xor ecx, ecx
sub eax, 3
jb 0x4235d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x423642
mov ebp, eax
add ebx, ebx
jne 0x4235db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4235e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42360c
inc ecx
add ebx, ebx
jne 0x4235f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4235ed
jne 0x423609
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4235ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42362c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42361d
jmp 0x42358e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42362c
add edi, ecx
jmp 0x42358e
pop esi
mov edi, esi
mov ecx, 0x4e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42364a
cmp byte [edi], 0x11
jne 0x42364a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x42364f
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x4236c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25954]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25a08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42367c
mov ecx, edi
jns 0x4236ab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25a0c]
or eax, eax
je 0x4236c1
mov dword [ebx], eax
add ebx, 4
jmp 0x423699
call dword [esi + 0x25a10]
popal
jmp 0x412ffd
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x412590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4125aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4125b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4125a0
mov eax, 1
add ebx, ebx
jne 0x4125c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4125b8
jne 0x4125d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4125b8
xor ecx, ecx
sub eax, 3
jb 0x4125e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41265a
mov ebp, eax
add ebx, ebx
jne 0x4125f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412624
inc ecx
add ebx, ebx
jne 0x412610
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412605
jne 0x412621
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412605
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412644
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412635
jmp 0x4125a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412644
add edi, ecx
jmp 0x4125a6
pop esi
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4126ac
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12708]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x127c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412661
mov ecx, edi
jns 0x412690
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x127cc]
or eax, eax
je 0x4126a6
mov dword [ebx], eax
add ebx, 4
jmp 0x41267e
call dword [esi + 0x127c8]
mov ebp, dword [esi + 0x127d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4126e0
sub esp, 0xffffff80
jmp 0x403ac6
Function at 0x401dc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
mov eax, dword [0x991fc0]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x84]
push edi
mov edi, dword [esp + 0x84]
push 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
call fcn.00461e40
push 0x461e00
push 0x4613e0
push 0
mov dword [esp + 0x28], eax
call fcn.00462350
mov dword [esp + 0x2c], eax
lea eax, [ebp + 0x18]
push edi
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], esi
call fcn.004056d0
push dword [ebp + 0x178]
push str.inputs:__u_n
push edi
call fcn.00401010
push dword [ebp + 0x180]
push str.outputs:__u_n
push edi
call fcn.00401010
push dword [ebp + 0x17c]
push str.uniforms:__u_n
push edi
call fcn.00401010
mov eax, dword [ebp + 0x188]
add esp, 0x3c
test eax, eax
je 0x401e90
push eax
push str.scratch:__u_n
push edi
call fcn.00401010
add esp, 0xc
mov eax, dword [ebp + 0x190]
test eax, eax
je 0x401ea9
push eax
push str.constants:__u_n
push edi
call fcn.00401010
add esp, 0xc
mov edi, 0x12
push ebx
mov ebx, 1
mov dword [esp + 0x10], edi
nop dword [eax + eax]
cmp ebx, 0x8000
je 0x401f99
cmp ebx, 4
je 0x401f1b
cmp ebx, 8
je 0x401f1b
mov esi, dword [ebp + 4]
cmp dword [esi], 0
je 0x401f99
test esi, esi
je 0x401f99
nop word [eax + eax]
mov eax, dword [esi + 0x10]
and eax, ebx
test eax, 0x3ffff
je 0x401f0a
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00406850
add esp, 8
mov esi, dword [esi]
cmp dword [esi], 0
je 0x401f99
test esi, esi
jne 0x401ef0
jmp 0x401f99
xor edi, edi
nop dword [eax]
push 0x40
lea eax, [esp + 0x40]
push 0
push eax
call fcn.004f0670
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [eax], 0
je 0x401f6a
test eax, eax
je 0x401f6a
nop dword [eax]
mov ecx, dword [eax + 0x10]
and ecx, ebx
test ecx, 0x3ffff
je 0x401f5f
cmp dword [eax + 0x2c], edi
jne 0x401f5f
mov ecx, dword [eax + 0x14]
shr ecx, 3
and ecx, 3
mov dword [esp + ecx*4 + 0x3c], eax
mov eax, dword [eax]
cmp dword [eax], 0
je 0x401f6a
test eax, eax
jne 0x401f40
xor esi, esi
nop dword [eax]
mov eax, dword [esp + esi*4 + 0x3c]
test eax, eax
je 0x401f86
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.00406850
add esp, 8
inc esi
cmp esi, 0x10
jb 0x401f70
inc edi
cmp edi, 0x80
jb 0x401f20
mov edi, dword [esp + 0x10]
rol ebx, 1
sub edi, 1
mov dword [esp + 0x10], edi
jne 0x401ec0
mov esi, dword [ebp + 0x168]
xor eax, eax
pop ebx
cmp dword [esi], eax
cmove esi, eax
test esi, esi
je 0x401fd9
nop word [eax + eax]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00403750
mov esi, dword [esi]
add esp, 8
cmp dword [esi], 0
je 0x401fd9
test esi, esi
jne 0x401fc0
push 0
push dword [esp + 0x1c]
call fcn.00461670
push 0
push dword [esp + 0x28]
call fcn.004623e0
mov ecx, dword [esp + 0x88]
add esp, 0x10
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004eef15
add esp, 0x70
ret
Function at 0x44cf30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
movzx eax, byte [eax + 0x44d097]
push esi
push edi
jmp dword [eax*4 + 0x44d080]

Function at 0x461010
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push edi
mov edi, dword [esp + 0x10]
mov ebx, dword [edi]
push ebx
call fcn.004ff2e7
mov ebp, eax
add esp, 4
test ebp, ebp
jle 0x46105a
lea ecx, [ebp + 1]
push esi
push ecx
call fcn.004f7810
push 0
push 0
push ebx
mov esi, eax
call fcn.004fec55
push ebx
push ebp
push 1
push esi
call fcn.004fe829
mov byte [esi + ebp], 0
add esp, 0x20
mov eax, dword [edi + 4]
mov dword [eax], esi
mov eax, dword [edi + 8]
pop esi
mov dword [eax], ebp
lea eax, [edi + 0xc]
push eax
call fcn.004ff317
push ebx
call fcn.004f3777
add esp, 8
pop edi
pop ebp
pop ebx
ret

Function at 0x461070
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x991fc0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
mov esi, dword [esp + 0x114]
lea eax, [esp + 8]
push eax
push 0x104
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x102
ja 0x461123
push edi
lea edi, [esi + 0xc]
push edi
push 0
push 0x53976c
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x461109
push 0x539778
push edi
call fcn.004f385e
mov ecx, eax
add esp, 8
test ecx, ecx
setne al
test ecx, ecx
je 0x4610f1
mov dword [esi], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x120]
mov dword [esi + 8], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004eef15
add esp, 0x108
ret
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004eef15
add esp, 0x108
ret
mov ecx, dword [esp + 0x10c]
mov al, bl
pop esi
pop ebx
xor ecx, esp
call fcn.004eef15
add esp, 0x108
ret
Function at 0x465090
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp byte [0x992b98], 0
jne 0x4650ba
push 0x992b98
push 0x464f00
push 0x992b9c
call fcn.00464ea0
add esp, 0xc
mov byte [0x992b98], 1
push 0x992ba0
call fcn.0046af30
add esp, 4
cmp byte [0x992b94], 0
je 0x465105
mov ecx, dword [0x9955f8]
mov eax, dword fs:[0x2c]
push 0x7fff
mov eax, dword [eax + ecx*4]
lea esi, [eax + 0x18]
push esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
xor ecx, ecx
cmp eax, 0x7ffd
cmova esi, ecx
jmp 0x465190
mov eax, dword [0x992bb8]
test eax, eax
jne 0x46513c
push 0x461e00
push 0x4613e0
push eax
call fcn.00461530
add esp, 0xc
mov dword [0x992bb8], eax
test eax, eax
je 0x465190
push 0x464fc0
call fcn.004f01aa
mov eax, dword [0x992bb8]
add esp, 4
push edi
mov edi, dword [esp + 0xc]
push edi
push eax
call fcn.00461b20
add esp, 8
test eax, eax
je 0x465154
mov esi, dword [eax + 8]
jmp 0x46518f
push ebx
push edi
push dword [0x992bb8]
call fcn.00460860
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46518e
push edi
call fcn.00465050
push eax
push dword [0x992bb8]
call fcn.00460860
mov esi, eax
push esi
push ebx
push dword [0x992bb8]
call fcn.004617a0
add esp, 0x18
pop ebx
pop edi
cmp byte [0x992b98], 0
jne 0x4651b7
push 0x992b98
push 0x464f00
push 0x992b9c
call fcn.00464ea0
add esp, 0xc
mov byte [0x992b98], 1
push 0x992ba0
call fcn.0046af40
add esp, 4
mov eax, esi
pop esi
ret

Function at 0x4651d0
Capabilities:
Print debug messages

Disassembly:
cmp dword [0x992b90], 0
jne 0x4651e8
push 2
call fcn.004f34e7
add esp, 4
mov dword [0x992b90], eax
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x465231
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x465231
push 1
call fcn.004f34e7
push eax
call fcn.004f6fc8
push dword [0x992b90]
push esi
call fcn.004f736f
push dword [0x992b90]
call fcn.004f6fc8
add esp, 0x14
pop esi
ret
push 2
call fcn.004f34e7
mov ecx, dword [0x992b90]
add esp, 4
cmp ecx, eax
je 0x46525a
push ecx
push esi
call fcn.004f736f
push dword [0x992b90]
call fcn.004f6fc8
add esp, 0xc
pop esi
ret