joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a517d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4ce4bc]
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 esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov ebx, 0x7f
mov byte [ebp - 0x24], 0x3c
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x11
mov byte [ebp - 0x21], 0x7c
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1f], 0x49
mov byte [ebp - 0x1e], 0x5e
mov byte [ebp - 0x1d], 0xd
mov byte [ebp - 0x1c], 0x7c
mov byte [ebp - 0x1b], 0x68
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0xd
mov byte [ebp - 0x18], 0x14
mov byte [ebp - 0x17], 0x36
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x4a
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x13], 0
cmp byte [ebp - 0x13], 0
jne 0x4838b0
mov byte [ebp - 0x13], 1
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x24]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0x10
jb 0x483890
lea ecx, [ebp - 0x24]
mov dword [esi], 0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4838d0
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call fcn.00413a60
mov byte [ebp - 0x38], 0x49
mov byte [ebp - 0x37], 0x49
mov byte [ebp - 0x36], 0x21
mov byte [ebp - 0x35], 0x35
mov byte [ebp - 0x34], 0x21
mov byte [ebp - 0x33], 0x35
mov byte [ebp - 0x32], 0x11
mov byte [ebp - 0x31], 0x35
mov byte [ebp - 0x30], 0x68
mov byte [ebp - 0x2f], 0x7c
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x6f
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x2c
mov byte [ebp - 0x29], 0x11
mov byte [ebp - 0x28], 0
mov al, byte [ebp - 0x38]
mov byte [ebp - 0x27], 0
cmp byte [ebp - 0x27], 0
mov dword [ebp - 4], 0
jne 0x483963
mov byte [ebp - 0x27], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x38]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [ebp + ecx - 0x38], dl
inc ecx
cmp ecx, 0x10
jb 0x483943
lea edx, [ebp - 0x38]
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
lea ecx, [edx + 1]
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x483982
sub edx, ecx
lea eax, [ebp - 0x38]
push edx
push eax
lea ecx, [esi + 0x18]
call fcn.00413a60
mov eax, esi
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.0049901c
mov esp, ebp
pop ebp
ret
Function at 0x485f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e9f0
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x238], esi
test eax, eax
je 0x4860d1
test edi, edi
je 0x4860d1
xor ecx, ecx
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x234]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48607f
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x23c], 0x208
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
push eax
push 0
push edi
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x486073
cmp dword [ebp - 0x238], 1
jne 0x486073
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486051
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00404580
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.00401900
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4860ea
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4860c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4860c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
jmp 0x4860ea
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
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.0049901c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4874a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5855
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4ce4bc]
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, dword [ebp + 8]
lea eax, [ebp - 0x58]
push 1
push eax
mov dword [ebp - 0x5c], esi
call fcn.0048f660
push str.cfgs_setup.cfg
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.00401590
add esp, 0x14
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x487534
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48752a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48752a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.00404580
push 0x208
mov byte [ebp - 4], 4
call fcn.0049904d
add esp, 4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
push 0x104
push edi
push 0x4a9810
push str.BuildId
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, edi
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4875c2
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.00404580
push edi
call fcn.00499056
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x487619
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48760f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487659
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x487669
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48765f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48765f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
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.0049901c
mov esp, ebp
pop ebp
ret 4
Function at 0x488620
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5acd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4ce2e0], 0xffffffff
jne 0x488798
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.0048f660
push str.cfgs_setup.cfg
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.00401590
add esp, 0x14
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4886b9
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4886af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4886af
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.00404580
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.SupportNewLangs
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x14]
mov dword [0x4ce2e0], eax
cmp edx, 8
jb 0x488748
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48873e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488788
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x488798
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48878e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48878e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
cmp dword [0x4ce2e0], 1
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049901c
mov esp, ebp
pop ebp
ret
Function at 0x488fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, edx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x2c], eax
lea edi, [ecx + 2]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489000
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.00404580
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
push ecx
push 0x20219
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x1c]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4890ab
push dword [ebp - 0x20]
call edi
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
push ecx
push 0x20119
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4890ab
push dword [ebp - 0x20]
call edi
mov esi, 0x80004005
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x4890f9
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4890ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4890ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp + 0x18]
add eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x20]
mov esi, eax
call edi
test esi, esi
jne 0x489074
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x4890eb
cmp eax, 2
jne 0x489074
xor esi, esi
jmp 0x489079
push edx
push ecx
call fcn.0049900e
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0049901c
mov esp, ebp
pop ebp
ret

Function at 0x4892d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x489304
xor al, al
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x14]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x489312
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [esi + 0x14], 8
lea eax, [eax*2 + 2]
jb 0x489328
mov esi, dword [esi]
push eax
push esi
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret
Function at 0x489860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5be0
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x4ce4bc]
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 esi, ecx
mov dword [ebp - 0x334], esi
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x4898a1
mov eax, dword [eax]
push 0x4b3044
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x489a6a
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push ebx
call edi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 0x10
cmp eax, 0x201
jl 0x489a5c
push 0x202
lea eax, [ebp - 0x214]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 2
push 0xfffffdff
push ebx
call edi
push ebx
push 0x201
lea eax, [ebp - 0x214]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x28
cmp byte [ebp - 0x214], 0x3b
jne 0x489a5c
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
push 0x210
mov dword [ebp - 4], 0
call fcn.00498fde
mov edi, eax
mov dword [ebp - 0x330], eax
mov ecx, 0x80
mov dword [ebp - 0x21c], 0x200
lea esi, [ebp - 0x213]
mov dword [ebp - 0x218], 0x20f
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x200]
mov esi, eax
mov byte [edi], 0
push 0x20
mov dword [ebp - 0x22c], esi
call fcn.00498fde
mov ecx, dword [str.0123456789ABCDEF]
push 0x100
mov dword [ebp - 0x330], eax
mov dword [eax], ecx
mov ecx, dword [0x4b74a0]
mov dword [eax + 4], ecx
mov ecx, dword [0x4b74a4]
mov dword [eax + 8], ecx
mov ecx, dword [0x4b74a8]
mov dword [eax + 0xc], ecx
mov byte [eax + 0x10], 0
lea eax, [ebp - 0x32c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x330]
add esp, 0x14
mov ecx, eax
lea edx, [eax + 0x10]
cmp eax, edx
je 0x489a00
jmp 0x4899f0
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x32c], 1
cmp ecx, edx
jne 0x4899f0
mov ecx, esi
cmp esi, edi
jae 0x489a22
jmp 0x489a10
movzx eax, byte [ecx]
cmp byte [ebp + eax - 0x32c], 0
je 0x489a2e
inc ecx
cmp ecx, edi
jb 0x489a10
mov eax, dword [ebp - 0x334]
mov byte [eax + 0x3e], 0
jmp 0x489a3f
sub ecx, esi
cmp ecx, 0xffffffff
je 0x489a22
mov eax, dword [ebp - 0x334]
mov byte [eax + 0x3e], 1
push 0x20
push dword [ebp - 0x330]
call fcn.0049900e
push 0x210
push esi
call fcn.0049900e
add esp, 0x10
jmp 0x489a60
mov byte [esi + 0x3e], 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
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.0049901c
mov esp, ebp
pop ebp
ret
Function at 0x48a700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5d61
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6dc4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d6b20]
cmp eax, dword [ecx + 4]
jg 0x48a773
jmp 0x48a754
mov al, byte [ecx]
inc ecx
test al, al
je 0x48a87b
jmp 0x48a747
mov eax, 0x4d6b08
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049901c
mov esp, ebp
pop ebp
ret
push 0x4d6b20
call fcn.004993df
add esp, 4
cmp dword [0x4d6b20], 0xffffffff
jne 0x48a754
mov byte [ebp - 0x34], 0x69
mov byte [ebp - 0x33], 0x6f
mov byte [ebp - 0x32], 0x4e
mov byte [ebp - 0x31], 0x69
mov byte [ebp - 0x30], 0x2c
mov byte [ebp - 0x2f], 0x11
mov byte [ebp - 0x2e], 0x25
mov byte [ebp - 0x2d], 0x4e
mov byte [ebp - 0x2c], 0x7d
mov byte [ebp - 0x2b], 0x2c
mov byte [ebp - 0x2a], 0x11
mov byte [ebp - 0x29], 0x2c
mov byte [ebp - 0x28], 0x54
mov byte [ebp - 0x27], 0x26
mov byte [ebp - 0x26], 0x18
mov byte [ebp - 0x25], 0x68
mov byte [ebp - 0x24], 0x3a
mov byte [ebp - 0x23], 0x18
mov byte [ebp - 0x22], 4
mov byte [ebp - 0x21], 0x3a
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x4e
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x1c], 0x12
mov byte [ebp - 0x1b], 4
mov byte [ebp - 0x1a], 0x3a
mov byte [ebp - 0x19], 0x18
mov byte [ebp - 0x18], 0x7c
mov byte [ebp - 0x17], 4
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x25
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x13], 0
cmp byte [ebp - 0x13], 0
mov dword [ebp - 4], 0
jne 0x48a852
xor ecx, ecx
mov byte [ebp - 0x13], 1
lea esi, [ecx + 0x7f]
jmp 0x48a830
mov al, byte [ebp + ecx - 0x34]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0x20
jb 0x48a830
jmp 0x48a852
lea ecx, [ebp - 0x34]
mov dword [0x4d6b08], 0
mov dword [0x4d6b18], 0
lea edx, [ecx + 1]
mov dword [0x4d6b1c], 0xf
jmp 0x48a747
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
mov ecx, 0x4d6b08
call fcn.00413a60
push 0x4a7ee0
call fcn.00499297
push 0x4d6b20
call fcn.00499395
add esp, 8
jmp 0x48a754
Function at 0x48df90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a62ad
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 0
je 0x48e193
push 0x11
xor eax, eax
mov dword [ebp - 0x30], 0
push str.ciphertextversion
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00404580
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004887c0
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
call fcn.0048a420
push eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
call fcn.00488530
mov edx, dword [ebp - 0x34]
add esp, 0x18
cmp edx, 0x10
jb 0x48e065
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48e05b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e0e5
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x48e0a7
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48e09d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e0e5
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 8
jb 0x48e0f5
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e0eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e0eb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
mov ecx, esi
jb 0x48e102
mov ecx, dword [esi]
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
push ecx
cmovae eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 0
push eax
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x48e12e
mov word [edi + 0x3c], 0x101
jmp 0x48e157
cmp dword [esi + 0x14], 8
jb 0x48e136
mov esi, dword [esi]
push esi
push 4
lea eax, [ebp - 0x18]
push eax
push 0
push str.ciphertextversion
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x48e157
mov byte [edi + 0x3d], 1
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x48e193
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e189
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e189
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
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.0049901c
mov esp, ebp
pop ebp
ret
Function at 0x490a90
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6dc4]
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d6bb0]
cmp eax, dword [ecx + 4]
jg 0x490c21
cmp dword [0x4ce2d8], 0
jne 0x490bda
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004908e0
mov edi, eax
add esp, 8
cmp edi, 0x4ce2c8
je 0x490b94
mov edx, dword [0x4ce2dc]
cmp edx, 8
jb 0x490b36
mov ecx, dword [0x4ce2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x490b2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490bc1
push edx
push ecx
call fcn.0049900e
add esp, 8
mov dword [0x4ce2d8], 0
xor eax, eax
mov word [0x4ce2c8], ax
mov dword [0x4ce2dc], 7
mov eax, dword [edi]
mov dword [0x4ce2c8], eax
mov eax, dword [edi + 4]
mov dword [0x4ce2cc], eax
mov eax, dword [edi + 8]
mov dword [0x4ce2d0], eax
mov eax, dword [edi + 0xc]
mov dword [0x4ce2d4], eax
mov eax, dword [edi + 0x10]
mov dword [0x4ce2d8], eax
mov eax, dword [edi + 0x14]
mov dword [0x4ce2dc], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 8]
pop edi
cmp edx, 8
jb 0x490bd1
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x490bc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x490bc7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
cmp dword [0x4ce2d8], 0
je 0x490bfc
mov eax, dword [esi + 4]
push 0x4ce2c8
cmp eax, dword [esi + 8]
je 0x490bf4
mov ecx, eax
call fcn.00401f70
add dword [esi + 4], 0x18
jmp 0x490bfc
push eax
mov ecx, esi
call fcn.0040e020
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
mov ecx, dword [ebp - 4]
sar edx, 2
xor ecx, ebp
mov eax, edx
shr eax, 0x1f
add eax, edx
pop esi
call fcn.0049901c
mov esp, ebp
pop ebp
ret
push 0x4d6bb0
call fcn.004993df
add esp, 4
cmp dword [0x4d6bb0], 0xffffffff
jne 0x490ac4
push 0x4a8130
call fcn.00499297
push 0x4d6bb0
call fcn.00499395
add esp, 8
jmp 0x490ac4