joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68df20
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4052f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x4c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402c48
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.0068e140
movsx eax, ax
test eax, eax
je 0x68e0b6
mov dword [ebp - 4], 4
call fcn.00416fb8
mov dword [ebp - 0x50], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea ecx, [ebp - 0x3c]
push ecx
push 0x28
mov edx, dword [ebp - 0x50]
push edx
call fcn.00416f6c
mov dword [ebp - 0x54], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor eax, eax
cmp dword [ebp - 0x54], 0
sete al
neg eax
movsx ecx, ax
test ecx, ecx
je 0x68dfe0
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00417048
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 7
lea eax, [ebp - 0x34]
push eax
push 0x41e0fc
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0x416b68
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.004173e0
mov dword [ebp - 0x50], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor eax, eax
cmp dword [ebp - 0x50], 0
sete al
neg eax
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
movsx eax, word [ebp - 0x58]
test eax, eax
je 0x68e059
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00417048
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x2c], 2
mov dword [ebp - 4], 0xc
push 0
push 0
push 0
lea edx, [ebp - 0x38]
push edx
push 0
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00417480
mov dword [ebp - 0x50], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
cmp dword [ebp - 0x50], 0
jne 0x68e0b6
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00417048
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x10
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0xffffffffffffffff
push 1
call fcn.00416e30
mov dword [ebp - 0x50], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0x11
push 0
mov edx, dword [ebp - 0x44]
push edx
call fcn.00417004
mov dword [ebp - 0x50], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0x12
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], ecx
push 0x68e125
jmp 0x68e124
ret
Function at 0x1a77de0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7f1000]
push edi
or ebp, 0xffffffff
jmp 0x1a77e02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1a77e09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a77df8
mov eax, 1
add ebx, ebx
jne 0x1a77e1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1a77e2c
jne 0x1a77e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a77e4b
dec eax
add ebx, ebx
jne 0x1a77e38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1a77e10
add ebx, ebx
jne 0x1a77e47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1a77e9d
xor ecx, ecx
sub eax, 3
jb 0x1a77e63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1a77ed2
sar eax, 1
mov ebp, eax
jmp 0x1a77e6e
add ebx, ebx
jne 0x1a77e6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a77e3c
inc ecx
add ebx, ebx
jne 0x1a77e7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a77e3c
add ebx, ebx
jne 0x1a77e89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1a77e7e
jne 0x1a77e9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a77e7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1a77ebc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1a77eae
jmp 0x1a77dfe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1a77ebc
add edi, ecx
jmp 0x1a77dfe
pop esi
mov edi, esi
mov ecx, 0x2e433
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1a77eda
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1a77edf
lea edi, [esi + 0xb73000]
mov eax, dword [edi]
or eax, eax
je 0x1a77f47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbf4248]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbf4374]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1a77f05
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbf4378]
or eax, eax
je 0x1a77f41
mov dword [ebx], eax
add ebx, 4
jmp 0x1a77f22
call dword [esi + 0xbf4388]
mov ebp, dword [esi + 0xbf437c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1a77f7b
sub esp, 0xffffff80
jmp 0x150b6f0
Function at 0x421070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d6a0]
jne 0x42107a
repz ret
jmp fcn.0042835c

Function at 0x42fb7a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00427d4a
and dword [ebp - 4], 0
cmp dword [0x451624], 0
mov ebx, eax
jne 0x42fc2b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42fcdc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x441a10
push edi
call esi
test eax, eax
je 0x42fcdc
push eax
call fcn.00427cd8
mov dword [esp], 0x441a00
push edi
mov dword [0x451624], eax
call esi
push eax
call fcn.00427cd8
mov dword [esp], 0x4419ec
push edi
mov dword [0x451628], eax
call esi
push eax
call fcn.00427cd8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45162c], eax
call esi
push eax
call fcn.00427cd8
pop ecx
mov dword [0x451634], eax
test eax, eax
je 0x42fc2b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00427cd8
pop ecx
mov dword [0x451630], eax
mov eax, dword [0x451630]
cmp eax, ebx
je 0x42fc83
cmp dword [0x451634], ebx
je 0x42fc83
push eax
call fcn.00427d53
push dword [0x451634]
mov esi, eax
call fcn.00427d53
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42fc83
test edi, edi
je 0x42fc83
call esi
test eax, eax
je 0x42fc7a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42fc7a
test byte [ebp - 0xc], 1
jne 0x42fc83
or dword [ebp + 0x10], 0x200000
jmp 0x42fcbc
mov eax, dword [0x451628]
cmp eax, ebx
je 0x42fcbc
push eax
call fcn.00427d53
pop ecx
test eax, eax
je 0x42fcbc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42fcbc
mov eax, dword [0x45162c]
cmp eax, ebx
je 0x42fcbc
push eax
call fcn.00427d53
pop ecx
test eax, eax
je 0x42fcbc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x451624]
call fcn.00427d53
pop ecx
test eax, eax
je 0x42fcdc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42fcde
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4340dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x443930
cmp edx, dword [eax]
je 0x4340ff
add eax, 8
inc ecx
cmp eax, 0x4439c0
jl 0x4340f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x443930]
jne 0x43422d
mov eax, dword [0x4445a8]
cmp eax, 1
je 0x434207
test eax, eax
jne 0x434130
cmp dword [0x4411a4], 1
je 0x434207
cmp edx, 0xfc
je 0x43422d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x434167
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004339a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004307d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4341aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004307d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x438b44
push edi
call fcn.004353f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004339a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004339b0
lea eax, [ebp - 0xa0]
push 0x43f420
push eax
call fcn.004339b0
push dword [esi + 0x443934]
lea eax, [ebp - 0xa0]
push eax
call fcn.004339b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00435603
add esp, 0x2c
pop edi
jmp 0x43422d
lea eax, [ebp + 8]
lea esi, [esi + 0x443934]
push 0
push eax
push dword [esi]
call fcn.004307d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x37ea10be
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x42cd70
nop
nop
mov ecx, 0xf816fac
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40100f
Capabilities:
Query environment variable

Disassembly:
jmp 0x4061e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
ret
Function at 0x401032
Capabilities:
Terminate process

Disassembly:
jmp 0x405350
mov eax, 0x25bc
call fcn.0049d0d0
mov eax, dword [0x5dca44]
xor eax, esp
mov dword [esp + 0x25b8], eax
push ebx
push esi
mov esi, dword [esp + 0x25cc]
push edi
mov edi, dword [esp + 0x25cc]
push str.CDS_LIC_ONLY1
mov dword [0x5e34c0], edi
mov dword [0x5e34c4], esi
call fcn.004a40c2
add esp, 4
test eax, eax
je 0x4053b8
push str.ERROR:_could_not_successfully_turn_on_environment_variable_CDS_LIC_ONLY_for_perf_test._n
call fcn.0049a891
call fcn.0049a716
add eax, 0x20
push eax
call fcn.0049a6ba
add esp, 8
push 1
call fcn.0049af88
fld1
xor edx, edx
mov dword [esp + 0x25b8], edx
mov dword [esp + 0x25bc], edx
xor eax, eax
lea ecx, [esp + 0xc]
mov byte [ecx], dl
fst qword [esp + eax*8 + 0x1f64]
add eax, 1
add ecx, 0x23
cmp eax, 0xc8
jl 0x4053d0
push esi
fstp st(0)
push edi
lea ebx, [esp + 0x14]
mov dword [esp + 0x25ac], 0x64
mov dword [esp + 0x25b0], 0x32
mov byte [esp + 0x1b6c], dl
mov byte [esp + 0x1d6c], dl
mov dword [esp + 0x25b4], edx
mov dword [esp + 0x25b8], 0xe10
mov dword [esp + 0x25bc], edx
call fcn.00401580
add esp, 8
cmp dword [esp + 0x25b4], 0
jne 0x405448
mov dword [esp + 0x25b4], 1
cmp dword [esp + 0x25b8], 0
jne 0x405493
push str.ERROR:_No_feature_specified._n
call fcn.0049a891
call fcn.0049a716
add eax, 0x20
push eax
call fcn.0049a6ba
push str._______Please_specify_one_or_more_features_with_the__f_option._n
call fcn.0049a891
call fcn.0049a716
add eax, 0x20
push eax
call fcn.0049a6ba
mov edi, dword [esi]
add esp, 0x10
call fcn.004010f0
push 1
call fcn.0049af88
cmp byte [esp + 0x1b64], 0
je 0x4054b7
lea eax, [esp + 0x1b64]
push 0x5a89c0
push eax
call fcn.0049ced1
add esp, 8
mov dword [0x5e34cc], eax
cmp byte [esp + 0x1d64], 0
je 0x4054dd
lea ecx, [esp + 0x1d64]
push 0x5a89c0
push ecx
call fcn.0049ced1
add esp, 8
mov dword [0x5e34c8], eax
jmp 0x4054e2
mov eax, dword [0x5e34c8]
test eax, eax
je 0x405510
push str.__xml_version_1.0__encoding_ISO_8859_1____n
push eax
call fcn.0049aa1d
mov edx, dword [0x5e34c8]
push str._tests__n
push edx
call fcn.0049aa1d
mov eax, dword [0x5e34c8]
push eax
call fcn.0049a6ba
add esp, 0x14
push 0x401064
push 2
call fcn.0049d5ec
mov ecx, dword [0x5e34d0]
add esp, 8
push ecx
mov eax, 0x25b8
lea esi, [esp + 0x10]
call fcn.0049d0d0
mov ecx, 0x96e
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404ff0
mov eax, dword [0x5e34cc]
add esp, 0x25bc
test eax, eax
je 0x40555a
push eax
call fcn.0049cc0a
add esp, 4
mov eax, dword [0x5e34c8]
test eax, eax
je 0x405588
push str.__tests__n
push eax
call fcn.0049aa1d
mov edx, dword [0x5e34c8]
push edx
call fcn.0049a6ba
mov eax, dword [0x5e34c8]
push eax
call fcn.0049cc0a
add esp, 0x10
mov ecx, dword [esp + 0x25c4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049c81f
add esp, 0x25bc
ret
Function at 0x405350
Capabilities:
Terminate process

Disassembly:
jmp 0x405350
mov eax, 0x25bc
call fcn.0049d0d0
mov eax, dword [0x5dca44]
xor eax, esp
mov dword [esp + 0x25b8], eax
push ebx
push esi
mov esi, dword [esp + 0x25cc]
push edi
mov edi, dword [esp + 0x25cc]
push str.CDS_LIC_ONLY1
mov dword [0x5e34c0], edi
mov dword [0x5e34c4], esi
call fcn.004a40c2
add esp, 4
test eax, eax
je 0x4053b8
push str.ERROR:_could_not_successfully_turn_on_environment_variable_CDS_LIC_ONLY_for_perf_test._n
call fcn.0049a891
call fcn.0049a716
add eax, 0x20
push eax
call fcn.0049a6ba
add esp, 8
push 1
call fcn.0049af88
fld1
xor edx, edx
mov dword [esp + 0x25b8], edx
mov dword [esp + 0x25bc], edx
xor eax, eax
lea ecx, [esp + 0xc]
mov byte [ecx], dl
fst qword [esp + eax*8 + 0x1f64]
add eax, 1
add ecx, 0x23
cmp eax, 0xc8
jl 0x4053d0
push esi
fstp st(0)
push edi
lea ebx, [esp + 0x14]
mov dword [esp + 0x25ac], 0x64
mov dword [esp + 0x25b0], 0x32
mov byte [esp + 0x1b6c], dl
mov byte [esp + 0x1d6c], dl
mov dword [esp + 0x25b4], edx
mov dword [esp + 0x25b8], 0xe10
mov dword [esp + 0x25bc], edx
call fcn.00401580
add esp, 8
cmp dword [esp + 0x25b4], 0
jne 0x405448
mov dword [esp + 0x25b4], 1
cmp dword [esp + 0x25b8], 0
jne 0x405493
push str.ERROR:_No_feature_specified._n
call fcn.0049a891
call fcn.0049a716
add eax, 0x20
push eax
call fcn.0049a6ba
push str._______Please_specify_one_or_more_features_with_the__f_option._n
call fcn.0049a891
call fcn.0049a716
add eax, 0x20
push eax
call fcn.0049a6ba
mov edi, dword [esi]
add esp, 0x10
call fcn.004010f0
push 1
call fcn.0049af88
cmp byte [esp + 0x1b64], 0
je 0x4054b7
lea eax, [esp + 0x1b64]
push 0x5a89c0
push eax
call fcn.0049ced1
add esp, 8
mov dword [0x5e34cc], eax
cmp byte [esp + 0x1d64], 0
je 0x4054dd
lea ecx, [esp + 0x1d64]
push 0x5a89c0
push ecx
call fcn.0049ced1
add esp, 8
mov dword [0x5e34c8], eax
jmp 0x4054e2
mov eax, dword [0x5e34c8]
test eax, eax
je 0x405510
push str.__xml_version_1.0__encoding_ISO_8859_1____n
push eax
call fcn.0049aa1d
mov edx, dword [0x5e34c8]
push str._tests__n
push edx
call fcn.0049aa1d
mov eax, dword [0x5e34c8]
push eax
call fcn.0049a6ba
add esp, 0x14
push 0x401064
push 2
call fcn.0049d5ec
mov ecx, dword [0x5e34d0]
add esp, 8
push ecx
mov eax, 0x25b8
lea esi, [esp + 0x10]
call fcn.0049d0d0
mov ecx, 0x96e
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404ff0
mov eax, dword [0x5e34cc]
add esp, 0x25bc
test eax, eax
je 0x40555a
push eax
call fcn.0049cc0a
add esp, 4
mov eax, dword [0x5e34c8]
test eax, eax
je 0x405588
push str.__tests__n
push eax
call fcn.0049aa1d
mov edx, dword [0x5e34c8]
push edx
call fcn.0049a6ba
mov eax, dword [0x5e34c8]
push eax
call fcn.0049cc0a
add esp, 0x10
mov ecx, dword [esp + 0x25c4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049c81f
add esp, 0x25bc
ret
Function at 0x40b430
Capabilities:
Get hostname

Disassembly:
sub esp, 0x30
mov eax, dword [0x5dca44]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x62db50]
test eax, eax
push esi
push edi
je 0x40b460
push 0x5b22f8
push str.c:Program_FilesCadence_Design_SystemsCadence_License_Managerlicense.dat
push eax
call fcn.0040b1a0
add esp, 0xc
mov edi, eax
jmp 0x40b462
xor edi, edi
push str.CDS_LIC_FILE
call fcn.0049f044
push eax
call fcn.0040b110
mov esi, eax
push esi
call fcn.0040b2d0
add esp, 0xc
test esi, esi
mov edi, eax
je 0x40b493
push esi
call fcn.0049b3e3
add esp, 4
sub dword [0x62db60], 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x10], 0x28
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x40b4d0
mov edx, dword [0x5b22ec]
mov eax, dword [0x5b22f0]
mov cx, word [0x5b22f4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
mov edi, edi
push 0
call fcn.0040b2d0
push str.CDS_LIC_ONLY
mov edi, eax
call fcn.0049f044
add esp, 8
test eax, eax
jne 0x40b51b
push 0x5b22cc
call fcn.0049f044
push eax
call fcn.0040b110
mov esi, eax
push esi
call fcn.0040b2d0
add esp, 0xc
test esi, esi
mov edi, eax
je 0x40b51b
push esi
call fcn.0049b3e3
add esp, 4
sub dword [0x62db60], 4
call fcn.0040b3b0
mov esi, eax
push esi
call fcn.0040b2d0
add esp, 4
test esi, esi
mov edi, eax
je 0x40b541
push esi
call fcn.0049b3e3
add esp, 4
sub dword [0x62db60], 4
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0049c81f
add esp, 0x30
ret
Function at 0x421840
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x50]
mov bx, word [esp + 0x4c]
cmp bx, 4
mov word [esi], 0
jbe 0x421863
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.004214a0
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00421500
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.004215c0
lea eax, [esp + 0x18]
push eax
call fcn.00420ea0
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push 0x10
push eax
lea eax, [esp + 0x24]
push 0x421830
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x421914
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.00421810
or ax, ax
je 0x4218dc
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x421900
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x421900
lea eax, [esp + 0xa]
push esi
push eax
call fcn.00420fb0
or al, al
jne 0x421914
jmp 0x42190f
lea eax, [esp + 8]
push esi
push eax
call fcn.00420f00
or al, al
jne 0x421914
mov word [esi], 0
mov ax, word [esi]
or ax, ax
je 0x42192c
cmp ax, 0xffff
je 0x42192c
mov al, 1
pop esi
pop ebx
add esp, 0x40
ret 8
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x421950
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x50]
mov bx, word [esp + 0x4c]
cmp bx, 4
mov word [esi], 0
jbe 0x421973
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.004214a0
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00421500
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.004215c0
lea eax, [esp + 0x18]
push eax
call fcn.00420ea0
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push 0x10
push eax
lea eax, [esp + 0x24]
push 0x421940
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x421a24
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.00421810
or ax, ax
je 0x421a24
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x421a24
cmp byte [esp + eax + 0xa], 0x3a
jne 0x421a24
push esi
lea eax, [esp + eax + 0xf]
push eax
call fcn.00420f00
or al, al
jne 0x421a10
jmp 0x421a1f
mov ax, word [esi]
cmp ax, 1
jl 0x421a1f
cmp ax, 6
jle 0x421a24
mov word [esi], 0
cmp word [esi], 1
sbb al, al
inc al
pop esi
pop ebx
add esp, 0x40
ret 8
Function at 0x421a50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
push esi
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.004214a0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.00421500
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.004216b0
lea eax, [esp + 4]
push 0x10
push eax
call fcn.00421660
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push 0x10
push eax
lea eax, [esp + 0x40]
push 0x421a40
push eax
lea eax, [esp + 0x38]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov esi, eax
or esi, esi
je 0x421abf
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.00420d30
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
cmp esi, 1
sbb al, al
inc al
pop esi
add esp, 0x50
ret 8

Function at 0x421ad0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.004214a0
lea eax, [esp]
push 0x10
push eax
call fcn.00421500
lea eax, [esp + 0x10]
push 0x10
push eax
call fcn.00421610
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esp + 0xc]
push eax
call sub.KERNEL32.dll_GetPrivateProfileIntA
mov ecx, dword [esp + 0x34]
cmp eax, 1
mov word [ecx], ax
sbb cl, cl
inc cl
mov al, cl
add esp, 0x30
ret 4

Function at 0x421b40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
push esi
mov esi, dword [esp + 0x78]
push 0x10
mov word [esi], 0
lea eax, [esp + 8]
push 0
push eax
call fcn.00420ec0
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.004214a0
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.00421500
lea eax, [esp + 0x54]
push 0x10
push eax
call fcn.00421560
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.00421710
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.004217c0
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.00421770
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 8]
push 0x10
push eax
lea eax, [esp + 0x60]
push 0x421b30
push eax
lea eax, [esp + 0x58]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x421c13
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 8]
push eax
call fcn.00420d30
or al, al
je 0x421be1
mov word [esi], 2
jmp 0x421c13
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 8]
push eax
call fcn.00420d30
or al, al
je 0x421bfb
mov word [esi], 3
jmp 0x421c13
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.00420d30
or al, al
je 0x421c13
mov word [esi], 1
cmp word [esi], 1
sbb al, al
inc al
pop esi
add esp, 0x70
ret 4