joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a170
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x28]
push 0
push esi
push ecx
push edx
push eax
call fcn.004036c0
add esp, 0x24
test ax, ax
je 0x40a1b8
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov word [ecx + 6], ax
pop ebx
ret
cmp word [0x460f18], 0
jne 0x40a249
lea edx, [esp + 0x30]
lea eax, [esp + 0x34]
push edx
push 0
push eax
push 0x4035f0
push 0
push 0
call fcn.004400f2
add esp, 0x18
mov dword [0x460f14], eax
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40a249
mov ax, word [esp + 0x34]
cmp ax, 2
jne 0x40a251
cmp dword [esp + 0x20], 0xffffffff
jne 0x40a21d
test esi, esi
jge 0x40a21d
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 0xffffffffffffffff
jmp 0x40a22a
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.004036c0
mov ecx, dword [0x460f14]
add esp, 0x24
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
test ax, ax
jne 0x40a26b
mov edx, dword [0x460f14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
cmp dword [esp + 0x20], 1
jne 0x40a285
test esi, esi
jle 0x40a285
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 1
jmp 0x40a292
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 0xffffffffffffffff
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.004036c0
mov eax, dword [esp + 0x38]
add esp, 0x24
mov word [eax + 6], 0x46
mov ecx, dword [0x460f14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
ret
Function at 0x40f1e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x461838]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x40f214
call fcn.0040f260
test eax, eax
je 0x40f1fc
or eax, 0xffffffff
pop esi
ret
mov eax, dword [0x461838]
mov dword [0x45d288], 0
test eax, eax
jne 0x40f214
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x40f24e
push ebx
push edi
lea edi, [eax + 1]
mov eax, dword [edx]
xor ebx, ebx
mov bl, byte [esi]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
mov ebx, dword [0x461838]
shr eax, 8
mov ecx, dword [ebx + ecx*4]
inc esi
xor eax, ecx
dec edi
mov dword [edx], eax
jne 0x40f228
pop edi
pop ebx
mov eax, dword [edx]
pop esi
ret

Function at 0x40f260
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call fcn.0043742b
add esp, 4
mov dword [0x461838], eax
test eax, eax
jne 0x40f27a
or eax, 0xffffffff
ret
push esi
xor edx, edx
jmp 0x40f284
mov eax, dword [0x461838]
mov ecx, edx
mov esi, 8
test cl, 1
je 0x40f29a
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40f29c
shr ecx, 1
dec esi
jne 0x40f28b
mov dword [eax + edx*4], ecx
inc edx
cmp edx, 0xff
jle 0x40f27f
xor eax, eax
pop esi
ret
Function at 0x410460
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00414900
add esp, 4
cmp eax, ebx
mov dword [0x4629e4], eax
jne 0x41048d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov ecx, 0x10
xor eax, eax
mov edi, 0x462920
mov dword [0x4629e0], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, 0x4629a0
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, 0x462960
rep stosd dword es:[edi], eax
mov al, byte [0x45fe04]
push 0x45c08c
cmp al, bl
jne 0x4104d8
push str.sntlconfig.xml
call fcn.0043dfb2
add esp, 8
mov esi, eax
jmp 0x4104ed
push 0x45fe04
call fcn.0043dfb2
add esp, 8
mov esi, eax
mov byte [0x45fe04], bl
cmp esi, ebx
jne 0x410509
mov eax, dword [0x4629e4]
push eax
call fcn.00414cb0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 2
push ebx
push esi
call fcn.00440d9b
add esp, 0xc
test eax, eax
je 0x41052c
push esi
call fcn.0043e040
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.00440a84
push ebx
push ebx
push esi
call fcn.00440d9b
add esp, 0x14
test eax, eax
je 0x410559
push esi
call fcn.0043e040
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x10]
inc edx
push edx
call fcn.0043742b
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x41058b
mov eax, dword [0x4629e4]
push eax
call fcn.00414cb0
push esi
call fcn.0043e040
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
inc ecx
mov edi, ebp
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
push eax
push 1
push ebp
call fcn.0043ea41
push esi
mov edi, eax
mov dword [esp + 0x30], ebx
call fcn.0043e040
mov ecx, dword [0x4629e4]
push 0x410b70
push 0x4106b0
push ecx
call fcn.00414e00
mov edx, dword [0x4629e4]
push edi
push edi
push ebp
push edx
call fcn.00414e30
add esp, 0x30
test eax, eax
jne 0x410606
push ebp
call fcn.00437410
mov eax, dword [0x4629e4]
push eax
call fcn.00414cb0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x24]
mov ecx, 0x10
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ebx, [edx + 0x40]
mov ecx, 0x10
mov edi, ebx
mov esi, 0x462a00
rep stosd dword es:[edi], eax
lea edi, [edx + 0x80]
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea edi, [edx + 0xc0]
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x462920
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x4629a0
lea edi, [edx + 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x462960
lea edi, [edx + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4629e0]
mov dword [edx + 0x100], ecx
mov edx, dword [0x4629e4]
push edx
call fcn.00414cb0
push ebp
call fcn.00437410
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x411aa0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebx, 4
sub esi, ecx
lea eax, [edi + ecx]
lea edx, [esp + ebp + 0x10]
add edi, ebx
mov cl, byte [esi + eax]
mov byte [edx], cl
mov byte [eax], cl
add edx, 4
inc eax
dec ebx
jne 0x411ac3
inc ebp
cmp ebp, 4
jl 0x411aab
cmp edi, 0xb0
jge 0x411b7a
mov ebp, 0x45d7a0
xor eax, eax
lea ecx, [esp + 0x10]
inc eax
mov edx, eax
and edx, reloc.WSOCK32.dll_closesocket
jns 0x411afe
dec edx
or edx, 0xfffffffc
inc edx
xor ebx, ebx
add ecx, 4
mov bl, byte [esp + edx*4 + 0x13]
mov dl, byte [ebx + 0x45d5a0]
mov bl, byte [ecx - 4]
xor bl, dl
cmp eax, 4
mov byte [ecx - 4], bl
jl 0x411aee
mov al, byte [ebp]
mov cl, byte [esp + 0x10]
xor cl, al
add ebp, 4
mov byte [esp + 0x10], cl
mov esi, 1
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov dl, byte [eax - 1]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
add eax, 4
dec ecx
jne 0x411b38
inc esi
cmp esi, 4
jl 0x411b2f
xor esi, esi
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov ebx, dword [esp + 0x24]
mov dl, byte [eax]
add eax, 4
mov byte [edi + ebx], dl
inc edi
dec ecx
jne 0x411b58
inc esi
cmp esi, 4
jl 0x411b4f
cmp edi, 0xb0
jl 0x411ae8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x411b90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebp
push esi
call fcn.00411c20
add esp, 8
lea edi, [ebp + 0x10]
mov ebx, 9
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x45d5a0]
mov byte [eax + esi - 1], dl
jl 0x411bb0
push 0
push esi
call fcn.00411c50
push esi
call fcn.00411ca0
push edi
push esi
call fcn.00411c20
add esp, 0x14
add edi, 0x10
dec ebx
jne 0x411bae
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x45d5a0]
mov byte [eax + esi - 1], dl
jl 0x411be5
push 0
push esi
call fcn.00411c50
add ebp, 0xa0
push ebp
push esi
call fcn.00411c20
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x411c20
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push ebx
push esi
sub ecx, eax
mov esi, 0x10
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x411c31
pop esi
pop ebx
ret
Function at 0x411dc0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
lea eax, [ebp + 0xa0]
push eax
push esi
call fcn.00411c20
add esp, 8
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x45d6a0]
mov byte [eax + esi - 1], dl
jl 0x411dde
push 0x10
push esi
call fcn.00411c50
add esp, 8
lea edi, [ebp + 0x90]
mov ebx, 9
push edi
push esi
call fcn.00411c20
push esi
call fcn.00411e50
add esp, 0xc
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x45d6a0]
mov byte [eax + esi - 1], dl
jl 0x411e1b
push 0x10
push esi
call fcn.00411c50
add esp, 8
sub edi, 0x10
dec ebx
jne 0x411e09
push ebp
push esi
call fcn.00411c20
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x411e50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor edi, edi
lea eax, [esp + edi + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, ebp
sub eax, ecx
mov esi, 1
mov dword [esp + 0x10], eax
lea edx, [esi - 2]
and edx, 3
add edx, edi
mov al, byte [edx + ebp]
push eax
push 9
call fcn.00411d70
lea ecx, [esi + 1]
mov bl, al
and ecx, 3
add ecx, edi
mov dl, byte [ecx + ebp]
push edx
push 0xd
call fcn.00411d70
xor bl, al
mov eax, esi
and eax, 3
add eax, edi
mov cl, byte [eax + ebp]
push ecx
push 0xb
call fcn.00411d70
mov edx, dword [esp + 0x28]
xor bl, al
mov eax, dword [esp + 0x40]
mov cl, byte [edx + eax]
push ecx
push 0xe
call fcn.00411d70
add esp, 0x20
xor bl, al
mov eax, dword [esp + 0x28]
inc esi
mov byte [eax], bl
lea edx, [esi - 1]
inc eax
cmp edx, 4
mov dword [esp + 0x28], eax
jl 0x411e76
add edi, 4
cmp edi, 0x10
jl 0x411e5d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
pop edi
mov dword [ebp + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4143d0
Capabilities:
Check if file exists
Get disk information

Disassembly:
sub esp, 0x404
mov eax, dword [esp + 0x418]
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
push edi
lea ecx, [esp + 0x14]
push 0x200
xor ebx, ebx
push ecx
push ebp
mov byte [esp + 0x1f], 0
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x41447f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x414475
mov eax, dword [0x45d8d4]
mov cl, byte [0x45d8d8]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [str.Device_]
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x14], edx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
push ebp
push 1
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x41452a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x414567
mov ecx, dword [0x45d8c8]
mov edi, ebp
mov dword [esp + 0x214], ecx
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [0x45d8cc]
repne scasb al, byte es:[edi]
not ecx
mov byte [esp + 0x218], dl
sub edi, ecx
lea edx, [esp + 0x214]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 3
push eax
mov ecx, edx
push 1
push eax
and ecx, 3
lea eax, [esp + 0x22c]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x414534
mov ecx, dword [esp + 0x428]
mov edx, dword [esp + 0x424]
mov eax, dword [esp + 0x420]
push 0
push ecx
push edx
push eax
lea ecx, [esp + 0x42c]
push 4
push ecx
push 0x170002
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x414521
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41453c
mov byte [esp + 0x13], 1
jmp 0x41447f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov al, byte [esp + 0x13]
test al, al
je 0x414567
lea edx, [esp + 0x14]
push edx
push ebp
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x414567
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x404
ret
Function at 0x41ade0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
mov bx, word [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
cmp bx, 4
mov word [esi], 0
jbe 0x41ae03
pop esi
xor al, al
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.0041aad0
lea ecx, [esp + 0x38]
push 0x10
push ecx
call fcn.0041ab20
lea edx, [esp + 0x18]
push 0x10
push edx
call fcn.0041abc0
lea eax, [esp + 0x18]
push eax
call fcn.00405d20
cmp ax, 0x10
jae 0x41ae43
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea ecx, [esp + 0x28]
lea edx, [esp + 8]
push ecx
push 0x10
push edx
lea eax, [esp + 0x24]
push 0x460e48
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x41aeba
lea edx, [esp + 8]
push 0x2c
push edx
call fcn.0041adb0
cmp ax, 0x10
jae 0x41ae84
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x41aea6
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x41aea6
lea ecx, [esp + 0xa]
push esi
push ecx
call fcn.00405e30
test al, al
jne 0x41aeba
jmp 0x41aeb5
lea edx, [esp + 8]
push esi
push edx
call fcn.00405d90
test al, al
jne 0x41aeba
mov word [esi], 0
mov ax, word [esi]
test ax, ax
je 0x41aed5
cmp ax, 0xffff
je 0x41aed5
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret 8

Function at 0x41aee0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
push ebx
mov bx, word [esp + 0x4c]
push esi
mov esi, dword [esp + 0x54]
cmp bx, 4
mov word [esi], 0
jbe 0x41af03
pop esi
xor al, al
pop ebx
add esp, 0x44
ret 8
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.0041aad0
lea ecx, [esp + 0x28]
push 0x10
push ecx
call fcn.0041ab20
lea edx, [esp + 8]
push 0x10
push edx
call fcn.0041abc0
lea eax, [esp + 8]
push eax
call fcn.00405d20
cmp ax, 0x10
jae 0x41af43
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 8], bl
lea ecx, [esp + 0x18]
lea edx, [esp + 0x38]
push ecx
push 0x14
push edx
lea eax, [esp + 0x14]
push 0x460e48
lea ecx, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x41afb5
lea edx, [esp + 0x38]
push 0x2c
push edx
call fcn.0041adb0
cmp ax, 0x10
jae 0x41afb5
and eax, 0xffff
mov cl, byte [esp + eax + 0x39]
and cl, 0xdf
cmp cl, 0x54
jne 0x41afb5
cmp byte [esp + eax + 0x3a], 0x3a
jne 0x41afb5
lea edx, [esp + eax + 0x3b]
push esi
push edx
call fcn.00405d90
test al, al
je 0x41afb0
mov ax, word [esi]
cmp ax, 1
jl 0x41afb0
cmp ax, 7
jle 0x41afb5
mov word [esi], 0
xor eax, eax
cmp word [esi], ax
pop esi
pop ebx
setne al
add esp, 0x44
ret 8
Function at 0x41afd0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
lea eax, [esp]
push esi
push 0x10
push eax
call fcn.0041aad0
lea ecx, [esp + 0x24]
push 0x10
push ecx
call fcn.0041ab20
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.0041ac80
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.0041ac40
lea ecx, [esp + 4]
lea edx, [esp + 0x34]
push ecx
push 0x10
push edx
lea eax, [esp + 0x20]
push 0x460e48
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
je 0x41b040
lea edx, [esp + 0x34]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.00405bd0
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x50
ret 8

Function at 0x41b050
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp]
push 0x10
push eax
call fcn.0041aad0
lea ecx, [esp + 0x20]
push 0x10
push ecx
call fcn.0041ab20
lea edx, [esp + 0x10]
push 0x10
push edx
call fcn.0041ac00
lea eax, [esp]
lea ecx, [esp + 0x10]
push eax
push 0
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor edx, edx
mov ecx, dword [esp + 0x34]
test eax, eax
setne dl
mov word [ecx], ax
mov al, dl
add esp, 0x30
ret 4

Function at 0x41b0b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
lea eax, [esp]
push esi
mov esi, dword [esp + 0x78]
push 0x10
push 0
push eax
mov word [esi], 0
call fcn.00405d40
lea ecx, [esp + 0x14]
push 0x10
push ecx
call fcn.0041aad0
lea edx, [esp + 0x34]
push 0x10
push edx
call fcn.0041ab20
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.0041ab70
lea ecx, [esp + 0x44]
push 0x10
push ecx
call fcn.0041acd0
lea edx, [esp + 0x54]
push 0x10
push edx
call fcn.0041ad60
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.0041ad20
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
push ecx
push 0x10
push edx
lea eax, [esp + 0x30]
push 0x460e48
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x41b19e
lea edx, [esp + 0x44]
lea eax, [esp + 4]
push edx
push eax
call fcn.00405bd0
test al, al
je 0x41b15f
xor eax, eax
mov word [esi], 2
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea ecx, [esp + 0x54]
lea edx, [esp + 4]
push ecx
push edx
call fcn.00405bd0
test al, al
je 0x41b186
xor eax, eax
mov word [esi], 3
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea eax, [esp + 0x64]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.00405bd0
test al, al
je 0x41b19e
mov word [esi], 1
xor eax, eax
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4

Function at 0x41b1b0
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 0x42f2a0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x18], 0
jmp 0x42f304
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0xa
jge 0x42f3bb
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 3]
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + str.cw]
mov eax, dword [ebp - 0x18]
xor edx, dword [eax*4 + 0x45f10c]
mov cl, byte [ebp - 0x10]
xor cl, dl
mov byte [ebp - 0x10], cl
mov edx, dword [ebp - 2]
and edx, 0xff
mov al, byte [ebp - 0xf]
xor al, byte [edx + str.cw]
mov byte [ebp - 0xf], al
mov ecx, dword [ebp - 1]
and ecx, 0xff
mov dl, byte [ebp - 0xe]
xor dl, byte [ecx + str.cw]
mov byte [ebp - 0xe], dl
mov eax, dword [ebp - 4]
and eax, 0xff
mov cl, byte [ebp - 0xd]
xor cl, byte [eax + str.cw]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
jmp 0x42f2fb
mov esp, ebp
pop ebp
ret
Function at 0x42fd30
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
mov al, byte [ecx + 0x45ec0c]
mov byte [edx], al
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 4]
mov eax, dword [ebp + 8]
mov cl, byte [edx + 0x45ec0c]
mov byte [eax + 4], cl
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 8]
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x45ec0c]
mov byte [ecx + 8], dl
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 0xc]
mov edx, dword [ebp + 8]
mov al, byte [ecx + 0x45ec0c]
mov byte [edx + 0xc], al
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 1]
mov eax, dword [ebp + 8]
mov cl, byte [edx + 0x45ec0c]
mov byte [eax + 5], cl
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 0xd]
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x45ec0c]
mov byte [ecx + 1], dl
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 9]
mov edx, dword [ebp + 8]
mov al, byte [ecx + 0x45ec0c]
mov byte [edx + 0xd], al
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 5]
mov eax, dword [ebp + 8]
mov cl, byte [edx + 0x45ec0c]
mov byte [eax + 9], cl
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 2]
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x45ec0c]
mov byte [ecx + 0xa], dl
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 0xa]
mov edx, dword [ebp + 8]
mov al, byte [ecx + 0x45ec0c]
mov byte [edx + 2], al
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 6]
mov eax, dword [ebp + 8]
mov cl, byte [edx + 0x45ec0c]
mov byte [eax + 0xe], cl
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 0xe]
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x45ec0c]
mov byte [ecx + 6], dl
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 3]
mov edx, dword [ebp + 8]
mov al, byte [ecx + 0x45ec0c]
mov byte [edx + 0xf], al
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 7]
mov eax, dword [ebp + 8]
mov cl, byte [edx + 0x45ec0c]
mov byte [eax + 3], cl
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 0xb]
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x45ec0c]
mov byte [ecx + 7], dl
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 0xf]
mov edx, dword [ebp + 8]
mov al, byte [ecx + 0x45ec0c]
mov byte [edx + 0xb], al
pop ebp
ret