joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a10ba
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5edf2c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00592b5c
and dword [ebp - 0x14], 0
cmp dword [0x60a200], 0
mov dword [ebp - 0x18], eax
jne 0x5a116d
push 0x5f52d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5a1215
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5f1738
push ebx
call edi
test eax, eax
je 0x5a1215
mov esi, dword [0x5ef380]
push eax
call esi
push 0x5f52c8
push ebx
mov dword [0x60a200], eax
call edi
push eax
call esi
push 0x5f52b4
push ebx
mov dword [0x60a204], eax
call edi
push eax
call esi
push 0x5f5298
push ebx
mov dword [0x60a208], eax
call edi
push eax
call esi
mov dword [0x60a210], eax
test eax, eax
je 0x5a116d
push 0x5f5280
push ebx
call edi
push eax
call esi
mov dword [0x60a20c], eax
mov eax, dword [0x60a20c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x5ef384]
cmp eax, ecx
je 0x5a11c6
cmp dword [0x60a210], ecx
je 0x5a11c6
push eax
call esi
push dword [0x60a210]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5a11c6
test ebx, ebx
je 0x5a11c6
call edi
test eax, eax
je 0x5a11bd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5a11bd
test byte [ebp - 8], 1
jne 0x5a11c6
or dword [ebp + 0x10], 0x200000
jmp 0x5a11f9
mov eax, dword [0x60a204]
cmp eax, dword [ebp - 0x18]
je 0x5a11f9
push eax
call esi
test eax, eax
je 0x5a11f9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5a11f9
mov eax, dword [0x60a208]
cmp eax, dword [ebp - 0x18]
je 0x5a11f9
push eax
call esi
test eax, eax
je 0x5a11f9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x60a200]
call esi
test eax, eax
je 0x5a1215
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5a1217
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00588dae
leave
ret
Function at 0x5ae608
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x5ae68d
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.005891c0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x5ae650
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x5ae672
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x5ae6e8
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.005ae358
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x5ae6d4
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x5ae6e8
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x5ae611
pop esi
pop ebx
leave
ret
Function at 0x4010f0
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x418], 0
jne 0x40111e
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esi + 0x418], eax
test eax, eax
jne 0x40111e
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp dword [esi + 0x41c], 0
jne 0x401161
push 0
mov edx, dword [esi + 0x418]
push 0
push 0
push 0
push 0
lea ecx, [esi + 0x20c]
push ecx
push 1
push 2
push 1
push 0xf01ff
lea eax, [esi + 4]
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [esi + 0x41c], eax
cmp dword [esi + 0x41c], 0
push edi
jne 0x401216
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x431
je 0x40118b
cmp edi, 0x430
jne 0x401220
mov ecx, dword [esi + 0x418]
push 0xf01ff
lea eax, [esi + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [esi + 0x41c], eax
cmp edi, 0x431
jne 0x401220
push 0x1000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x401220
mov eax, dword [esi + 0x41c]
lea edx, [ebp - 4]
push edx
push 0x1000
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x401204
cmp dword [edi + 4], 2
je 0x401204
mov ecx, dword [esi + 0x41c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x414], 1
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401270
Capabilities:
Delete service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c01c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x24], ebx
cmp dword [esi + 0x418], ebx
jne 0x4012cc
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esi + 0x418], eax
cmp eax, ebx
jne 0x4012cc
push ebx
push 0x40b130
push 0x40b164
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401b05
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x41c], ebx
jne 0x4012f0
mov ecx, dword [esi + 0x418]
push 0xf01ff
lea eax, [esi + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [esi + 0x41c], eax
mov eax, dword [esi + 0x41c]
cmp eax, ebx
je 0x4012ba
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x401334
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x40137b
mov edx, dword [esi + 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov eax, dword [ebp - 0x24]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401b05
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x41c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push ecx
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 2
jne 0x401375
mov edx, ebx
inc ebx
cmp edx, 0x50
jge 0x401375
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x41c]
lea eax, [ebp - 0x20]
push eax
push ecx
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 2
je 0x401350
pop edi
cmp eax, 4
jne 0x401382
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop esi
xor ecx, ebp
pop ebx
call fcn.00401b05
mov esp, ebp
pop ebp
ret
Function at 0x4013a0
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x40c01c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x418], 0
mov dword [ebp - 0x24], 0
jne 0x4013ff
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esi + 0x418], eax
test eax, eax
jne 0x4013ff
push eax
push 0x40b130
push 0x40b164
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401b05
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x41c], 0
jne 0x401424
mov ecx, dword [esi + 0x418]
push 0xf01ff
lea eax, [esi + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [esi + 0x41c], eax
mov eax, dword [esi + 0x41c]
test eax, eax
je 0x4013ee
lea edx, [ebp - 0x20]
push edx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x40144c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
jmp 0x401492
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp eax, 3
jne 0x40148f
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401469
mov ecx, dword [ebp - 0x28]
mov edx, ecx
inc ecx
mov dword [ebp - 0x28], ecx
cmp edx, 0x50
jge 0x40148d
push 0x32
call edi
mov ecx, dword [esi + 0x41c]
lea eax, [ebp - 0x20]
push eax
push ecx
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 3
je 0x401466
pop edi
pop ebx
cmp eax, 1
jne 0x40149b
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
xor ecx, ebp
pop esi
call fcn.00401b05
mov esp, ebp
pop ebp
ret
Function at 0x401660
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x40c01c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov ebx, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov esi, edx
mov byte [ebp - 0x20d], 1
mov word [ebp - 0x20c], ax
call fcn.004060c0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4016c0
lea eax, [ebp - 0x20c]
call fcn.004015d0
mov eax, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4016c2
lea edi, [ebp - 0x20c]
sub eax, esi
add edi, 0xfffffffe
jmp 0x4016e0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4016e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x40b250
mov ecx, eax
push ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x218], eax
test esi, esi
jne 0x40174e
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401b05
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x218]
push 0
lea ecx, [ebp - 0x214]
push ecx
push edx
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0xffffffff
jne 0x401790
xor bl, bl
jmp 0x40179d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, byte [ebp - 0x20d]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00401b05
mov esp, ebp
pop ebp
ret
Function at 0x4017c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x40c01c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004060c0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x401812
lea eax, [ebp - 0x20c]
call fcn.004015d0
push esi
push edi
call fcn.00401900
test eax, eax
je 0x40184e
mov eax, str.PassGuard_x64.sys
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401824
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401840
jmp 0x40187c
mov eax, str.PassGuard.sys
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401855
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x401870
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401870
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 0x104
mov ecx, eax
and ecx, 3
push str.PassGuard
push 0x40d064
rep movsb byte es:[edi], byte [esi]
call fcn.00401bb3
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x40d26c
call fcn.00401bb3
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
xor ecx, ebp
mov dword [0x40d474], 0
mov dword [0x40d47c], 0
mov dword [0x40d478], 0
mov dword [0x40d480], 0xffffffff
mov eax, 1
pop esi
call fcn.00401b05
mov esp, ebp
pop ebp
ret
Function at 0x401990
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x40e268]
mov dword [ebp - 4], 0
test eax, eax
jne 0x4019c4
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40e268], eax
test eax, eax
je 0x4019ca
lea ecx, [ebp - 4]
push ecx
call eax
push esi
push edi
call fcn.004017c0
mov edi, 1
cmp dword [ebp + 8], edi
jle 0x401ac3
push ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + edi*4]
mov edx, 2
mov ecx, 0x40b248
mov eax, esi
mov bx, word [eax]
cmp bx, word [ecx]
jne 0x401a05
add eax, 2
add ecx, 2
dec edx
jne 0x4019f2
jmp 0x401a0d
sbb eax, eax
and eax, 0xfffffffe
inc eax
jne 0x401a52
call fcn.00401900
test eax, eax
je 0x401a22
mov eax, 0x70
mov edx, str.PassGuard_x64.sys
jmp 0x401a2c
mov eax, 0x6f
mov edx, str.PassGuard.sys
movzx ecx, ax
call fcn.00401660
test al, al
je 0x401ab8
mov ecx, 0x40d060
call fcn.004010f0
mov ecx, 0x40d060
call fcn.00401270
jmp 0x401ab8
mov edx, 2
mov ecx, 0x40b258
mov eax, esi
mov edi, edi
mov si, word [eax]
cmp si, word [ecx]
jne 0x401a73
add eax, 2
add ecx, 2
dec edx
jne 0x401a60
jmp 0x401a81
movzx eax, word [eax]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jne 0x401ab8
mov ecx, 0x40d060
call fcn.004013a0
mov ecx, dword [0x40d47c]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov eax, dword [0x40d47c]
test eax, eax
je 0x401aa8
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [0x40d478]
test eax, eax
je 0x401ab8
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc edi
cmp edi, dword [ebp + 8]
jl 0x4019e0
pop ebx
mov eax, dword [0x40e26c]
mov esi, dword [ebp - 4]
test eax, eax
jne 0x401aef
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40e26c], eax
test eax, eax
je 0x401af2
push esi
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401b05
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c01c]
jne 0x401b0f
repz ret
jmp fcn.00401f38
Function at 0x4069e6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c01c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404137
and dword [ebp - 0x14], 0
cmp dword [0x40e23c], 0
mov dword [ebp - 0x18], eax
jne 0x406a99
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406b41
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40a814
push ebx
call edi
test eax, eax
je 0x406b41
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40e23c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40e240], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40e244], eax
call edi
push eax
call esi
mov dword [0x40e24c], eax
test eax, eax
je 0x406a99
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40e248], eax
mov eax, dword [0x40e248]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406af2
cmp dword [0x40e24c], ecx
je 0x406af2
push eax
call esi
push dword [0x40e24c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406af2
test ebx, ebx
je 0x406af2
call edi
test eax, eax
je 0x406ae9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406ae9
test byte [ebp - 8], 1
jne 0x406af2
or dword [ebp + 0x10], 0x200000
jmp 0x406b25
mov eax, dword [0x40e240]
cmp eax, dword [ebp - 0x18]
je 0x406b25
push eax
call esi
test eax, eax
je 0x406b25
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406b25
mov eax, dword [0x40e244]
cmp eax, dword [ebp - 0x18]
je 0x406b25
push eax
call esi
test eax, eax
je 0x406b25
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40e23c]
call esi
test eax, eax
je 0x406b41
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406b43
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401b05
leave
ret
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x712763b1
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x24797372
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x41fbc0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4c6a4c], 0
jne 0x41fbce
call fcn.0041fb30
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x41fbfd
test dl, 7
je 0x41fbfd
movzx ecx, byte [edx]
movzx edi, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
dec esi
inc edx
test esi, esi
ja 0x41fbe0
cmp esi, 8
jb 0x41fc8c
mov edi, esi
shr edi, 3
jmp 0x41fc10
xor eax, dword [edx]
add edx, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
mov ecx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x4c6a48]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
sub edi, 1
jne 0x41fc10
xor ecx, ecx
test esi, esi

Function at 0x41fd40
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x41fd50
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x4c6a48]
xor dword [ecx + 0x204], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x4c6a48]
xor dword [ecx + 0x208], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x4c6a48]
xor dword [ecx + 0x20c], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x4c6a48]
xor dword [ecx + 0x210], esi
add eax, 4
sub edx, 1
jne 0x41fd50
pop esi
ret 4

Function at 0x41fda0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41fdb0
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
invalid
invalid
std
Function at 0x420c80
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.0045ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push ebx
push esi
xor ebx, ebx
push ebx
push 0x4b1948
push ecx
push eax
call 0x3f0430
mov esi, eax
mov dword [esp + 8], esi
cmp esi, ebx
jne 0x420cc1
xor al, al
jmp 0x420d53
push ebp
push edi
mov dword [esp + 0x14], ebx
jmp 0x420cd0
push esi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.00460179
mov edi, eax
add esp, 0x10
cmp edi, 0x20
jle 0x420d46
lea ebp, [edi - 0x20]
xor esi, esi
test ebp, ebp
jle 0x420d20
cmp byte [esp + esi + 0x18], 0x72
jne 0x420d1b
cmp byte [esp + esi + 0x19], 0x65
jne 0x420d1b
push 0x14
lea ecx, [esp + esi + 0x1e]
push 0x4b3df4
push ecx
call fcn.0045f7bf
add esp, 0xc
test eax, eax
je 0x420d6c
inc esi
cmp esi, ebp
jl 0x420cf5
mov edx, dword [esp + 0x10]
push 0
lea ebx, [ebx + edi - 0x20]
push ebx
push edx
call fcn.00460425
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x40
jb 0x420cd0
push esi
call fcn.0045fba6
add esp, 4
xor al, al
pop edi
pop ebp
mov ecx, dword [esp + 0x2010]
pop esi
pop ebx
xor ecx, esp
call fcn.0045e626
add esp, 0x200c
ret 4
mov eax, dword [esp + 0x10]
push eax
call fcn.0045fba6
add esp, 4
mov al, 1
jmp 0x420d51
Function at 0x4307e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
mov esi, dword [esp + 0x418]
push edi
mov ebx, ecx
movzx edi, word [ebx]
sub edi, dword [esi + 0x654]
mov dword [esp + 0x14], ebx
push edi
push esi
call fcn.004305d0
mov dl, byte [esi + 0xa6c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
sub eax, 6
lea ebp, [esp + 0x18]
xor ecx, ecx
lea ecx, [ecx]
movzx ebx, byte [eax + 6]
add eax, 6
cmp byte [ebx + esi + 0x66c], dl
je 0x430820
movzx ebx, byte [eax + 1]
mov dword [ebp], eax
add ecx, ebx
add ebp, 4
sub edi, 1
jne 0x430820
add dword [esi + 0x4a84], ecx
mov eax, dword [esi + 0x4a78]
xor edx, edx
div dword [esi + 0x4a84]
xor edx, edx
mov edi, eax
mov eax, dword [esi + 0x4a74]
sub eax, dword [esi + 0x4a70]
mov dword [esi + 0x4a78], edi
div edi
mov ebx, dword [esi + 0x4a84]
cmp eax, ebx
jl 0x430886
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x408
ret 4
cmp eax, ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x18]
jge 0x430903
movzx ecx, byte [edx + 1]
cmp ecx, eax
jg 0x4308b0
lea ebx, [ebx]
mov edx, dword [edi + 4]
movzx ebx, byte [edx + 1]
add edi, 4
add ecx, ebx
cmp ecx, eax
jle 0x4308a0
mov edi, dword [esp + 0x10]
mov dword [esi + 0x4a80], ecx
movzx eax, byte [edx + 1]
sub ecx, eax
mov dword [esi + 0x4a7c], ecx
mov cl, byte [edi + 2]
cmp cl, 7
jae 0x4308e9
add byte [edi + 3], 0xff
jne 0x4308e9
mov ax, word [edi]
add ax, ax
mov word [edi], ax
mov al, 3
shl al, cl
inc cl
mov byte [edi + 2], cl
mov byte [edi + 3], al
mov ecx, dword [esp + 0x14]
push edx
push esi
call fcn.00430590
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4
mov edi, dword [esp + 0x14]
mov dword [esi + 0x4a7c], ecx
mov dword [esi + 0x4a80], ebx
movzx ecx, word [edi]
sub ecx, dword [esi + 0x654]
lea eax, [esp + 0x18]
sub eax, 4
mov edx, dword [eax + 4]
movzx edx, byte [edx]
mov bl, byte [esi + 0xa6c]
add eax, 4
sub ecx, 1
mov byte [edx + esi + 0x66c], bl
jne 0x430923
mov cx, word [esi + 0x4a84]
mov eax, dword [esp + 0x10]
add word [eax], cx
movzx edx, word [edi]
pop edi
mov dword [esi + 0x654], edx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4