joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401496
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x406474]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0040159b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x401517
cmp dword [ebp - 0x1c], 5
jb 0x4014e7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4062f8
call fcn.0040152b
test eax, eax
jl 0x40469e
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401dc8
add ebp, 0x78
leave
ret
cmp dword [ebp - 0x10], 1
je 0x404689
jmp 0x4014e7
cmp dword [ebp - 0x18], 0
ja 0x4014e3
jmp 0x4014e7
cmp dword [ebp - 0x1c], 4
ja 0x4014e3
je 0x401523
jmp 0x4014e7
mov byte [0x40946c], 1
jmp 0x401505

Function at 0x401d15
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x406474]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea edi, [ebp - 0x61d]
call fcn.00401d4b
test al, al
je 0x402e9e
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00401dc8
leave
ret
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x61c]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x402fcd
lea eax, [ebp - 0x61c]
push 0x5c
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
cmp eax, edi
pop ecx
pop ecx
je 0x402fcd
push ebx
push esi
mov word [eax + 2], di
lea eax, [ebp - 0x414]
push edi
push eax
call sub.MSVCR80.dll_memset
mov edi, dword [sym.imp.MSVCR80.dll_wcscpy_s]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push esi
push eax
call edi
mov ebx, dword [sym.imp.MSVCR80.dll_wcscat_s]
push str.GrooveMigrator.exe
lea eax, [ebp - 0x414]
push esi
push eax
call ebx
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.MSVCR80.dll_memset
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call edi
add esp, 0x3c
cmp byte [ebp - 0x61d], 0
lea eax, [ebp - 0x20c]
je 0x402f4e
push str.__c__r
jmp 0x402f53
push 0x406a7c
push esi
push eax
call ebx
add esp, 0xc
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x674]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x61c]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x674], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop ebx
je 0x402fcd
push 0xffffffffffffffff
push dword [ebp - 0x630]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x62c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x630]
call esi
lea edi, [ebp - 0x61d]
call fcn.00401d4b
pop esi
jmp 0x401d3e
Function at 0x401dc8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406474]
jne 0x404d8d
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x409250], eax
mov dword [0x40924c], ecx
mov dword [0x409248], edx
mov dword [0x409244], ebx
mov dword [0x409240], esi
mov dword [0x40923c], edi
mov word [0x409268], ss
mov word [0x40925c], cs
mov word [0x409238], ds
mov word [0x409234], es
mov word [0x409230], fs
mov word [0x40922c], gs
pushfd
pop dword [0x409260]
mov eax, dword [ebp]
mov dword [0x409254], eax
mov eax, dword [ebp + 4]
mov dword [0x409258], eax
lea eax, [ebp + 8]
mov dword [0x409264], eax
mov eax, dword [ebp - 0x320]
mov dword [0x4091a0], 0x10001
mov eax, dword [0x409258]
mov dword [0x409154], eax
mov dword [0x409148], 0xc0000409
mov dword [0x40914c], 1
mov eax, dword [0x406474]
mov dword [ebp - 0x328], eax
mov eax, dword [section..data]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x409198], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x406974
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x409198], 0
jne 0x404e7d
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x4029c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4029db
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402a14
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x402a10
jmp 0x402a00
cmp esi, eax
jae 0x402a14
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402a00
cmp esi, eax
jb 0x402a1b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40bc20
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp ecx, 6
ja 0x40bc3a
jne 0x40bc37
shr eax, 8
cmp al, 2
jae 0x40bc3a
xor eax, eax
ret
mov eax, 1
ret
Function at 0x40f200
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret

Function at 0x40f280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
mov esi, edx
jge 0x40f2bc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cdc91
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5d8774]
inc eax
mov dword [0x5d8774], eax
cmp eax, 1
jne 0x40f2e1
push 0
call fcn.004d0877
xor eax, 0xbb40e64e
push eax
call fcn.004d08c8
add esp, 8
mov eax, edi
mov ecx, esi
mov edx, ebx
call fcn.0040f240
mov dword [ebp - 0x24], 0
call fcn.004d08da
mov ebx, eax
sar ebx, 7
mov eax, esi
and ebx, 0xff
call fcn.0040f1e0
mov dword [ebp - 0x14], eax
mov eax, ebx
call fcn.0040f200
xor bl, byte [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov byte [ebp + eax - 0x10], bl
inc eax
cmp eax, 0xa
mov dword [ebp - 0x24], eax
jl 0x40f2f3
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov ecx, esi
call fcn.0040f240
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
xor ebx, ebx
sub eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, esi
call fcn.0040f1e0
mov dword [ebp - 0x14], eax
mov al, byte [ebp + ebx - 0x10]
movzx eax, al
call fcn.0040f200
mov al, byte [ebp + ebx - 0x10]
mov edx, dword [ebp - 0x1c]
xor al, byte [ebp - 0x14]
add edx, ebx
inc ebx
cmp ebx, 0xa
mov byte [ebp + edx - 0x10], al
jl 0x40f340
mov eax, esi
call fcn.0040f1e0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
mov dword [ebp - 0x1c], eax
and eax, 0xff
call fcn.0040f200
mov al, byte [ebp - 0x1c]
xor al, byte [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + ebx], al
mov eax, esi
inc ebx
call fcn.0040f1e0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
shr eax, 0x18
call fcn.0040f200
xor al, byte [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
pop edi
mov byte [edx + ebx], al
pop esi
lea eax, [ebx + 1]
xor ecx, ebp
pop ebx
call fcn.004cdc91
mov esp, ebp
pop ebp
ret
Function at 0x4105a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
cmp dword [ebx + 0x100ac], edi
je 0x410606
cmp dword [ebx + 0x7c], edi
jbe 0x410606
lea eax, [ebx + 0xa4]
mov dword [ebp - 4], eax
mov eax, 0xffffff5c
sub eax, ebx
lea esi, [ebx + 0x100d0]
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.0040f1e0
mov ecx, dword [ebp - 4]
mov edi, dword [ebx + 0x100dc]
mov dword [ebp - 0xc], eax
movzx eax, byte [ecx]
call fcn.0040f200
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0xc]
xor byte [eax], dl
mov ecx, dword [ebp - 0x10]
inc eax
add ecx, eax
mov dword [ebp - 4], eax
cmp ecx, dword [ebx + 0x7c]
jb 0x4105d3
xor edi, edi
mov esi, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x2c]
mov edx, esi
push edx
mov edx, dword [ebx + 0x1c]
lea eax, [ebx + 0xa4]
push eax
mov eax, dword [ebx + 8]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, esi
je 0x41062e
mov dword [ebp - 8], 0xffffffff
add dword [ebx + 0x100c0], esi
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebp - 8]
adc dword [ebx + 0x100c4], edi
add dword [ebx + 0x100c8], ecx
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x7c], edi
adc dword [ebx + 0x100cc], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x414870
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x41487e
pop ebp
ret 4
push ebx
push esi
lea esi, [eax - 1]
push edi
mov edi, dword [ebp + 8]
mov eax, edi
shr eax, 0x10
xor eax, edi
imul eax, eax, 0x85ebca6b
mov ebx, dword [ecx]
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
and eax, esi
xor edx, edx
mov edi, edi
mov ecx, dword [ebx + eax*8]
cmp ecx, edi
je 0x4148cf
test ecx, ecx
je 0x4148c6
lea eax, [edx + eax + 1]
inc edx
and eax, esi
cmp edx, esi
jbe 0x4148b0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
pop edi
pop esi
lea eax, [ebx + eax*8 + 4]
pop ebx
pop ebp
ret 4

Function at 0x4148e0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, edx
shr eax, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae35
push ebx
push esi
mov esi, dword [ecx + 4]
mov eax, edx
shr eax, 0x10
dec esi
xor eax, edx
push edi
mov edi, dword [ecx]
and eax, esi
xor edx, edx
mov ebx, dword [edi + eax*8]
test ebx, ebx
je 0x414934
cmp ebx, dword [ebp + 8]
je 0x41493d
lea eax, [edx + eax + 1]
inc edx
and eax, esi
cmp edx, esi
jbe 0x414914
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
mov edx, dword [ebp + 8]
mov dword [edi + eax*8], edx
inc dword [ecx + 8]
lea eax, [edi + eax*8 + 4]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x41fda0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREDataEnvDesSolLtdManager
push reloc.WSOCK32.dll_bind
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41fdf0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.F5775A26_A224_4d39_8DC0_A9A02076A7EB
push ecx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 1
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4200e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5cde14], 0x10
push esi
mov esi, ecx
mov ecx, dword [0x5cde00]
jae 0x42010a
mov ecx, 0x5cde00
lea edx, [ebp - 0x404]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x420110
lea eax, [ebp - 0x408]
push eax
push 0x20019
push 0
push str.SoftwareEDSLTasManager
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x420178
lea ecx, [ebp - 0x40c]
push ecx
mov ecx, dword [ebp - 0x408]
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x410]
push eax
push 0
push str.LicenseSvr
push ecx
mov dword [ebp - 0x40c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x404]
push edx
jmp 0x42018c
cmp dword [0x5cde14], 0x10
mov eax, dword [0x5cde00]
jae 0x42018b
mov eax, 0x5cde00
push eax
mov ecx, esi
call fcn.0054fe10
mov eax, dword [ebp - 0x408]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004cdc91
mov esp, ebp
pop ebp
ret
Function at 0x420920
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566a58
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ff80
lea ecx, [ebp - 0x10]
call fcn.00404e40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
lea eax, [ebp - 0x10]
push 0x57c750
push eax
call fcn.0041a6a0
add esp, 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
push str.SOFTWAREDataEnvDesSolLtdManager
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4209e1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp - 0x14]
push ecx
push eax
push 1
push 0
push 0x57c74c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004022b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004022b0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x421380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56290b
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x418]
push ecx
push 0x20019
push 0
push str.SOFTWAREDataEnvDesSolLtdManager
mov eax, 0x30
push reloc.WSOCK32.dll_bind
mov word [ebp - 0x410], ax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42140e
lea edx, [ebp - 0x41c]
push edx
mov edx, dword [ebp - 0x418]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x420]
push ecx
push 0
push 0x57c74c
push edx
mov dword [ebp - 0x41c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x414]
call fcn.004087e0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x414]
push edx
call fcn.004ce46e
add esp, 4
mov esi, eax
mov edi, edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.004022b0
mov eax, esi
mov edx, edi
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.004cdc91
mov esp, ebp
pop ebp
ret
Function at 0x4221d0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
call fcn.00426f90
cmp byte [esi + 0x8c], 0
mov ecx, dword [esi + 0x60]
je 0x422207
call fcn.004f9590
mov eax, dword [esi + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esi + 0x88]
push ecx
call fcn.004ce2e1
add esp, 4
jmp 0x422210
test ecx, ecx
je 0x422210
call fcn.004f9590
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x60], 0
test eax, eax
je 0x42222d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x5c], 0
mov ecx, esi
pop esi
jmp 0x49d72f
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x48]
and dword [esi + 0x48], 0
push edi
jmp 0x49d760
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 8]
call fcn.004985b1
mov edi, eax
test edi, edi
je 0x49d783
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x94]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
cmp dword [esi + 0x34], 0
jne 0x49d73d
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x48], ebx
call dword [eax + 0x6c]
cmp dword [esi + 0x48], 0
je 0x49d77f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
pop ebx
ret
call fcn.00495554
int3

Function at 0x422390
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x5d26e8]
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
xor ecx, ecx
mov eax, ecx
mov edx, 8
test al, 1
je 0x4223d4
shr eax, 1
xor eax, 0xedb88320
jmp 0x4223d6
shr eax, 1
sub edx, 1
jne 0x4223c7
mov dword [ebp + ecx*4 - 0x530], eax
inc ecx
cmp ecx, 0x100
jb 0x4223c0
push 0x104
lea eax, [ebp - 0x114]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x130]
call fcn.004a17a8
mov dword [ebp - 4], 0
push 0
push 0x8040
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x130]
call fcn.004a17d8
test eax, eax
je 0x4224d5
lea ecx, [ebp - 0x130]
call fcn.004a1aa0
mov ebx, eax
lea edx, [ebx + 1]
push edx
call fcn.00494811
add esp, 4
mov edi, eax
push ebx
push edi
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], edi
call fcn.004a18f1
or esi, 0xffffffff
mov byte [edi + ebx], 0
mov dword [ebp - 0x118], 0
test ebx, ebx
jbe 0x4224b7
push 4
push str.LSDE
push edi
call fcn.004cf4db
add esp, 0xc
test eax, eax
jne 0x422494
add edi, 0xc
add dword [ebp - 0x118], 0xc
jmp 0x4224af
movsx eax, byte [edi]
inc dword [ebp - 0x118]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [ebp + eax*4 - 0x530]
inc edi
cmp dword [ebp - 0x118], ebx
jb 0x422474
mov eax, dword [ebp - 0x11c]
push eax
not esi
call fcn.004f9090
add esp, 4
lea ecx, [ebp - 0x130]
call fcn.004a1b82
jmp 0x4224ef
push 0
call fcn.004d0877
add esp, 4
push 0
push 0x1000
push edx
push eax
call fcn.004cf5a0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004a1bbe
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.004cdc91
mov esp, ebp
pop ebp
ret
Function at 0x422540
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x5d26e8]
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 - 0x124], esi
call fcn.0049d7c4
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.CTasDocument.0
mov dword [esi + 0x60], edi
call fcn.004f9030
push 0x104
lea ecx, [ebp - 0x114]
mov byte [esi + 0x8c], 0
mov dword [esi + 0x84], 1
mov dword [esi + 0x5c], edi
mov byte [esi + 0x64], 1
mov eax, dword [str.LSDEE]
push ecx
mov dword [str.LSDEE], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x114]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ecx, esi
mov ebx, eax
call fcn.004222c0
mov ecx, dword [0x5cde20]
mov edx, 1
sub edx, ecx
add eax, edx
push ebx
mov dword [esi + 0x68], eax
call fcn.00494811
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x120]
push edi
push ebx
push eax
lea ecx, [ebp - 0x114]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x118]
push eax
push 0x57c944
push edi
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
push ecx
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.004cf6a0
add esp, 0xc
mov ecx, esi
call fcn.00422390
mov ecx, dword [0x5cde1c]
sub eax, ecx
mov dword [esi + 0x6c], eax
mov eax, dword [ebp - 0x148]
mov edx, eax
and eax, 0xffff
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 0x144]
mov ecx, eax
shr edx, 0x10
shr ecx, 0x10
and eax, 0xffff
push edi
mov dword [esi + 0x74], edx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
call fcn.004f9090
add esp, 4
call fcn.0042cd60
xor edx, edx
cmp dword [eax + 0xa0], edx
mov dword [esi + 0x94], 0
setne dl
add edx, 2
mov dword [esi + 0x80], edx
mov dword [ebp - 4], 0xffffffff
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.004cdc91
mov esp, ebp
pop ebp
ret
Function at 0x429220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563428
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
cmp byte [edi + 0x45c], 0
jne 0x4292b7
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareEDSLTasManager
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x429294
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
push eax
push 1
push esi
push str.LicSvr
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4292b7
push 0
push 0
push str.Failed_setting_new_server___forcing_to_local_locked._n_nRun_Tas_as_Administrator_to_modify_server_setting.
call fcn.004a0dad
mov byte [edi + 0x45c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004022b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4295c0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56345b
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x5d26e8]
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 - 0x1f0]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x42960e
mov dword [esi], 0
jmp 0x42967c
push 0x50
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostname]
cmp eax, 0xffffffff
je 0x429606
lea ecx, [ebp - 0x1f4]
call fcn.00404e40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x1f4]
push 0x57cd1c
push eax
call fcn.0041a6a0
add esp, 0xc
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
jne 0x42965b
mov dword [esi], eax
jmp 0x42966a
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov edi, dword [eax]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov dword [esi], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.004022b0
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.004cdc91
mov esp, ebp
pop ebp
ret 4