joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb29ef1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00b1bdc7
xor ebx, ebx
cmp dword [0xb7f62c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0xb29fc7
push 0xb6d888
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0xb2a0a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xb6d87c
push edi
call esi
cmp eax, ebx
je 0xb2a0a7
push eax
call fcn.00b1bd59
mov dword [esp], 0xb6d86c
push edi
mov dword [0xb7f62c], eax
call esi
push eax
call fcn.00b1bd59
mov dword [esp], 0xb6d858
push edi
mov dword [0xb7f630], eax
call esi
push eax
call fcn.00b1bd59
mov dword [0xb7f634], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00b1554f
test eax, eax
pop ecx
pop ecx
je 0xb29f95
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00b1170c
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0xb29fc7
push 0xb6d83c
push edi
call esi
push eax
call fcn.00b1bd59
cmp eax, ebx
pop ecx
mov dword [0xb7f63c], eax
je 0xb29fc7
push 0xb6d824
push edi
call esi
push eax
call fcn.00b1bd59
pop ecx
mov dword [0xb7f638], eax
mov eax, dword [0xb7f638]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0xb2a04c
cmp dword [0xb7f63c], ecx
je 0xb2a04c
push eax
call fcn.00b1bdd0
push dword [0xb7f63c]
mov esi, eax
call fcn.00b1bdd0
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0xb2a04c
cmp edi, ebx
je 0xb2a04c
call esi
cmp eax, ebx
je 0xb2a019
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0xb2a019
test byte [ebp - 0x18], 1
jne 0xb2a04c
lea eax, [ebp - 0x10]
push eax
call fcn.00b155fe
test eax, eax
pop ecx
je 0xb2a034
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00b1170c
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0xb2a043
or dword [ebp + 0x10], 0x200000
jmp 0xb2a087
or dword [ebp + 0x10], 0x40000
jmp 0xb2a087
mov eax, dword [0xb7f630]
cmp eax, dword [ebp - 8]
je 0xb2a087
push eax
call fcn.00b1bdd0
cmp eax, ebx
pop ecx
je 0xb2a087
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0xb2a087
mov eax, dword [0xb7f634]
cmp eax, dword [ebp - 8]
je 0xb2a087
push eax
call fcn.00b1bdd0
cmp eax, ebx
pop ecx
je 0xb2a087
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0xb7f62c]
call fcn.00b1bdd0
cmp eax, ebx
pop ecx
je 0xb2a0a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0xb2a0a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xb36c7b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0xb36d00
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00b11dc0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0xb36cc3
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0xb36ce5
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0xb36d5b
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00b369cb
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0xb36d47
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0xb36d5b
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0xb36c84
pop esi
pop ebx
leave
ret

Function at 0xb46f22
Capabilities:
Allocate or change rwx memory

Disassembly:
pushal
pushfd
push 0xb46f02
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0xb46f0f
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0xb46f43], eax
jmp 0xb46f47
push 0xb46f59
push 0x40
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0xb46f5d
mov eax, dword [0xb46f43]
mov byte [eax], 0x68
mov dword [eax + 1], 0xb46f77
mov byte [eax + 5], 0xc3
popfd
popal
jmp 0xb46fcc
pushal
pushfd
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0xb46fc8], eax
mov dword [sym.imp.KERNEL32.dll_VirtualProtect], reloc.KERNEL32.dll_VirtualProtect
popfd
popal
push 0xb11daf
ret
Function at 0x100705e0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100707c4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x33000]
push edi
jmp 0x1007060a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10070611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10070600
mov eax, 1
add ebx, ebx
jne 0x10070623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10070634
jne 0x10070653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10070653
dec eax
add ebx, ebx
jne 0x10070640
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10070618
add ebx, ebx
jne 0x1007064f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x100706a5
xor ecx, ecx
sub eax, 3
jb 0x1007066b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100706da
sar eax, 1
mov ebp, eax
jmp 0x10070676
add ebx, ebx
jne 0x10070676
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10070644
inc ecx
add ebx, ebx
jne 0x10070684
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10070644
add ebx, ebx
jne 0x10070691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10070686
jne 0x100706a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10070686
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100706c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100706b6
jmp 0x10070606
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100706c4
add edi, ecx
jmp 0x10070606
pop esi
mov edi, esi
mov ecx, 0x1854
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100706e2
cmp byte [edi], 0x17
jne 0x100706e2
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 0x100706e7
lea edi, [esi + 0x6d000]
mov eax, dword [edi]
or eax, eax
je 0x10070756
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x702b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7030c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10070714
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x70310]
or eax, eax
je 0x10070750
mov dword [ebx], eax
add ebx, 4
jmp 0x10070731
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10070787
cmp al, 0xef
ja 0x1007077a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1007075c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10070769
mov ebp, dword [esi + 0x70314]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x100707bb
sub esp, 0xffffff80
jmp 0x10003c8d
Function at 0x402a90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x402abc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x402ae4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x402aea
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x402b52
jg 0x402b01
test esi, esi
je 0x402b52
test ecx, ecx
jl 0x402b4d
jg 0x402b0b
test eax, eax
je 0x402b4d
cmp edi, ecx
jg 0x402b1f
jl 0x402b15
cmp esi, eax
jae 0x402b1f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x402b55
mov ecx, dword [ebp + 8]
jmp 0x402b5f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x402b79
jg 0x402b5f
test esi, esi
je 0x402b79
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x402b79
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402b90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x402bbc
jl 0x402bb0
test ecx, ecx
jne 0x402bbc
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x402bd5
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x402c1d
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x402c23
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x402c23
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x402c96
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x402c4c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x402c84
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x402c96
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x402c60
test edi, edi
je 0x402c96
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x45200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x403030
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004295ae
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x403060
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x403060
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.004295ae
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x403136
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x403089
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 0x403095
movsx eax, bl
jmp 0x4030cd
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
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 0x4030f7
sub eax, 1
je 0x4030f7
sub eax, 2
jne 0x403136
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
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.004295ae
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x403115
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 0x403136
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x403136
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004295ae
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.004295ae
mov esp, ebp
pop ebp
ret 4
Function at 0x4032b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45200c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40336c
cmp byte [esi + 0x3d], 0
je 0x40336c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40335a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x403321
sub eax, 1
je 0x403325
sub eax, 2
jne 0x40335a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004295ae
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x403343
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 0x40335a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004295ae
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004295ae
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004295ae
mov esp, ebp
pop ebp
ret

Function at 0x404a10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x45abc4], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x404aca
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x45abc0], eax
inc ebx
cmp ebx, 0x100
jb 0x404a30
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x404af6
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x45abc0]
sub edi, 1
jne 0x404ad5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x404b28
nop dword [eax]
cmp cl, 0x23
jne 0x404b0f
cmp byte [esi], cl
jne 0x404b0f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x45abc0]
test cl, cl
jne 0x404b00
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x405100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
test esi, esi
jne 0x405123
push 0x52f
push str.D:_softImGui_Loader_Base_masterImGui_aeimgui.cpp
push str.filename__file_open_mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x405130
mov dword [ebx], 0
mov edx, 0x44ada4
mov ecx, esi
call fcn.00404f30
mov esi, eax
test esi, esi
jne 0x405146
pop esi
pop ebx
pop ebp
ret
push edi
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x405215
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x405215
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x405215
mov eax, dword [0x452020]
inc dword [eax + 0x310]
mov ecx, dword [eax + 0xbc]
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
call ecx
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x405215
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, edi
je 0x4051e5
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x452020]
mov ecx, dword [ebp + 8]
push ecx
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4051fd
push eax
mov eax, dword [ebp + 8]
add eax, edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x40520d
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4247f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ada6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45200c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
call fcn.004248a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428b60
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b285
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0xe
idiv ecx
push 8
mov dword [0x456c28], edx
call fcn.004295bc
mov dword [ebp - 0x2c], eax
mov dword [eax], ebx
mov dword [eax + 4], 0x427d90
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x429460
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x24
mov dword [ebp - 0x18], eax
test eax, eax
je 0x428d18
push 0x427570
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.004290b0
push 0x427340
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004290b0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0
je 0x428d10
mov esi, dword [sym.imp.MSVCP140.dll__Thrd_id]
call esi
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
je 0x428d08
mov edi, dword [sym.imp.MSVCP140.dll__Thrd_join]
push 0
push ecx
push dword [ebp - 0x18]
call edi
add esp, 0xc
test eax, eax
jne 0x428d00
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
cmp dword [ebp - 0x24], eax
je 0x428d10
call esi
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x428d08
push 0
push ecx
push dword [ebp - 0x28]
call edi
add esp, 0xc
test eax, eax
jne 0x428d00
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
cmp dword [ebp - 0x1c], eax
je 0x428d10
call esi
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x428d08
push 0
push ecx
push dword [ebp - 0x20]
call edi
add esp, 0xc
test eax, eax
jne 0x428d00
mov eax, dword [0x456c28]
xorps xmm0, xmm0
push ebx
movlpd qword [ebp - 0x20], xmm0
push dword [eax*4 + 0x44a920]
call dword [sym.imp.USER32.dll_UnregisterClassA]
cmp dword [ebp - 0x1c], 0
jne 0x428cfa
cmp dword [ebp - 0x24], 0
jne 0x428cfa
cmp dword [ebp - 0x14], 0
jne 0x428cfa
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004295ae
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x14], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x4290b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b2fd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x45200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.004295bc
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x4294c0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x429132
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004295ae
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3