joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c85b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x5c85d0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x5c8602
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x5c85ff
inc esi
cmp esi, edx
jb 0x5c85f0
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x5c872c
cmp ecx, 3
jbe 0x5c8642
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x5c8680
cmp cl, 0xff
je 0x5c8680
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x5c85e4
dec ecx
shl eax, cl
and eax, 7
je 0x5c861a
movzx ecx, byte [eax + 0x67cec0]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x67ceb8], 0
mov cl, byte [edx + 4]
je 0x5c866a
test cl, cl
je 0x5c866a
cmp cl, 0xff
jne 0x5c861a
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x5c85e4
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x5c86ae
lea edx, [edi + ebx]
add edx, esi
jmp 0x5c86b4
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x5c86f2
movzx edi, byte [eax + 0x67cec0]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x5c86de
cmp cl, 0xff
jne 0x5c86f2
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x5c86a1
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x5c85e4
pop edi
pop esi
cmp ecx, 3
jbe 0x5c8741
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cbee2
Capabilities:
Set registry value

Disassembly:
push 0x238
mov eax, 0x6069de
call fcn.005cb57f
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push 0x208
push 0
push eax
call fcn.005d4520
push str.GoodZipService
lea eax, [ebp - 0x218]
push 0x608c18
push eax
call fcn.0040fd00
add esp, 0x18
lea ecx, [ebp - 0x244]
call fcn.004079b0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.00407a20
test eax, eax
lea eax, [ebp - 0x21c]
push eax
je 0x5cbf78
push 0xf013f
push 0
push str.SoftWare
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5cbffd
xor edi, edi
lea eax, [ebp - 0x220]
push edi
push eax
push edi
push 0xf013f
jmp 0x5cbf9f
push 0xf003f
push 0
push str.SoftWare
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5cbffd
xor edi, edi
lea eax, [ebp - 0x220]
push edi
push eax
push edi
push 0xf003f
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x5cbfc7
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5cbffd
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push edi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x220]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x21c]
call esi
lea ecx, [ebp - 0x244]
call fcn.00407a00
call fcn.005cb53a
ret 0xc

Function at 0x5cc010
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x606a0e
call fcn.005cb54b
lea ecx, [ebp - 0x38]
call fcn.004079b0
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.00407a20
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x5cc043
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5cc0b3
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x608b1c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x5cc080
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5cc0b3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.00407a00
call fcn.005cb525
ret 8
Function at 0x5cc0c3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x23c
mov eax, 0x606a34
call fcn.005cb57f
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0x208
push 0
push eax
call fcn.005d4520
push str.GoodZipService
lea eax, [ebp - 0x218]
push 0x608c18
push eax
call fcn.0040fd00
add esp, 0x18
lea ecx, [ebp - 0x248]
call fcn.004079b0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00407a20
test eax, eax
lea eax, [ebp - 0x21c]
push eax
je 0x5cc157
push 0x20119
push 0
push str.SoftWare
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call ebx
test eax, eax
jne 0x5cc1d8
lea eax, [ebp - 0x220]
push eax
push 0x20119
jmp 0x5cc17c
push 0x20019
push 0
push str.SoftWare
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call ebx
test eax, eax
jne 0x5cc1d8
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call ebx
test eax, eax
je 0x5cc19f
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5cc1d8
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x104
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x220]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x21c]
call esi
lea ecx, [ebp - 0x248]
call fcn.00407a00
call fcn.005cb53a
ret 0xc

Function at 0x5cc1eb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 8]
xor esi, esi
push eax
mov edi, 0xf003f
mov dword [ebp - 8], esi
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5cc26d
push esi
lea eax, [ebp - 4]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x608b1c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x5cc26d
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x104
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x5cc262
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], 0
je 0x5cc26d
push dword [ebp - 8]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x5cc540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov ebx, ecx
mov dword [ebp - 0xc30], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xc2c], eax
mov eax, dword [ebp + 0x18]
push 0x200
mov dword [ebp - 0xc34], eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005d4520
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.005d4520
push 0x208
lea eax, [ebp - 0x60c]
push 0
push eax
call fcn.005d4520
push 0x208
lea eax, [ebp - 0xa1c]
push 0
push eax
call fcn.005d4520
push 0x208
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.005d4520
push 0x208
lea eax, [ebp - 0xc24]
push 0
push eax
call fcn.005d4520
add esp, 0x48
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5cc602
cmp byte [ebp + 0x1c], al
jne 0x5cc6c6
lea eax, [ebp - 0x60c]
push edi
push eax
call fcn.005edac0
push dword [ebp - 0xc2c]
lea eax, [ebp - 0x204]
push eax
call fcn.005edac0
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.005edac0
push dword [ebp - 0xc30]
lea eax, [ebp - 0x404]
push eax
call fcn.005edac0
push dword [ebp - 0xc34]
lea eax, [ebp - 0xc24]
push eax
call fcn.005edac0
push 0
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0xa1c]
push str.__s___d
push eax
call fcn.0040fd00
add esp, 0x38
mov byte [ebp - 0xc25], 0
lea eax, [ebp - 0xc25]
mov ecx, ebx
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x814]
push str.99DBFBB4_9D93_4F50_94F7_74A39CBBEE52
push 0x6087e8
push eax
lea eax, [ebp - 0xa1c]
push eax
lea eax, [ebp - 0xc24]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.005d1264
cmp byte [ebp - 0xc25], 0
je 0x5cc6c6
mov byte [esi], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x5cd349
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
call fcn.005cdc96
test eax, eax
jne 0x5cd362
push 3
pop eax
jmp 0x5cd41d
mov ecx, esi
call fcn.005cdc9a
test eax, eax
je 0x5cd374
xor eax, eax
jmp 0x5cd41d
push edi
push 2
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x5cd392
push 4
pop eax
jmp 0x5cd41c
cmp dword [esi + 0x14], 8
jb 0x5cd39c
mov edx, dword [esi]
jmp 0x5cd39e
mov edx, esi
lea eax, [esi + 0x30]
cmp dword [eax + 0x14], 8
jb 0x5cd3a9
mov eax, dword [eax]
push ebx
lea ebx, [esi + 0x18]
cmp dword [ebx + 0x14], 8
jb 0x5cd3bd
mov ecx, dword [ebx]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
jmp 0x5cd3c0
mov dword [ebp - 8], ebx
push edi
push edi
push edi
push edi
push edi
push edx
push 1
push dword [esi + 0x48]
push 1
push 0xf01ff
push eax
push dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x5cd408
cmp dword [ebx + 0x14], 8
jb 0x5cd3ec
mov ebx, dword [ebx]
push 0xf01ff
push ebx
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x5cd40b
push 5
pop edi
jmp 0x5cd412
mov ebx, dword [ebp - 4]
mov dword [esi + 0x54], 1
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5cd535
Capabilities:
Check if file exists

Disassembly:
push 0x4a0
mov eax, 0x60725f
call fcn.005cb57f
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x5cd6b0
lea ecx, [ebp - 0x47c]
call fcn.005cd25c
lea ecx, [ebp - 0x47d]
mov dword [ebp - 4], ebx
call fcn.0048ac90
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x5cd57b
mov eax, dword [esi]
jmp 0x5cd57d
mov eax, esi
push eax
lea ecx, [ebp - 0x47d]
call fcn.005cc275
test al, al
je 0x5cd69a
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005d4520
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x5cd5b0
mov eax, dword [esi]
jmp 0x5cd5b2
mov eax, esi
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push eax
mov ecx, edi
call fcn.005cdbc3
cmp dword [esi + 0x14], 8
jb 0x5cd5ce
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x47c]
call fcn.005cde2c
test eax, eax
jne 0x5cd69a
push str.system32
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, eax
test esi, esi
je 0x5cd69a
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x4ac]
call fcn.004079b0
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4ac]
call fcn.00407c50
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5cd67e
sub esp, 0x18
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00405d50
call fcn.004271a0
add esp, 0x18
push dword [ebp - 0x484]
lea ecx, [ebp - 0x4ac]
call fcn.00407c80
lea ecx, [ebp - 0x4ac]
call fcn.00407a00
lea ecx, [ebp - 0x47d]
call fcn.0043faa0
lea ecx, [ebp - 0x47c]
call fcn.005cd2ba
call fcn.005cb53a
ret 4
Function at 0x5cdbc3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push esi
mov esi, dword [ebp + 8]
push edi
push str.SYSTEMCurrentControlSetServices_
push eax
xor edi, edi
call fcn.005edac0
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.005eda4f
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x204]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5cdc81
lea eax, [ebp + 0x10]
push eax
push ebx
push edi
push edi
push str.ImagePath
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5cdc75
push 4
push 0x67d70c
push ebx
call fcn.005edb8b
add esp, 0xc
test eax, eax
jne 0x5cdc72
lea ecx, [ebx + 8]
movzx eax, word [ecx]
mov word [ebx], ax
test ax, ax
je 0x5cdc72
lea ecx, [ecx + 2]
mov ax, word [ecx]
mov word [ecx - 8], ax
cmp word [ecx], di
jne 0x5cdc63
xor edi, edi
inc edi
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5cdca2
Capabilities:
Start service

Disassembly:
push edi
mov edi, ecx
call fcn.005cdc9a
test eax, eax
jne 0x5cdcb1
inc eax
pop edi
ret
mov ecx, edi
call fcn.005cdc9e
test eax, eax
je 0x5cdcc0
xor eax, eax
pop edi
ret
push ebx
push esi
push 2
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x5cdcd8
push 4
jmp 0x5cdd1f
lea eax, [edi + 0x18]
cmp dword [eax + 0x14], 8
jb 0x5cdce3
mov eax, dword [eax]
push 0xf01ff
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x5cdd02
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 7
jmp 0x5cdd1f
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
test eax, eax
jne 0x5cdd22
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [edi + 0x4c]
call esi
push 6
pop eax
jmp 0x5cdd31
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [edi + 0x58], 1
xor eax, eax
pop esi
pop ebx
pop edi
ret
Function at 0x5cde2c
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 2
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x5cde59
push 4
pop eax
jmp 0x5cdea0
push 0xf01ff
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x5cde71
push 7
pop esi
jmp 0x5cde97
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 4
Function at 0x5ce06b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x3c
mov eax, 0x60734a
call fcn.005cb57f
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ebp - 0x44], ebx
call fcn.00424a50
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push str.LangLang.xml
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041e4f0
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ecx, esp
push eax
call fcn.00413790
call fcn.0041f680
add esp, 0x18
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x5ce13b
push 0x67d7a0
push str.Language_xml
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x5ce1ce
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push dword [ebp - 0x44]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x5ce1ce
test ebx, ebx
je 0x5ce1ce
cmp edi, 0x100000
ja 0x5ce1ce
push edi
call fcn.005caab7
mov dword [esi + 0x1c], eax
pop ecx
test eax, eax
je 0x5ce1ce
push edi
push 0
push eax
call fcn.005d4520
push edi
push ebx
push dword [esi + 0x1c]
call fcn.005d5990
add esp, 0x18
push 0x48
call fcn.005ca564
pop ecx
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x5ce159
mov ecx, eax
call fcn.005c0b70
mov ecx, eax
jmp 0x5ce15b
xor ecx, ecx
mov byte [ebp - 4], 1
mov dword [esi + 0x24], ecx
test ecx, ecx
jne 0x5ce17a
cmp dword [esi + 0x1c], ecx
je 0x5ce1ce
push dword [esi + 0x1c]
call fcn.005ca5eb
and dword [esi + 0x1c], 0
pop ecx
jmp 0x5ce1ce
mov eax, dword [ecx]
push 1
push 0
push dword [esi + 0x1c]
call dword [eax + 8]
mov ecx, dword [esi + 0x24]
push str.TheConfigure
call fcn.005c18e0
mov dword [esi + 0x20], eax
test eax, eax
jne 0x5ce1d2
cmp dword [esi + 0x1c], eax
je 0x5ce1ac
push dword [esi + 0x1c]
call fcn.005ca5eb
and dword [esi + 0x1c], 0
pop ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x5ce1ce
lea eax, [ecx - 4]
cmp dword [eax], 0
je 0x5ce1c3
mov eax, dword [ecx]
push 3
call dword [eax]
jmp 0x5ce1ca
push eax
call fcn.005ca5eb
pop ecx
and dword [esi + 0x24], 0
xor esi, esi
jmp 0x5ce1d5
xor esi, esi
inc esi
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00420a80
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00420a80
mov eax, esi
call fcn.005cb53a
ret 4
Function at 0x5d02a7
Capabilities:
Enumerate files on windows

Disassembly:
push 0x294
mov eax, 0x60767e
call fcn.005cb57f
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x144]
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x2a0], 0
push 0x6089b4
call fcn.0040fe40
and dword [ebp - 4], 0
lea eax, [ebp - 0x114]
mov edi, 0x104
push edi
push 0
push eax
call fcn.005d4520
push ebx
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.005e5426
push str..
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.005edca1
add esp, 0x24
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x5d0422
test byte [ebp - 0x29c], 0x10
jne 0x5d0405
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x15c]
call fcn.0040fe40
push ebx
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.0040fe40
push 0x60ab70
mov byte [ebp - 4], 2
call fcn.005edb00
pop ecx
push eax
push 0x60ab70
lea ecx, [ebp - 0x12c]
call fcn.00408e90
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00408ce0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.005d0636
pop ecx
test al, al
je 0x5d03e3
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x144]
call fcn.00408ce0
push 0x610ba4
call fcn.005edb00
pop ecx
push eax
push 0x610ba4
lea ecx, [ebp - 0x144]
call fcn.00408e90
push 0
push 1
lea ecx, [ebp - 0x12c]
call fcn.00408c20
push 0
push 1
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0
call fcn.00408c20
lea eax, [ebp - 0x29c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5d032d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x144]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.00408650
push ebx
push 1
lea ecx, [ebp - 0x144]
call fcn.00408c20
mov eax, esi
call fcn.005cb53a
ret
Function at 0x5d04a1
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push 0x840
mov eax, 0x6076bc
call fcn.005cb57f
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
mov edi, 0x6089b4
xor ebx, ebx
push edi
mov dword [ebp - 0x84c], ebx
call fcn.0040fe40
push edi
lea ecx, [ebp - 0x810]
mov dword [ebp - 4], ebx
call fcn.0040fe40
push 0x3e8
lea eax, [ebp - 0x3f8]
mov byte [ebp - 4], 1
push ebx
push eax
mov dword [ebp - 0x848], 2
call fcn.005d4520
add esp, 0xc
mov dword [ebp - 0x844], 0x3e7
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x848]
push eax
push str.MinidumpDir
push str.SYSTEMControlSet001ControlCrashControl
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp byte [ebp - 0x3f8], bl
jne 0x5d053e
mov eax, ebx
jmp 0x5d054b
lea eax, [ebp - 0x3f8]
push eax
call fcn.005edb00
pop ecx
push eax
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x810]
call fcn.004090f0
cmp dword [ebp - 0x800], 0
je 0x5d05f6
push 0x400
lea eax, [ebp - 0x7f8]
push ebx
push eax
call fcn.005d4520
add esp, 0xc
lea ecx, [ebp - 0x7f8]
cmp dword [ebp - 0x7fc], 0x10
lea eax, [ebp - 0x810]
cmovae eax, dword [ebp - 0x810]
push dword [ebp - 0x800]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x7f8], 0
jne 0x5d05c7
cmp dword [ebp - 0x7fc], 0x10
lea eax, [ebp - 0x810]
cmovae eax, dword [ebp - 0x810]
jmp 0x5d05cd
lea eax, [ebp - 0x7f8]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.005d02a7
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00413d30
push ebx
push 1
lea ecx, [ebp - 0x840]
call fcn.00408c20
lea eax, [ebp - 0x828]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.00408650
push ebx
push 1
lea ecx, [ebp - 0x810]
call fcn.00408c20
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00408c20
mov eax, esi
call fcn.005cb53a
ret 4

Function at 0x5d0636
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push 0x2000080
push 3
push ebx
push ebx
push accept
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5d0668
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x5d06cb
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xa00000
ja 0x5d06c1
push edi
call fcn.005d9579
mov dword [ebp - 4], eax
pop ecx
test eax, eax
je 0x5d06c1
push edi
push ebx
push eax
mov dword [ebp - 8], ebx
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 8]
push ebx
mov ebx, dword [ebp - 4]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push str.GoodZipSvarerHaveException
push edi
push ebx
call fcn.005d0b81
push dword [ebp - 4]
mov bl, al
call fcn.005d9574
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret