joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cae0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x24]
mov esi, str.softwareSafeNet_SentinelSentinelProtectionServer
rep stosd dword es:[edi], eax
mov ecx, 0xc
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x10], al
lea eax, [esp + 8]
movsw word es:[edi], word [esi]
push eax
push 0x20019
lea ecx, [esp + 0x2c]
push 0
push ecx
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x20], 0x14
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.Protocol
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
call fcn.004291dc
lea ecx, [esp + 0x14]
push str.NETBEUI
push ecx
call fcn.00424ee0
add esp, 0xc
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
add esp, 0x11c
ret

Function at 0x40cb90
Capabilities:
Set registry value

Disassembly:
sub esp, 0x190
mov eax, dword [esp + 0x194]
push esi
push str.softwareSafeNet_SentinelSentinelProtectionServer
lea ecx, [esp + 0x94]
push 0x42cefc
push ecx
mov dword [esp + 0x14], eax
call fcn.0041ecde
mov edx, dword [str.HTTPPort]
mov eax, dword [0x42c038]
mov cl, byte [0x42c03c]
add esp, 0xc
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
lea edx, [esp + 0xc]
lea eax, [esp + 4]
push edx
push eax
push 0
push 2
mov byte [esp + 0x28], cl
push 0
push 0
lea ecx, [esp + 0xa8]
push 0
push ecx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40cc46
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push 4
push edx
push 4
push eax
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x40cc39
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x190
ret
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 0x190
ret
Function at 0x412c00
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
push edi
call fcn.00418070
cmp word [0x430490], 0
mov ebp, eax
jne 0x412c85
lea eax, [esp + 0x10]
push eax
push 0
push 0x430490
push 0x4149d0
push 0
push 0
call fcn.0041e8c8
add esp, 0x18
mov esi, eax
push 0x7530
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x412c5f
cmp eax, 0x102
jne 0x412c68
mov word [0x430490], 1
jmp 0x412c68
mov word [0x430490], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [0x430490], 0
jne 0x412c85
pop edi
pop esi
pop ebp
mov ax, 0x68
pop ebx
pop ecx
ret 8
test edi, edi
jne 0x412c95
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
pop ecx
ret 8
cmp word [ebp + 0x18], 0x7242
lea esi, [ebp + 0x18]
je 0x412cac
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
pop ecx
ret 8
test byte [esi + 0x12], 4
jne 0x412cc4
mov word [esi + 6], 0xb39
pop edi
pop esi
pop ebp
mov ax, 0x39
pop ebx
pop ecx
ret 8
push 0
call fcn.00418970
mov edi, eax
test edi, 0x100
jne 0x412cd7
xor edi, edi
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 0x34]
push eax
push ecx
mov dword [esi + 0xc8], edi
mov word [esi + 0xd0], ax
mov word [esi + 0x30], 8
call fcn.00412db0
xor bl, bl
mov eax, 3
cmp ax, 3
je 0x412d0b
cmp ax, 7
jne 0x412d21
push esi
mov byte [esi + 0xa], bl
call fcn.004184d0
push eax
call fcn.004127c0
inc bl
cmp bl, 3
jbe 0x412cff
cmp ax, 9
jne 0x412d33
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
pop ecx
ret 8
test ax, ax
jne 0x412d9e
mov bl, byte [ebp]
mov byte [esp + 0x18], 0x91
and bl, 0xfc
mov byte [ebp], bl
mov cx, word [esi + 0x3c]
cmp cx, 5
mov al, bl
jne 0x412d5e
or al, 2
mov byte [esp + 0x18], 1
mov byte [ebp], al
jmp 0x412d69
cmp cx, 7
jne 0x412d69
or al, 1
mov byte [ebp], al
test edi, edi
je 0x412d9b
mov edx, dword [esp + 0x18]
mov esi, dword [esi + 0xc8]
push edi
push edx
call fcn.00414450
add esp, 8
cmp esi, eax
je 0x412d9b
push edi
call fcn.00418a80
cmp esi, eax
je 0x412d9b
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
pop ecx
ret 8
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x414450
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xc8]
test bl, 0x80
je 0x4145c0
push esi
mov esi, dword [esp + 0xd0]
mov eax, esi
mov ecx, esi
and eax, 0xff00
xor edx, edx
shl ecx, 0x10
or eax, ecx
mov ecx, esi
and ecx, 0xff0000
push edi
shr esi, 0x10
or ecx, esi
mov esi, ebx
and esi, 0xf
shl eax, 8
shr ecx, 8
cmp esi, 3
ja case.default.0x4144a1
jmp dword [esi*4 + 0x4146c0]
mov edi, 0x20
mov esi, eax
shr esi, 0xd
and esi, 1
mov ebx, esi
xor esi, ecx
shl ebx, 0x1f
shr edx, 1
shl esi, 0x1f
shr eax, 1
or edx, ebx
or esi, eax
shr ecx, 1
dec edi
mov eax, esi
jne 0x4144ad
jmp case.default.0x4144a1
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xffff0000
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xfffff000
shl ebx, 0xc
xor edi, ebx
mov ebx, eax
shl edi, 8
and ebx, 0xfff00000
xor edi, ebx
shl edi, 0xb
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x4144d8
jmp case.default.0x4144a1
push ebp
mov edi, 0x20
mov esi, ecx
mov ebp, eax
and esi, 1
and ebp, 0xfff80000
mov ebx, esi
shl ebx, 0x13
xor ebx, ebp
shl ebx, 0xc
shr edx, 1
or edx, ebx
mov ebx, eax
and bl, 0
shl esi, 8
xor ebx, esi
mov esi, eax
shl ebx, 0xf
and esi, 0xff800000
xor ebx, esi
shl ebx, 8
shr eax, 1
or eax, ebx
shr ecx, 1
dec edi
jne 0x41451a
pop ebp
jmp case.default.0x4144a1
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xfffff800
shl ebx, 0xb
xor edi, ebx
mov ebx, eax
shl edi, 5
and ebx, 0xffff0000
xor edi, ebx
mov ebx, ecx
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xffffff80
shl ebx, 7
xor edi, ebx
mov ebx, eax
shl edi, 0x12
and ebx, 0xfe000000
xor edi, ebx
shl edi, 6
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x414560
xor eax, eax
pop edi
mov al, dh
pop esi
mov ah, dl
and edx, 0xffff0000
or eax, edx
pop ebx
add esp, 0xc0
ret
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0xc], 0x29
mov byte [esp + 0xd], 0x56
mov byte [esp + 0xe], 0xb2
mov byte [esp + 0xf], 0x39
mov byte [esp + 0x10], 0xa0
mov byte [esp + 0x11], 0xce
mov byte [esp + 0x12], 0xeb
mov byte [esp + 0x13], 0x87
mov byte [esp + 0x14], 0x52
mov byte [esp + 0x15], 0xb4
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], 0xfb
mov byte [esp + 0x18], 0xc
mov byte [esp + 0x19], 0x94
mov byte [esp + 0x1a], 0x37
mov byte [esp + 0x1b], 0x71
call fcn.00418f80
mov eax, dword [esp + 0xd4]
and ebx, 0xff
mov byte [esp + 0xc], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [esp + 0xf], al
mov al, bl
mov ah, al
mov ebx, eax
shl ebx, 0x10
shr ecx, 8
shr edx, 0x10
mov bx, ax
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], dl
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
push ecx
push edx
mov dword [esp + 0x20], ebx
call fcn.00419070
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00418f80
mov eax, dword [esp + 0x1f]
mov edx, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1d]
and eax, 0xff
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
mov edx, dword [esp + 0x1c]
shl eax, 8
or eax, ecx
add esp, 0x18
shl eax, 8
and edx, 0xff
pop ebx
or eax, edx
add esp, 0xc0
ret
Function at 0x4156f0
Capabilities:
Create thread

Disassembly:
sub esp, 8
mov ecx, dword [0x430494]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp], 0x103
je 0x415765
call fcn.00419fb0
mov edx, dword [0x430494]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x41a040
push 0
push 0
call fcn.0041e8c8
add esp, 0x18
mov dword [0x430494], eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 0
push 0
call fcn.00419f70
add esp, 8
mov ax, 1
add esp, 8
ret

Function at 0x418c70
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edi
mov edi, dword [esi + 0xc]
mov edx, 0xc6ef3720
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 8]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
shl esi, 4
add esi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
sub eax, esi
mov esi, eax
shl esi, 4
add esi, ebx
mov ebx, eax
shr ebx, 5
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add edx, 0x61c88647
sub ecx, esi
dec edi
jne 0x418ca9
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
add esp, 0xc
ret 8

Function at 0x418d50
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
sub edx, 0x61c88647
shl esi, 4
add esi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
add eax, esi
mov esi, eax
shl esi, 4
add esi, ebx
mov ebx, eax
shr ebx, 5
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add ecx, esi
dec edi
jne 0x418d86
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x418f80
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 0x418fa3
inc ebp
cmp ebp, 4
jl 0x418f8b
cmp edi, 0xb0
jge 0x41905a
mov ebp, 0x42dd54
xor eax, eax
lea ecx, [esp + 0x10]
inc eax
mov edx, eax
and edx, reloc.WSOCK32.dll_closesocket
jns 0x418fde
dec edx
or edx, 0xfffffffc
inc edx
xor ebx, ebx
add ecx, 4
mov bl, byte [esp + edx*4 + 0x13]
mov dl, byte [ebx + str.cw]
mov bl, byte [ecx - 4]
xor bl, dl
cmp eax, 4
mov byte [ecx - 4], bl
jl 0x418fce
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 0x419018
inc esi
cmp esi, 4
jl 0x41900f
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 0x419038
inc esi
cmp esi, 4
jl 0x41902f
cmp edi, 0xb0
jl 0x418fc8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x419070
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.00419100
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 + str.cw]
mov byte [eax + esi - 1], dl
jl 0x419090
push 0
push esi
call fcn.00419130
push esi
call fcn.00419180
push edi
push esi
call fcn.00419100
add esp, 0x14
add edi, 0x10
dec ebx
jne 0x41908e
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + str.cw]
mov byte [eax + esi - 1], dl
jl 0x4190c5
push 0
push esi
call fcn.00419130
add ebp, 0xa0
push ebp
push esi
call fcn.00419100
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x419100
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 0x419111
pop esi
pop ebx
ret
Function at 0x4192a0
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.00419100
add esp, 8
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x42dc54]
mov byte [eax + esi - 1], dl
jl 0x4192be
push 0x10
push esi
call fcn.00419130
add esp, 8
lea edi, [ebp + 0x90]
mov ebx, 9
push edi
push esi
call fcn.00419100
push esi
call fcn.00419330
add esp, 0xc
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x42dc54]
mov byte [eax + esi - 1], dl
jl 0x4192fb
push 0x10
push esi
call fcn.00419130
add esp, 8
sub edi, 0x10
dec ebx
jne 0x4192e9
push ebp
push esi
call fcn.00419100
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x419330
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.00419250
lea ecx, [esi + 1]
mov bl, al
and ecx, 3
add ecx, edi
mov dl, byte [ecx + ebp]
push edx
push 0xd
call fcn.00419250
xor bl, al
mov eax, esi
and eax, 3
add eax, edi
mov cl, byte [eax + ebp]
push ecx
push 0xb
call fcn.00419250
mov edx, dword [esp + 0x28]
xor bl, al
mov eax, dword [esp + 0x40]
mov cl, byte [edx + eax]
push ecx
push 0xe
call fcn.00419250
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 0x419356
add edi, 4
cmp edi, 0x10
jl 0x41933d
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 0x419480
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call fcn.0041a880
mov ebp, dword [esp + 0x18]
add esp, 4
test ebp, ebp
je 0x419555
mov al, byte [esi + 1]
and al, 0xf
cmp al, 0xf
je 0x4194ad
pop edi
pop esi
mov ax, 0x1d02
pop ebp
ret
xor eax, eax
mov cl, byte [eax + esi + 8]
mov byte [eax + esi], cl
inc eax
cmp eax, 0x40
jb 0x4194af
push esi
push ebp
call fcn.004192a0
add esp, 8
xor eax, eax
mov dl, byte [eax + esi + 0x10]
mov cl, byte [eax + esi]
xor cl, dl
mov byte [eax + esi], cl
inc eax
cmp eax, 0x10
jb 0x4194c8
lea edi, [esi + 0x10]
push ebx
push edi
push ebp
call fcn.004192a0
mov ecx, 0xfffffff0
add esp, 8
mov eax, edi
sub ecx, esi
mov dl, byte [eax + 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x4194f1
lea edi, [esi + 0x20]
push edi
push ebp
call fcn.004192a0
mov ecx, 0xffffffe0
add esp, 8
mov eax, edi
sub ecx, esi
mov dl, byte [eax + 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x419519
lea eax, [esi + 0x30]
push eax
push ebp
call fcn.004192a0
mov cl, byte [esi + 6]
mov al, byte [esi + 0x3e]
add esp, 8
cmp cl, al
pop ebx
jne case.0x41958f.4
mov dl, byte [esi + 7]
mov al, byte [esi + 0x3f]
cmp dl, al
je 0x419555
pop edi
pop esi
mov ax, 0x1d02
pop ebp
ret
mov dl, byte [esi + 4]
mov cl, byte [esi + 5]
xor eax, eax
mov al, byte [esi + 1]
mov edi, eax
add eax, edx
mov dl, byte [esi + 3]
add ecx, eax
mov al, byte [esi + 2]
add ecx, edx
add eax, ecx
xor ecx, ecx
mov cl, byte [esi]
and eax, 0xff
xor eax, ecx
je 0x419585
pop edi
pop esi
mov ax, 0x1d0d
pop ebp
ret
mov eax, edi
and eax, 0xf
cmp eax, 7
ja case.default.0x41958f
jmp dword [eax*4 + 0x4195d8]
pop edi
pop esi
xor ax, ax
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d41
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d04
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d0a
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d15
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d42
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d3f
pop ebp
ret
pop edi
pop esi
mov ax, 0x1dff
pop ebp
ret
Function at 0x41a4c0
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 0x41a4e3
pop esi
xor al, al
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.0041a1b0
lea ecx, [esp + 0x38]
push 0x10
push ecx
call fcn.0041a200
lea edx, [esp + 0x18]
push 0x10
push edx
call fcn.0041a2a0
lea eax, [esp + 0x18]
add bl, 0x31
push eax
call fcn.00418120
and eax, 0xffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc]
mov byte [esp + eax + 0x1c], bl
push 0x10
push edx
lea eax, [esp + 0x24]
push 0x42fdf0
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x41a593
lea edx, [esp + 8]
push 0x2c
push edx
call fcn.0041a490
test ax, ax
je 0x41a55d
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x41a57f
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x41a57f
lea ecx, [esp + 0xa]
push esi
push ecx
call fcn.00418230
test al, al
jne 0x41a593
jmp 0x41a58e
lea edx, [esp + 8]
push esi
push edx
call fcn.00418190
test al, al
jne 0x41a593
mov word [esi], 0
mov ax, word [esi]
test ax, ax
je 0x41a5ae
cmp ax, 0xffff
je 0x41a5ae
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 0x41a5c0
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 0x41a5e3
pop esi
xor al, al
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.0041a1b0
lea ecx, [esp + 0x38]
push 0x10
push ecx
call fcn.0041a200
lea edx, [esp + 0x18]
push 0x10
push edx
call fcn.0041a2a0
lea eax, [esp + 0x18]
add bl, 0x31
push eax
call fcn.00418120
and eax, 0xffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc]
mov byte [esp + eax + 0x1c], bl
push 0x10
push edx
lea eax, [esp + 0x24]
push 0x42fdf0
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x41a68e
lea edx, [esp + 8]
push 0x2c
push edx
call fcn.0041a490
test ax, ax
je 0x41a68e
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x41a68e
cmp byte [esp + eax + 0xa], 0x3a
jne 0x41a68e
lea edx, [esp + eax + 0xb]
push esi
push edx
call fcn.00418190
test al, al
je 0x41a689
mov ax, word [esi]
cmp ax, 1
jl 0x41a689
cmp ax, 7
jle 0x41a68e
mov word [esi], 0
xor eax, eax
cmp word [esi], ax
pop esi
pop ebx
setne al
add esp, 0x40
ret 8
Function at 0x41a6a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
lea eax, [esp]
push esi
push 0x10
push eax
call fcn.0041a1b0
lea ecx, [esp + 0x24]
push 0x10
push ecx
call fcn.0041a200
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.0041a360
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.0041a320
lea ecx, [esp + 4]
lea edx, [esp + 0x34]
push ecx
push 0x10
push edx
lea eax, [esp + 0x20]
push 0x42fdf0
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
je 0x41a710
lea edx, [esp + 0x34]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.00417fd0
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 0x41a720
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp]
push 0x10
push eax
call fcn.0041a1b0
lea ecx, [esp + 0x20]
push 0x10
push ecx
call fcn.0041a200
lea edx, [esp + 0x10]
push 0x10
push edx
call fcn.0041a2e0
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 0x41a780
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.00418140
lea ecx, [esp + 0x14]
push 0x10
push ecx
call fcn.0041a1b0
lea edx, [esp + 0x34]
push 0x10
push edx
call fcn.0041a200
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.0041a250
lea ecx, [esp + 0x44]
push 0x10
push ecx
call fcn.0041a3b0
lea edx, [esp + 0x54]
push 0x10
push edx
call fcn.0041a440
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.0041a400
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
push ecx
push 0x10
push edx
lea eax, [esp + 0x30]
push 0x42fdf0
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x41a86e
lea edx, [esp + 0x44]
lea eax, [esp + 4]
push edx
push eax
call fcn.00417fd0
test al, al
je 0x41a82f
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.00417fd0
test al, al
je 0x41a856
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.00417fd0
test al, al
je 0x41a86e
mov word [esi], 1
xor eax, eax
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4