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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
mov dword [ebp - 0x10], ecx
lea edx, [ecx + 0x3234c]
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0xc], edx
push edi
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 4], 4
mov edi, eax
lea eax, [ebx + 1]
nop
movzx edx, word [ecx + eax*2 + 0x329f0]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edx*4 + 0x30c9c]
sub dword [ebp - 4], 1
jne 0x42e3c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov dword [edx], ebx
add edx, 4
mov dword [ebp - 0xc], edx
cmp eax, 0x10
jb 0x42e3b0
pop edi
pop esi
mov dword [ecx + 0x3238c], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 4
push edi
mov edi, ecx
mov dword [ebp - 0x208], ebx
nop dword [eax]
nop word [eax + eax]
movzx ecx, byte [edi + ebx + 0x3049c]
mov esi, 1
mov eax, ecx
mov dword [ebp - 0x218], ecx
mov edx, ecx
shr eax, 1
dec eax
mov dword [ebp - 0x20c], 0
and edx, 1
mov dword [ebp - 0x210], eax
or edx, 2
mov ecx, eax
shl edx, cl
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x214], edx
test eax, eax
je 0x42e4f0
mov ebx, eax
mov eax, esi
mov edx, ecx
sub eax, dword [ebp - 0x218]
and edx, 1
add eax, dword [ebp - 0x214]
add esi, esi
shr ecx, 1
or esi, edx
mov dword [ebp - 0x210], ecx
movzx ecx, word [edi + eax*2 + 0x3290a]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp - 0x20c]
add eax, dword [edi + ecx*4 + 0x30c9c]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
sub ebx, 1
jne 0x42e494
mov ebx, dword [ebp - 0x208]
jmp 0x42e4f2
xor eax, eax
mov dword [ebp + ebx*4 - 0x204], eax
inc ebx
mov dword [ebp - 0x208], ebx
cmp ebx, 0x80
jb 0x42e450
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x210], 4
sub ecx, edi
lea esi, [edi + 0x3174c]
lea eax, [edi + 0x3270c]
mov dword [ebp - 0x208], esi
lea edx, [edi + 0x31b54]
mov dword [ebp - 0x21c], eax
sub ecx, 0x31b4c
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], ecx
nop
mov eax, dword [edi + 0x32390]
xor ebx, ebx
mov dword [ebp - 0x214], ebx
test eax, eax
je 0x42e5c2
mov eax, ebx
xor esi, esi
mov ebx, dword [ebp - 0x21c]
or eax, 0x40
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [edi + ecx*4 + 0x30c9c]
cmp eax, 1
jne 0x42e570
mov ebx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x208]
mov dword [eax + ebx*4], esi
inc ebx
mov eax, dword [edi + 0x32390]
mov dword [ebp - 0x214], ebx
cmp ebx, eax
jb 0x42e562
mov esi, dword [ebp - 0x208]
mov edx, dword [ebp - 0x20c]
mov ecx, 0xe
cmp eax, ecx
jbe 0x42e5e6
nop dword [eax + eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x32390]
jb 0x42e5d0
mov eax, dword [esi]
mov ecx, 4
mov ebx, dword [ebp - 0x218]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [edi + ecx + 0x3049c]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + ebx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x42e610
mov edx, dword [ebp - 0x20c]
add esi, 0x100
sub dword [ebp - 0x21c], 0xffffff80
add edx, 0x200
sub ebx, 0x200
mov dword [ebp - 0x208], esi
sub dword [ebp - 0x210], 1
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], ebx
jne 0x42e550
mov ecx, dword [ebp - 4]
mov dword [edi + 0x3baf0], 0
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046e3fa
mov esp, ebp
pop ebp
ret
Function at 0x42e690
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, ecx
xor edx, edx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x3bacc], 0
lea esi, [ebx + 0x88]
mov dword [ebx + 0x3bac8], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x48], 0x20
mov dword [ebx + 0x6c], 1
mov dword [ebx + 0x64], 4
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x70], 0
nop dword [eax + eax]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
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 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 [esi - 4], eax
cmp edx, 0x100
jb 0x42e6f0
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], 5
mov ecx, ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x18], 0
call fcn.0042c0c0
lea esi, [ebx + 0x3049c]
mov edx, 2
mov word [esi], 0x100
mov ebx, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edx
nop
mov ecx, ebx
mov eax, 1
sar ecx, 1
dec ecx
shl eax, cl
mov dword [ebp - 8], eax
test eax, eax
je 0x42e83c
mov ecx, eax
lea edi, [edx + esi]
mov edx, dword [ebp - 4]
mov al, bl
mov esi, ecx
movzx eax, al
imul eax, eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
add edx, esi
mov esi, dword [ebp - 0xc]
rep stosb byte es:[edi], al
mov dword [ebp - 4], edx
inc ebx
cmp ebx, 0x16
jl 0x42e800
mov ebx, dword [ebp - 0x10]
mov edi, 8
nop word [eax + eax]
xor edx, edx
mov eax, edi
lea esi, [edx + 4]
nop word [eax + eax]
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x42e87a
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x42e870
sub esi, 1
jne 0x42e860
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [ebx + eax*4 + 0x30c9c], ecx
cmp edi, 0x800
jb 0x42e850
pop edi
mov dword [ebx + 0x323a8], esi
mov dword [ebx + 0x3bb18], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
xor edi, edi
mov eax, dword [eax]
and eax, 7
mov dword [ebp - 8], esi
cmp edx, 5
jae 0x42f874
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, edi
cmp esi, edx
jae 0x42f895
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x42f895
inc esi
cmp esi, edx
jb 0x42f886
mov edi, esi
sub edi, dword [ebp - 8]
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x42f9b3
cmp ecx, 3
jbe 0x42f8d5
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x42f913
cmp cl, 0xff
je 0x42f913
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp - 8]
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
jmp 0x42f880
dec ecx
shl eax, cl
and eax, 7
je 0x42f8ad
cmp byte [eax + 0x486534], 0
je 0x42f900
movzx ecx, byte [eax + 0x486f20]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x42f8fd
cmp cl, 0xff
jne 0x42f8ad
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
and eax, 3
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x42f880
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
cmp dword [ebp + 0x10], 0
je 0x42f93e
lea ebx, [edi + 5]
add ebx, edx
jmp 0x42f945
mov ebx, edx
sub ebx, edi
sub ebx, 5
test eax, eax
je 0x42f97e
movzx edx, byte [eax + 0x486f20]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x42f96a
cmp dl, 0xff
jne 0x42f97e
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor edx, ebx
jmp 0x42f931
mov edx, dword [ebp - 4]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
neg cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp - 8]
add edi, ecx
jmp 0x42f880
pop ebx
cmp ecx, 3
jbe 0x42f9c8
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4312d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4312db
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004312f0
Function at 0x43ef9f
Capabilities:
Read .ini file

Disassembly:
push 0x284
mov eax, 0x474655
call fcn.0046e476
mov esi, dword [ebp + 8]
test esi, esi
jne 0x43efbc
xor al, al
jmp 0x43f13b
lea eax, [ecx + 0x20]
push str.login_pic_
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0040f180
xor edi, edi
mov dword [ebp - 4], edi
push str.fileinfo.hash
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00421330
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.0040bbd0
push esi
lea ecx, [ebp - 0x260]
call fcn.0040bcb0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x290]
push eax
call sub.common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_MD5FileSafe_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
mov byte [ebp - 4], 5
xor eax, eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x290]
push eax
call sub.common.dll_bool___cdecl_ierd_tgp::common::u8to16_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
lea eax, [ebp - 0x278]
cmp dword [ebp - 0x234], 8
lea esi, [ebp - 0x248]
lea ecx, [ebp - 0x260]
cmovae esi, dword [ebp - 0x248]
push eax
call sub.common.dll_public:_class_ierd_tgp::filesystem::path___thiscall_ierd_tgp::filesystem::path::filename_void_
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x43f0a4
mov eax, dword [eax]
push esi
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x485d1c
push eax
push str.Hashes
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x278]
call fcn.0040bbd0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov ebx, eax
neg ebx
pop ecx
sbb bl, bl
pop ecx
inc bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.0040bbd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x290]
call fcn.00420c80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.0040bbd0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.0040bbd0
mov al, bl
call fcn.0046e420
ret 4
Function at 0x44a5bc
Capabilities:
Delete file

Disassembly:
push 0x1c
mov eax, 0x4767d8
call fcn.0046e476
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
call sub.common.dll_bool___cdecl_ierd_tgp::common::u8to16_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.0040bbd0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x44a626
call fcn.0043f26a
call fcn.0046e420
ret 8

Function at 0x44adbd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x808], eax
mov eax, dword [ebp + 0x18]
push 0x800
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x804]
push 0
push eax
mov dword [ebp - 0x810], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x804]
push esi
push 0x400
push eax
push edi
push ebx
push dword [ebp - 0x808]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x810]
lea eax, [ebp - 0x804]
push dword [ebp - 0x80c]
push eax
call fcn.0044b3ae
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e3fa
leave
ret 0x18

Function at 0x44afe5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, ecx
xor esi, esi
call fcn.00449417
test eax, eax
jne 0x44b07c
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push 0x104
push eax
push ebx
call fcn.0044af30
push 0x5c
pop eax
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VCRUNTIME140.dll_wcsrchr
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x44b07f
xor eax, eax
mov ecx, edi
mov word [ebx], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.0044afe5
push 0x5c
pop ecx
mov word [ebx], cx
test eax, eax
je 0x44b07f
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x44b07f
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e3fa
leave
ret 4
Function at 0x44b182
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push 0x3ff
push 0x400
push eax
call fcn.004505e1
add esp, 0x24
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e3fa
leave
ret

Function at 0x44b1e3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push 0x104
push eax
push 0
push str.Path
push str.Redirect
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00449523
mov ecx, esi
test eax, eax
jne 0x44b276
lea eax, [ebp - 0x20c]
push eax
call fcn.004494f1
push dword [ebp + 0x10]
test eax, eax
mov ecx, esi
push edi
lea eax, [ebp - 0x20c]
push eax
je 0x44b26f
push ebx
call fcn.00447cc3
jmp 0x44b280
call fcn.0044b1e3
jmp 0x44b280
push ebx
push dword [ebp + 0x10]
push edi
call fcn.0044b107
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e3fa
leave
ret 0xc

Function at 0x44b291
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x430], eax
lea edi, [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x42c], eax
xor eax, eax
stosd dword es:[edi], eax
mov ebx, dword [ebp + 0x10]
push 0xa
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
mov edi, dword [ebp - 0x430]
push eax
push 0x47f27c
push 0x47f280
push 0x47f254
push edi
call fcn.0044adbd
cmp word [ebp - 0x18], 0x31
jne 0x44b301
push dword [ebp + 0x14]
mov ecx, esi
push ebx
push dword [ebp - 0x42c]
jmp 0x44b38b
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x428]
push edi
push 0x104
push eax
push 0
push str.DllPath
push str.DefaultValue
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
mov ecx, esi
push 0x104
push eax
push dword [ebp - 0x42c]
lea eax, [ebp - 0x428]
push eax
call fcn.00447d44
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.004494f1
test eax, eax
mov ecx, esi
lea eax, [ebp - 0x220]
je 0x44b393
push dword [ebp + 0x14]
push ebx
push eax
push edi
call fcn.00447cc3
jmp 0x44b39d
push eax
push dword [ebp + 0x14]
push ebx
call fcn.0044b107
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e3fa
leave
ret 0x10
Function at 0x44c304
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x44c388
cmp byte [esi + 0x3d], 0
je 0x44c388
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x44c359
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 0x44c35d
sub eax, 1
je 0x44c361
dec eax
sub eax, 1
je 0x44c388
xor al, al
jmp 0x44c38a
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x44c37f
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 0x44c359
cmp byte [esi + 0x3d], 0
sete al
jmp 0x44c38a
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046e3fa
leave
ret
Function at 0x44f0ca
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
or ebx, 0xffffffff
push edi
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x44f0ed
xor eax, eax
jmp 0x44f1bb
push esi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x44f122
mov eax, dword [edi + 0x30]
mov ecx, edi
mov edx, dword [edi + 0x20]
mov esi, dword [eax]
add esi, dword [edx]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp eax, esi
jae 0x44f122
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov ecx, dword [ebp + 8]
mov byte [eax], cl
mov eax, ecx
jmp 0x44f1ba
cmp dword [edi + 0x4c], 0
je 0x44f1b8
mov ecx, edi
call fcn.0044ca03
mov ecx, dword [edi + 0x38]
mov al, byte [ebp + 8]
test ecx, ecx
jne 0x44f150
push dword [edi + 0x4c]
push eax
call fcn.004403d9
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x44f1b8
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
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, [edi + 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]
test eax, eax
js 0x44f1b8
cmp eax, 1
jle 0x44f18b
cmp eax, 3
jne 0x44f1b8
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x44f141
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x44f1a9
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x44f1b8
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
jne 0x44f1ba
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046e3fa
leave
ret 4
Function at 0x450422
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x450445
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__::xsgetn_char___long_long___int64__]
jmp 0x4504f6
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x4504ea
jg 0x45046f
test esi, esi
je 0x4504ea
test ecx, ecx
jl 0x4504b6
jg 0x450479
test eax, eax
je 0x4504b6
cmp edi, ecx
jg 0x450489
jl 0x450483
cmp esi, eax
jae 0x450489
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x10]
add esp, 0xc
add dword [ebp + 8], eax
mov ecx, ebx
sub esi, eax
sbb edi, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
jmp 0x4504bc
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test edi, edi
jl 0x4504ea
jg 0x4504c6
test esi, esi
je 0x4504ea
cmp dword [ebx + 0x4c], 0
je 0x4504ea
mov ecx, ebx
call fcn.0044ca03
push dword [ebx + 0x4c]
push esi
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc