joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d9d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push esi
push eax
mov esi, 6
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x41da1f
push str.GetVersionEx__tOsVersion____0
push str.Error______s
push 0x25d
push str.Y:_services_ucminstallationgluehpzgluehpzglue_utils.cpp
push eax
push 0x42f278
call fcn.004016d0
add esp, 0x18
mov eax, esi
pop esi
add esp, 0x94
ret
mov ecx, dword [esp + 0x14]
mov eax, ecx
dec eax
je 0x41dad4
dec eax
je 0x41da6e
cmp ecx, 1
je 0x41db06
cmp ecx, 2
je 0x41db06
push str._tOsVersion.dwPlatformId___VER_PLATFORM_WIN32_WINDOWS____tOsVersion.dwPlatformId___VER_PLATFORM_WIN32_NT_
push str.Error______s
push 0x27f
push str.Y:_services_ucminstallationgluehpzgluehpzglue_utils.cpp
push 0
push 0x42f278
call fcn.004016d0
add esp, 0x18
mov eax, esi
pop esi
add esp, 0x94
ret
mov eax, dword [esp + 8]
cmp eax, 4
jne 0x41da86
mov esi, 3
mov eax, esi
pop esi
add esp, 0x94
ret
jbe 0x41daa2
mov edx, dword [esp + 0xc]
xor ecx, ecx
test edx, edx
setne cl
add ecx, 4
mov esi, ecx
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 4
jae 0x41db06
push str.tOsVersion.dwMajorVersion___4
push str.Error______s
push 0x27b
push str.Y:_services_ucminstallationgluehpzgluehpzglue_utils.cpp
push 0
push 0x42f278
call fcn.004016d0
add esp, 0x18
mov eax, esi
pop esi
add esp, 0x94
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41db04
cmp eax, 0xa
je 0x41daf5
cmp eax, 0x5a
jne 0x41db06
mov esi, 2
mov eax, esi
pop esi
add esp, 0x94
ret
mov esi, 1
mov eax, esi
pop esi
add esp, 0x94
ret
xor esi, esi
mov eax, esi
pop esi
add esp, 0x94
ret
Function at 0x4265bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42e648
cmp edx, dword [eax]
je 0x4265df
add eax, 8
inc ecx
cmp eax, 0x42e6d8
jl 0x4265d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42e648]
jne 0x42670d
mov eax, dword [0x43003c]
cmp eax, 1
je 0x4266e7
test eax, eax
jne 0x426610
cmp dword [0x42e0c4], 1
je 0x4266e7
cmp edx, 0xfc
je 0x42670d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x426647
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00426710
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00423540
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42668a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00423540
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42a5dc
push edi
call fcn.00428d90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00426710
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00426720
lea eax, [ebp - 0xa0]
push 0x42a5bc
push eax
call fcn.00426720
push dword [esi + 0x42e64c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00426720
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00428d01
add esp, 0x2c
pop edi
jmp 0x42670d
lea eax, [ebp + 8]
lea esi, [esi + 0x42e64c]
push 0
push eax
push dword [esi]
call fcn.00423540
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x48d290
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x78000]
push edi
or ebp, 0xffffffff
jmp 0x48d2b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48d2b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48d2a8
mov eax, 1
add ebx, ebx
jne 0x48d2cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48d2dc
jne 0x48d2fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48d2fb
dec eax
add ebx, ebx
jne 0x48d2e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48d2c0
add ebx, ebx
jne 0x48d2f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48d34d
xor ecx, ecx
sub eax, 3
jb 0x48d313
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48d382
sar eax, 1
mov ebp, eax
jmp 0x48d31e
add ebx, ebx
jne 0x48d31e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48d2ec
inc ecx
add ebx, ebx
jne 0x48d32c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48d2ec
add ebx, ebx
jne 0x48d339
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48d32e
jne 0x48d34a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48d32e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48d36c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48d35e
jmp 0x48d2ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48d36c
add edi, ecx
jmp 0x48d2ae
pop esi
mov edi, esi
mov ecx, 0x21b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48d38a
cmp byte [edi], 5
jne 0x48d38a
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 al, bl
loop 0x48d38f
lea edi, [esi + 0x8b000]
mov eax, dword [edi]
or eax, eax
je 0x48d407
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d8e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8d91c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48d3bc
mov ecx, edi
jns 0x48d3eb
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 + 0x8d920]
or eax, eax
je 0x48d401
mov dword [ebx], eax
add ebx, 4
jmp 0x48d3d9
call dword [esi + 0x8d928]
mov ebp, dword [esi + 0x8d924]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x48d43b
sub esp, 0xffffff80
jmp 0x4028f0
Function at 0x402123
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push str.ELMCONTROL
push 0x4285cc
call fcn.00415920
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x402155
push 0x4285cc
call fcn.00402240
add esp, 4
xor eax, eax
jmp 0x40222f
mov eax, dword [ebp + 8]
push eax
call fcn.00401fda
add esp, 4
test eax, eax
jne 0x40216c
xor eax, eax
jmp 0x40222f
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040204c
add esp, 8
test eax, eax
jne 0x402187
xor eax, eax
jmp 0x40222f
push 0
push section..text
mov eax, dword [0x4283fc]
push eax
push 0x4285cc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x428a10], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [0x4283fc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4283fc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [ebp + 8]
mov dword [0x42bc68], edx
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x402216
cmp dword [0x428a10], 0
je 0x402200
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [0x428a10]
push edx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x402214
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4021ce
push 0x42c074
call fcn.0040aba4
mov edx, dword [0x428534]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402716
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00402690
add esp, 8
lea edx, [ebp - 0xc]
push edx
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x18]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x40277b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00402690
add esp, 8
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push str.REG_SZ
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebp + 0x10]
push eax
call fcn.00415e30
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41072f
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov dword [ebp - 0x170], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x410778
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00415920
add esp, 8
push 0x424b74
lea edx, [ebp - 0x16c]
push edx
call fcn.00415930
add esp, 8
jmp 0x41078c
push 0x424b78
lea eax, [ebp - 0x16c]
push eax
call fcn.00415920
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x4107a4
mov eax, 0xffffffed
jmp 0x4108bc
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0xffffffff
jne 0x4107ce
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x4108b6
lea ecx, [ebp - 0x118]
test ecx, ecx
je 0x410815
mov edx, str....
test edx, edx
je 0x410815
movsx eax, byte [ebp - 0x118]
movsx ecx, byte [0x424b80]
cmp eax, ecx
jne 0x410815
push 0x424b84
lea edx, [ebp - 0x118]
push edx
call fcn.00416170
add esp, 8
test eax, eax
je 0x41087e
lea eax, [ebp - 0x118]
test eax, eax
je 0x410852
mov ecx, 0x424b88
test ecx, ecx
je 0x410852
movsx edx, byte [ebp - 0x118]
movsx eax, byte [0x424b8c]
cmp edx, eax
jne 0x410852
push 0x424b90
lea ecx, [ebp - 0x118]
push ecx
call fcn.00416170
add esp, 8
test eax, eax
je 0x41087e
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x41087e
mov eax, dword [ebp - 0x170]
jmp 0x4108bc
lea edx, [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4108b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4108aa
mov dword [ebp - 4], 1
jmp 0x4108b1
mov eax, 0xffffffed
jmp 0x4108bc
jmp 0x4107ce
mov eax, dword [ebp - 0x170]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x415269
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
mov dword [ebp - 0x40], 0
jmp 0x415285
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x38
jge 0x4152d2
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov dl, byte [ecx + 0x425224]
sub edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
and eax, 7
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x4c]
sar ecx, 3
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x88]
and eax, dword [ecx*4 + 0x42529c]
neg eax
sbb eax, eax
neg eax
mov edx, dword [ebp - 0x40]
mov byte [ebp + edx - 0x38], al
jmp 0x41527c
mov dword [ebp - 0x3c], 0
jmp 0x4152e4
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x10
jge 0x415478
push 8
push 0
lea ecx, [ebp - 0x48]
push ecx
call fcn.00416200
add esp, 0xc
mov dword [ebp - 0x40], 0
jmp 0x415310
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x38
jge 0x415390
cmp dword [ebp + 0x10], 0
je 0x41532c
mov eax, 0xf
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x8c], eax
jmp 0x415335
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov al, byte [edx + 0x42525c]
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x4c], ecx
xor edx, edx
cmp dword [ebp - 0x40], 0x1c
setge dl
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp dword [ebp - 0x4c], edx
jge 0x41536b
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x90], eax
jmp 0x415377
mov ecx, dword [ebp - 0x4c]
sub ecx, 0x1c
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x90]
mov cl, byte [ebp + eax - 0x38]
mov byte [ebp + edx - 0x84], cl
jmp 0x415307
mov dword [ebp - 0x40], 0
jmp 0x4153a2
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x30
jge 0x4153fd
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov cl, byte [eax + 0x42526c]
xor edx, edx
mov dl, byte [ebp + ecx - 0x85]
test edx, edx
je 0x4153fb
mov eax, dword [ebp - 0x40]
cdq
mov ecx, 6
idiv ecx
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x40]
cdq
mov ecx, 6
idiv ecx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edx*4 + 0x42529c]
sar ecx, 2
mov bl, byte [ebp + eax - 0x48]
or bl, cl
mov eax, dword [ebp - 0x40]
cdq
mov ecx, 6
idiv ecx
mov byte [ebp + eax - 0x48], bl
jmp 0x415399
mov edx, dword [ebp - 0x48]
and edx, 0xff
shl edx, 0x18
mov eax, dword [ebp - 0x46]
and eax, 0xff
shl eax, 0x10
or edx, eax
mov ecx, dword [ebp - 0x44]
and ecx, 0xff
shl ecx, 8
or edx, ecx
mov eax, dword [ebp - 0x42]
and eax, 0xff
or edx, eax
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov dword [eax + ecx*8], edx
mov ecx, dword [ebp - 0x47]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp - 0x45]
and edx, 0xff
shl edx, 0x10
or ecx, edx
mov eax, dword [ebp - 0x43]
and eax, 0xff
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x41]
and edx, 0xff
or ecx, edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
mov dword [edx + eax*8 + 4], ecx
jmp 0x4152db
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41831b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41833b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041bcce
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x41835e
test byte [esp + 8], 2
je 0x41835e
call fcn.0041bd41
mov dword [eax], 0xd
call fcn.0041bd4a
mov dword [eax], 5
jmp 0x418337
xor eax, eax
ret

Function at 0x419a11
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x425528
cmp edx, dword [eax]
je 0x419a33
add eax, 8
inc ecx
cmp eax, 0x4255b8
jl 0x419a24
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x425528]
jne 0x419b61
mov eax, dword [0x42dc3c]
cmp eax, 1
je 0x419b3b
test eax, eax
jne 0x419a64
cmp dword [0x425374], 1
je 0x419b3b
cmp edx, 0xfc
je 0x419b61
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x419a9b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00415920
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00415e30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x419ade
lea eax, [ebp - 0x1a4]
push eax
call fcn.00415e30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42062c
push edi
call fcn.00415d30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00415920
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00415930
lea eax, [ebp - 0xa0]
push 0x42060c
push eax
call fcn.00415930
push dword [esi + 0x42552c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00415930
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041d56f
add esp, 0x2c
pop edi
jmp 0x419b61
lea eax, [ebp + 8]
lea esi, [esi + 0x42552c]
push 0
push eax
push dword [esi]
call fcn.00415e30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4a2810
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.DMDM_1
lea edi, [esi - 0x7c000]
push edi
jmp 0x4a282a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a2831
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2820
mov eax, 1
add ebx, ebx
jne 0x4a2843
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a2854
jne 0x4a2873
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2873
dec eax
add ebx, ebx
jne 0x4a2860
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a2838
add ebx, ebx
jne 0x4a286f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a28c5
xor ecx, ecx
sub eax, 3
jb 0x4a288b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a28fa
sar eax, 1
mov ebp, eax
jmp 0x4a2896
add ebx, ebx
jne 0x4a2896
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2864
inc ecx
add ebx, ebx
jne 0x4a28a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2864
add ebx, ebx
jne 0x4a28b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a28a6
jne 0x4a28c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a28a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a28e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a28d6
jmp 0x4a2826
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a28e4
add edi, ecx
jmp 0x4a2826
pop esi
mov edi, esi
mov ecx, 0x664
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a2902
cmp byte [edi], 5
jne 0x4a2902
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 al, bl
loop 0x4a2907
lea edi, [esi + 0xa0000]
mov eax, dword [edi]
or eax, eax
je 0x4a297f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc0048]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc0084]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a2934
mov ecx, edi
jns 0x4a2963
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 + 0xc008c]
or eax, eax
je 0x4a2979
mov dword [ebx], eax
add ebx, 4
jmp 0x4a2951
call dword [esi + 0xc0088]
mov ebp, dword [esi + 0xc0090]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x4a29b3
sub esp, 0xffffff80
jmp 0x405c44
Function at 0x1020a210
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov ecx, 0x104f64c0
call fcn.1015f0d9
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x18], 0x10
jb 0x1020a272
mov dword [ebp - 0x74], 1
jmp 0x1020a279
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebp - 0x74]
test ecx, ecx
je 0x1020a28a
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
jmp 0x1020a2a9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jae 0x1020a2c8
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 8]
imul eax, edx, 0x1000193
mov dword [ebp - 8], eax
jmp 0x1020a2a0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1020a330
add esp, 0xc
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10225a50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov ecx, 0x104f66fc
call fcn.1015f0d9
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x10225a74
mov dword [ebp - 0x50], 1
jmp 0x10225a7b
mov dword [ebp - 0x50], 0
movzx ecx, byte [ebp - 0x50]
test ecx, ecx
je 0x10225a88
jmp 0x10225ba1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0
jg 0x10225a9e
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
sub eax, 1
shl eax, 5
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10225b0b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x10225b0b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
jg 0x10225ad9
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
sub eax, 1
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x10225af7
mov dword [ebp - 0x50], 1
jmp 0x10225afe
mov dword [ebp - 0x50], 0
movzx ecx, byte [ebp - 0x50]
test ecx, ecx
je 0x10225b0b
jmp 0x10225ba1
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
je 0x10225b31
mov eax, dword [ebp + 0xc]
imul ecx, dword [eax + 0x18], 0x14
mov edx, dword [ebp + 0xc]
add ecx, dword [edx + 0x20]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x34], ecx
je 0x10225b31
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], 0
je 0x10225b59
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
lea ecx, [eax + ecx*2]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x38], ecx
je 0x10225b59
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x18]
je 0x10225b6f
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, 1
test eax, eax
je 0x10225b95
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x30], 0x10000
jae 0x10225b8d
mov eax, str.Too_many_vertices_in_ImDrawList_using_16_bit_indices._Read_comment_above
test eax, eax
jne 0x10225b95
push 0
call dword [sym.imp.ucrtbased.dll_exit]
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.1015faa7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret