joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5433f0
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbe000]
push edi
jmp 0x54340a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x543411
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543400
mov eax, 1
add ebx, ebx
jne 0x543423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x543434
jne 0x543453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543453
dec eax
add ebx, ebx
jne 0x543440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x543418
add ebx, ebx
jne 0x54344f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5434a5
xor ecx, ecx
sub eax, 3
jb 0x54346b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5434da
sar eax, 1
mov ebp, eax
jmp 0x543476
add ebx, ebx
jne 0x543476
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543444
inc ecx
add ebx, ebx
jne 0x543484
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543444
add ebx, ebx
jne 0x543491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x543486
jne 0x5434a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x543486
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5434c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5434b6
jmp 0x543406
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5434c4
add edi, ecx
jmp 0x543406
pop esi
lea edi, [esi + 0x141000]
mov eax, dword [edi]
or eax, eax
je 0x543523
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x145160]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x145188]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5434e1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x145190]
or eax, eax
je 0x54351d
mov dword [ebx], eax
add ebx, 4
jmp 0x5434fe
call dword [esi + 0x14518c]
mov ebp, dword [esi + 0x145194]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x543557
sub esp, 0xffffff80
jmp fcn.00537cc9
Function at 0x403800
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x45563c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], 0
push 0x30
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.00417830
add esp, 0xc
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.00406480
push eax
call fcn.00412683
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40384c
xor al, al
jmp 0x4038a1
cmp dword [ebp - 0x20], 0x200000
jle 0x40389f
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x18
call fcn.00406480
push eax
mov ecx, dword [ebp - 0x38]
call fcn.00406480
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40389f
push 0x40
push 0x12
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x30
call fcn.00407100
mov ecx, dword [ebp - 0x38]
add ecx, 0x30
call fcn.00406890
mov ecx, dword [ebp - 0x38]
add ecx, 0x30
call fcn.00407130
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411455
mov esp, ebp
pop ebp
ret

Function at 0x403b80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44437b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x45563c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x238]
call fcn.00406e20
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x403bed
mov dword [ebp - 0x248], 0x20119
jmp 0x403bf7
mov dword [ebp - 0x248], 0x20219
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x403cbd
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00417830
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x220], 1
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x403cb0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.00406f90
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x238]
call fcn.00406fb0
push eax
mov ecx, dword [ebp + 8]
call fcn.00406e50
mov edx, dword [ebp - 0x244]
or edx, 1
mov dword [ebp - 0x244], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00406f70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411455
mov esp, ebp
pop ebp
ret
Function at 0x404090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444073
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x45563c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00406240
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00406240
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0x14
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x890], 0xbb8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x894], 0x1770
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x898], 0x1bb
push 0
push closesocket
push str.WorkingMac
push str.SYSTEMCurrentControlSetServicesNamSvcAdapter
lea ecx, [ebp - 0x30]
push ecx
call fcn.00403a30
add esp, 0x14
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00406300
lea ecx, [ebp - 0x30]
call fcn.004063e0
push 0
push closesocket
push str.Server
push str.SYSTEMCurrentControlSetServicesNamSvcNAM
lea eax, [ebp - 0x48]
push eax
call fcn.00403a30
add esp, 0x14
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00406300
lea ecx, [ebp - 0x48]
call fcn.004063e0
xor edx, edx
mov eax, dword [ebp - 0x10]
add eax, 0x38
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4051a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x45563c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [eax + 0x458cd0]
test ecx, ecx
jne 0x405207
lea edx, [ebp - 8]
push edx
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x405207
push 0x458cd0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0x458cd0
push str.App_Data_Path___s_
call fcn.00412a3e
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411455
mov esp, ebp
pop ebp
ret
Function at 0x405220
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4444a0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x45563c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x44cd4c
push 0x6d
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x68]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x5c]
call fcn.00404bd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00406240
mov byte [ebp - 4], 1
cmp dword [ebp - 0x6c], 0
jne 0x4052da
push str.Unpack_Client_Failed_n
call fcn.00412a3e
add esp, 4
mov byte [ebp - 0x5d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004063e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004041b0
mov al, byte [ebp - 0x5d]
jmp 0x40542b
call fcn.004051a0
push str.NamInstall.exe
push 0x458cd0
call fcn.0040b500
add esp, 8
push 0x458cd0
push 0x44cd78
call fcn.004034b0
push eax
call fcn.004038b0
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push 0x458cd0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffff
je 0x4053be
mov dword [ebp - 0x14], 0
push 0x458cd0
push 0x44cd90
call fcn.004034b0
push eax
call fcn.004038b0
add esp, 0xc
push 0x44cda4
lea ecx, [ebp - 0x2c]
call fcn.00406400
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.004061e0
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x5c]
call fcn.00404e10
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x5e], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004063e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004041b0
mov al, byte [ebp - 0x5e]
jmp 0x40542b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x458cd0
push 0x44cdc0
call fcn.004034b0
push eax
call fcn.004038b0
add esp, 0x10
push 0x44cddc
lea ecx, [ebp - 0x2c]
call fcn.00406400
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.004061e0
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x5c]
call fcn.00404e10
mov byte [ebp - 0x5f], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004063e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004041b0
mov al, byte [ebp - 0x5f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411455
mov esp, ebp
pop ebp
ret
Function at 0x405450
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x45563c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push str.SOFTWARENamClient
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4055e4
mov byte [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
mov byte [ebp - 5], cl
mov dword [ebp - 0x30], 0
push 0x44ce0c
push str.HF_MACRO_DOMAIN_START_XXXX_XXXX_XXXX_XXXX_HF_MACRO_DOMAIN_END
call fcn.0040cbd0
add esp, 8
test eax, eax
jne 0x40559f
push 0x44ce20
push str.HF_MACRO_DOMAIN_START_XXXX_XXXX_XXXX_XXXX_HF_MACRO_DOMAIN_END
call fcn.0040cbd0
add esp, 8
test eax, eax
je 0x40559f
push 0x44ce24
push str.HF_MACRO_DOMAIN_START_XXXX_XXXX_XXXX_XXXX_HF_MACRO_DOMAIN_END
call fcn.0040cbd0
add esp, 8
mov dword [ebp - 0x34], eax
push 0x44ce28
push str.HF_MACRO_DOMAIN_START_XXXX_XXXX_XXXX_XXXX_HF_MACRO_DOMAIN_END
call fcn.0040cbd0
add esp, 8
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [ebp - 0x22], dl
add dword [ebp - 0x2c], 1
cmp byte [ebp - 0x22], 0
jne 0x405535
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x28]
mov cl, byte [eax]
mov byte [ebp - 0x21], cl
add dword [ebp - 0x28], 1
cmp byte [ebp - 0x21], 0
jne 0x40555f
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x44]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00413e30
add esp, 0xc
jmp 0x4055ad
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x4055f3
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
push 1
push 0
push 0x44ce2c
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4055da
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x4055f3
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.WriteDomain_Failed_n
call fcn.00412a3e
add esp, 4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411455
mov esp, ebp
pop ebp
ret
Function at 0x405610
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x45563c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push 0x44ce4c
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4057a4
mov byte [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
mov byte [ebp - 5], cl
mov dword [ebp - 0x30], 0
push str.XXXX_XXXX_XXXX_XXXX
push str.HF_MACRO_SERVER_START_XXXX_XXXX_XXXX_XXXX_HF_MACRO_SERVER_END
call fcn.0040cbd0
add esp, 8
test eax, eax
jne 0x40575f
push 0x44ce90
push str.HF_MACRO_SERVER_START_XXXX_XXXX_XXXX_XXXX_HF_MACRO_SERVER_END
call fcn.0040cbd0
add esp, 8
test eax, eax
je 0x40575f
push 0x44ce94
push str.HF_MACRO_SERVER_START_XXXX_XXXX_XXXX_XXXX_HF_MACRO_SERVER_END
call fcn.0040cbd0
add esp, 8
mov dword [ebp - 0x34], eax
push 0x44ce98
push str.HF_MACRO_SERVER_START_XXXX_XXXX_XXXX_XXXX_HF_MACRO_SERVER_END
call fcn.0040cbd0
add esp, 8
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [ebp - 0x22], dl
add dword [ebp - 0x2c], 1
cmp byte [ebp - 0x22], 0
jne 0x4056f5
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x28]
mov cl, byte [eax]
mov byte [ebp - 0x21], cl
add dword [ebp - 0x28], 1
cmp byte [ebp - 0x21], 0
jne 0x40571f
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x44]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00413e30
add esp, 0xc
jmp 0x40576d
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x4057b3
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
push 1
push 0
push 0x44ce9c
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40579a
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x4057b3
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.WriteAuxServerIp_Failed_n
call fcn.00412a3e
add esp, 4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411455
mov esp, ebp
pop ebp
ret
Function at 0x405ab0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 1
push 0
mov eax, dword [ebp + 8]
push eax
push 0x458cd0
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov al, 1
pop ebp
ret
Function at 0x408fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4445a8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x45563c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x409010
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x40901c
mov al, 1
jmp 0x4091bf
mov dword [ebp - 0x54], 8
call fcn.004013c0
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.004013c0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00401340
add esp, 8
movzx eax, al
test eax, eax
je 0x40905f
xor al, al
jmp 0x4091bf
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.004080c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.004083d0
mov ecx, eax
call fcn.00409470
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004064a0
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.004083d0
mov ecx, eax
call fcn.00409470
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x40]
call fcn.0040a610
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4090da
cmp dword [ebp - 0x3c], 1
je 0x4090e1
cmp dword [ebp - 0x3c], 3
je 0x40917b
jmp 0x409193
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004083d0
mov ecx, eax
call fcn.00409470
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x409144
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.004083d0
mov ecx, eax
call fcn.00409470
push eax
call fcn.004132f3
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x409144
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004063e0
mov al, byte [ebp - 0x34]
jmp 0x4091bf
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x409167
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004063e0
mov al, byte [ebp - 0x31]
jmp 0x4091bf
cmp dword [ebp - 0x38], 0
jne 0x409179
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.004081e0
jmp 0x4091ab
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004063e0
mov al, byte [ebp - 0x33]
jmp 0x4091bf
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004063e0
mov al, byte [ebp - 0x32]
jmp 0x4091bf
jmp 0x409072
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411455
mov esp, ebp
pop ebp
ret
Function at 0x40dfb0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul edx, edx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x40e290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45563c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x40c], ecx
mov ecx, dword [ebp - 0x40c]
call fcn.0040dfb0
xor eax, eax
mov ecx, dword [ebp - 0x40c]
add ecx, 0x68
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov byte [ecx + 0x20], al
push 0x44e800
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x408]
push eax
call fcn.004139f5
add esp, 0xc
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
je 0x40e313
mov ecx, dword [ebp + 8]
push ecx
push str._s_cant_be_opened_n
call fcn.00412a3e
add esp, 8
jmp 0x40e374
mov edx, dword [ebp - 0x408]
push edx
push 0x400
push 1
lea eax, [ebp - 0x404]
push eax
call fcn.00413bfd
add esp, 0x10
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x40e35a
mov ecx, dword [ebp - 0x410]
push ecx
lea edx, [ebp - 0x404]
push edx
mov ecx, dword [ebp - 0x40c]
call fcn.0040e030
jmp 0x40e313
mov ecx, dword [ebp - 0x40c]
call fcn.0040e180
mov eax, dword [ebp - 0x408]
push eax
call fcn.00413890
add esp, 4
mov eax, dword [ebp - 0x40c]
add eax, 0x68
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411455
mov esp, ebp
pop ebp
ret 4