joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x402793
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x4027a2
pop dword [ebp - 0x20]
mov eax, 0x4027a2
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3cc7e
push 0
mov eax, 0x212fc71
sub eax, 0x1d21b99
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xf243739b
sub ecx, 0xf2431fc7
xor edx, edx
add edx, eax
mov edi, 0x3206fa1f
sub edi, 0x31c5be5b
add edi, dword [ebp - 0x20]
mov esi, 0x2deb6cc8
xor dword [ebp - 0x18], eax
mov ebx, dword [edi]
add dword [ebp - 0x14], 0xb9f73385
sub ebx, esi
add dword [ebp - 0xc], edx
mov dword [edx], ebx
sub dword [ebp - 4], 0x70124df8
add edx, 0x9a1c0427
add edx, 0x65e3fbdd
add edi, 0xa8b68d9d
add edi, 0x57497267
loop 0x4027f8
add eax, 0x14223
mov ebx, eax
add eax, 0xb7e054f3
add eax, 0x481fab12
mov ecx, 0xb307e4e7
add ecx, 0x4d381b19
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x40875a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov ebx, ecx
jne 0x408775
push 0x80004005
call fcn.00408447
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x408777
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4095be
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x442084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x208], esi
call fcn.004086b8
mov edi, eax
cmp edi, esi
je 0x409620
lea ecx, [ebp - 0x208]
call fcn.00408645
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411b9d
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40963e
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x208]
call fcn.004095be
cmp eax, esi
jne 0x409686
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
mov dword [ebp - 0x20c], 0x100
call edi
test eax, eax
je 0x409628
lea ecx, [ebp - 0x208]
call fcn.00408645
push dword [ebp - 0x210]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x208]
mov esi, eax
call fcn.00408645
mov eax, esi
jmp 0x40960f
Function at 0x40d1b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x442084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push 2
push esi
push eax
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x408], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, esi
mov dword [ebp - 0x40c], eax
jne 0x40d20b
call fcn.0040857c
mov esi, eax
jmp 0x40d2ea
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x40d224
call fcn.0040857c
jmp 0x40d2dc
push edi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, esi
je 0x40d21a
push edi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
jae 0x40d289
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x40d266
lea ecx, [ebp - 0x408]
call fcn.004093b8
mov esi, 0x8007000e
lea ecx, [ebp - 0x410]
call fcn.004092ad
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411b9d
leave
ret 0x10
push eax
lea ecx, [ebp - 0x408]
call fcn.0040b63e
cmp dword [ebp - 0x408], esi
jne 0x40d2a4
mov esi, 0x8007000e
jmp 0x40d2de
push edi
push dword [ebp - 0x408]
push edi
push ebx
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x40d21a
mov ecx, dword [ebp - 0x408]
push dword [ebp + 0x14]
mov word [ecx + eax*2], si
push dword [ebp - 0x408]
lea ecx, [ebp - 0x418]
call fcn.0040c84e
mov esi, eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x40d26b
lea ecx, [ebp - 0x408]
call fcn.004093b8
jmp 0x40d26b
Function at 0x411596
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x442084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0041152b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x411609
cmp dword [ebp - 0x94], 5
jb 0x41162a
jmp 0x411626
cmp dword [ebp - 0x88], 1
jne 0x41162a
cmp dword [ebp - 0x94], 4
ja 0x411626
jne 0x41162a
cmp dword [ebp - 0x90], 0
jbe 0x41162a
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4027bc
call fcn.00408513
test eax, eax
jge 0x41164b
mov byte [0x442ee0], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00411b9d
leave
ret

Function at 0x411e80
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x411e93
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x411e8f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x411ec0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x411eff
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x411ef5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x411f01
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x411ee5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41238f
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x442084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
push 0x20006
push 0
push 0x402888
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4123da
jle 0x4123d6
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x412426
push 0x200
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x412418
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x412418
jle 0x412414
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x41241a
xor esi, esi
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00411b9d
leave
ret 4
Function at 0x424f79
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [eax + 4], 0x10ec
jne 0x425114
cmp dword [eax + 0x10], 1
jne 0x425114
mov ecx, dword [eax + 8]
cmp ecx, 0x888
jne 0x42501b
mov ecx, dword [eax + 0xc]
cmp ecx, 0x10250325
je 0x425111
cmp ecx, 0x10250326
je 0x425111
cmp ecx, 0x1025025e
je 0x425111
cmp ecx, 0x1025036b
je 0x425111
cmp ecx, 0x10250369
je 0x425111
cmp ecx, 0x1462036a
je 0x425111
cmp ecx, 0x1025036a
je 0x425111
cmp ecx, 0x10250397
je 0x425111
cmp ecx, 0x1025046d
jne 0x4250a7
jmp 0x425111
cmp ecx, 0x889
jne 0x425046
mov ecx, dword [eax + 0xc]
cmp ecx, 0x14627583
je 0x425111
cmp ecx, 0x14627581
je 0x425111
cmp ecx, 0x14624132
jmp 0x425010
cmp ecx, 0x662
jne 0x425057
cmp dword [eax + 0xc], 0x10250446
jmp 0x425010
cmp ecx, 0x268
jne 0x425068
cmp dword [eax + 0xc], 0x1025046f
jmp 0x425010
cmp ecx, 0x269
jne 0x425096
mov ecx, dword [eax + 0xc]
cmp ecx, 0x14621063
je 0x425111
cmp ecx, 0x1462106d
je 0x425111
cmp ecx, 0x1462107f
jmp 0x425010
cmp ecx, 0x892
jne 0x4250a7
cmp dword [eax + 0xc], 0x14621075
je 0x425111
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00424f59
test eax, eax
je 0x425114
test cl, 0x10
je 0x425114
mov eax, ecx
and eax, 0xf
cmp eax, 2
je 0x4250c8
cmp eax, 6
jne 0x425114
push esi
push 7
mov byte [ebp + 0xb], 1
mov byte [ebp - 1], 1
mov eax, ecx
pop esi
mov dl, al
and dl, 1
xor byte [ebp + 0xb], dl
shr eax, 2
dec esi
jne 0x4250d6
mov eax, ecx
push 7
shr eax, 1
pop esi
mov dl, al
and dl, 1
xor byte [ebp - 1], dl
shr eax, 2
dec esi
jne 0x4250eb
mov eax, ecx
shr eax, 0xe
and al, 1
cmp byte [ebp + 0xb], al
pop esi
jne 0x425114
shr ecx, 0xf
and cl, 1
cmp byte [ebp - 1], cl
jne 0x425114
push 2
pop edi
mov eax, edi
pop edi
leave
ret 4
Function at 0x43d240
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x510
mov eax, dword [0x442084]
xor eax, esp
mov dword [esp + 0x50c], eax
push ebx
mov ebx, dword [esp + 0x518]
push ebp
mov ebp, dword [esp + 0x520]
push esi
push edi
push 0
push 0x23
lea eax, [esp + 0x124]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [esp + 0x11c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43d284
mov ecx, 0xc
mov esi, 0x407ee8
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43d2a0
lea edi, [esp + 0x11c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x43d2c0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x43d2c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x108
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0
push 1
push 3
push 0
push 0
push SysReAllocString
lea edx, [esp + 0x134]
push edx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43d352
push 0
lea eax, [esp + 0x14]
push eax
push 0x108
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
push esi
lea edx, [esp + 0x18]
push edx
push ebp
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, esi
jmp 0x43d356
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x51c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00411b9d
add esp, 0x510
ret
Function at 0x43de00
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x288c
call fcn.00411c70
mov eax, dword [0x442084]
xor eax, esp
mov dword [esp + 0x2888], eax
push ebx
push ebp
push edi
mov ebx, ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], ebx
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x43dee3
push esi
lea esi, [esp + 0x18]
add ebx, 0x800
nop
movzx edi, byte [esi + 0x196]
movzx edx, byte [esi + 0x197]
movzx eax, byte [esi + 0x198]
movzx ecx, byte [esi + 0x199]
shl edi, 8
add edi, edx
shl edi, 8
add edi, eax
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
movzx edx, byte [esi + 0x199]
movzx eax, byte [esi + 0x198]
push edx
movzx edx, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
shl edi, 8
add edi, ecx
movzx ecx, byte [esi + 0x197]
push ecx
movzx ecx, byte [esi + 0x194]
push edx
push eax
push ecx
push 0x4081a0
push ebx
call sub.msvcrt.dll_sprintf
mov esi, dword [esi]
add esp, 0x20
add ebp, 1
add ebx, 0x18
test esi, esi
je 0x43dede
cmp ebp, 5
jl 0x43de50
mov ebx, dword [esp + 0x10]
pop esi
mov ecx, dword [esp + 0x2894]
mov eax, edi
pop edi
mov dword [ebx + 0x814], ebp
mov dword [ebx + 0x82c], ebp
mov dword [ebx + 0x844], ebp
mov dword [ebx + 0x85c], ebp
mov dword [ebx + 0x874], ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00411b9d
add esp, 0x288c
ret
Function at 0x43e050
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
xor edx, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
add ecx, ecx
add ecx, ecx
xor edx, ecx
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ecx, edx
rol ecx, 1
mov esi, ecx
xor ecx, eax
and ecx, 0xaaaaaaaa
xor esi, ecx
xor ecx, eax
rol ecx, 1
mov edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 8
nop
mov eax, esi
ror eax, 4
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x442688]
or edx, dword [ebx*4 + 0x442888]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x442a88]
and eax, 0x3f
or edx, dword [eax*4 + 0x442c88]
mov eax, dword [ecx]
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x442788]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x442988]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x442b88]
and eax, 0x3f
or ebx, dword [eax*4 + 0x442d88]
add ecx, 4
or ebx, edx
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x442688]
or edx, dword [ebx*4 + 0x442888]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x442a88]
and eax, 0x3f
or edx, dword [eax*4 + 0x442c88]
mov eax, dword [ecx]
xor eax, edi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x442788]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x442988]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x442b88]
and eax, 0x3f
or ebx, dword [eax*4 + 0x442d88]
add ecx, 4
or ebx, edx
xor esi, ebx
sub dword [esp + 0x10], 1
jne 0x43e0d0
ror esi, 1
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, edi
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov edx, dword [esp + 0x18]
mov ecx, esi
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
pop ecx
ret 8
Function at 0x43e9c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x1001cf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001cf80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1001cfb0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1001cfb0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1001d0ab
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001cfd9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d00d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1001d06c
sub eax, 1
je 0x1001d06c
sub eax, 2
jne 0x1001d0ab
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1006e470
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d08a
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001d0ab
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1001d0ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x77c9136f
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x5d8f49fc
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0xb85f00
Capabilities:
Check for software breakpoints
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4a4000]
push edi
or ebp, 0xffffffff
jmp 0xb85f22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb85f29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb85f18
mov eax, 1
add ebx, ebx
jne 0xb85f3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb85f4c
jne 0xb85f6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb85f6b
dec eax
add ebx, ebx
jne 0xb85f58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb85f30
add ebx, ebx
jne 0xb85f67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb85fbd
xor ecx, ecx
sub eax, 3
jb 0xb85f83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb85ff2
sar eax, 1
mov ebp, eax
jmp 0xb85f8e
add ebx, ebx
jne 0xb85f8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb85f5c
inc ecx
add ebx, ebx
jne 0xb85f9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb85f5c
add ebx, ebx
jne 0xb85fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb85f9e
jne 0xb85fba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb85f9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb85fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb85fce
jmp 0xb85f1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb85fdc
add edi, ecx
jmp 0xb85f1e
pop esi
mov edi, esi
mov ecx, 0x16d1b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb85ffa
cmp byte [edi], 0xcc
jne 0xb85ffa
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 0xb85fff
lea edi, [esi + 0x781000]
mov eax, dword [edi]
or eax, eax
je 0xb8606e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x789a38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x789b28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb8602c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x789b2c]
or eax, eax
je 0xb86068
mov dword [ebx], eax
add ebx, 4
jmp 0xb86049
call dword [esi + 0x789b3c]
mov ebp, dword [esi + 0x789b30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xb860a2
sub esp, 0xffffff80
jmp 0x6ca794
Function at 0xc4b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00c4b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc4b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc4b06a
add dl, dl
jne 0xc4b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc4b0dc
xor eax, eax
add dl, dl
jne 0xc4b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc4b17d
add dl, dl
jne 0xc4b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc4b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc4b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc4b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc4b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc4b075
mov eax, 1
add dl, dl
jne 0xc4b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc4b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc4b0e1
sub eax, ebx
mov ebx, 1
jne 0xc4b128
mov ecx, 1
add dl, dl
jne 0xc4b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc4b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc4b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc4b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc4b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc4b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc4b136
cmp eax, 0x7d00
jae 0xc4b16d
cmp eax, 0x500
jb 0xc4b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc4b075
cmp eax, 0x7f
ja 0xc4b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc4b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc4b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc4b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10