joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ee50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c99b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10080440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10082650]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x1001eebe
push 0x138
call fcn.1002c435
add esp, 4
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1001eeb0
mov ecx, eax
call fcn.1001e6a0
jmp 0x1001eeb2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10082650], eax
mov ecx, eax
call fcn.1001e7c0
mov edx, eax
mov dword [ebp - 0x234], 7
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [edx], ax
jne 0x1001eeed
xor ecx, ecx
jmp 0x1001ef01
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001eef2
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.10008730
push 0xc
push str.GDVCDbus.exe
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 1
call fcn.1000d6b0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f0ac
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10044800
push str.1b6545
lea eax, [ebp - 0x218]
push 0x1005fc9c
push eax
call fcn.1000db00
add esp, 0x18
mov dword [ebp - 0x21c], 7
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push eax
push 0x1005f708
call fcn.10008730
push 1
push 0x1005fca4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.10008730
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.1000d5a0
push 2
push 0x1005fca8
lea ecx, [ebp - 0x230]
call fcn.1000d6b0
cmp word [ebp - 0x218], 0
jne 0x1001eff0
xor ecx, ecx
jmp 0x1001f00f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f000
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.1000d6b0
push 2
push 0x10063178
lea ecx, [ebp - 0x230]
call fcn.1000d6b0
cmp word [esi], 0
jne 0x1001f03e
xor ecx, ecx
jmp 0x1001f052
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f043
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.1000d6b0
push 1
push 0x1005fca4
lea ecx, [ebp - 0x230]
call fcn.1000d6b0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.1001aaf0
mov eax, dword [ebp - 0x21c]
add esp, 4
cmp eax, 8
jb 0x1001f0ac
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10008830
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x1001f0ca
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.10008830
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.1002c484
mov esp, ebp
pop ebp
ret 4
Function at 0x100231d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x10]
mov dword [ebp - 4], 0x8007000e
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10023202
pop esi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x10023226
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x10023234
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
je 0x10023394
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1002338d
push edi
push ebx
push eax
call fcn.10043c90
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 0
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1002338d
push eax
push dword [ebp + 0x14]
call fcn.10020910
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10023384
mov eax, dword [ebx + 8]
mov dword [ebx + 8], 0
test eax, eax
jne 0x1002337c
cmp byte [ebp + 0x20], al
je 0x10023343
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
mov dword [ebp + 0x20], edi
test edi, edi
je 0x100232e1
mov ecx, ebx
call fcn.10020b20
push eax
push dword [ebp + 0x1c]
mov ecx, edi
push dword [ebp + 0x18]
call fcn.1001fc30
mov ecx, eax
jmp 0x100232e3
xor ecx, ecx
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
test ecx, ecx
je 0x1002337c
push ecx
lea ecx, [ebp - 0xc]
call fcn.1001ffe0
mov esi, dword [ebp - 0xc]
push 4
push esi
call sub.gdiplus.dll_GdipSetSmoothingMode
mov edi, dword [ebp - 8]
test eax, eax
push 7
push esi
cmovne edi, eax
call sub.gdiplus.dll_GdipSetInterpolationMode
push dword [ebp + 0x1c]
test eax, eax
lea ecx, [ebp - 0xc]
push dword [ebp + 0x18]
cmovne edi, eax
push 0
push 0
push ebx
mov dword [ebp - 8], edi
call fcn.100208d0
push dword [ebp - 0xc]
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipDeleteGraphics
mov esi, dword [ebp + 0x10]
jmp 0x1002337c
mov ecx, ebx
call fcn.10020b20
push eax
mov ecx, ebx
call fcn.10020af0
push eax
mov ecx, ebx
call fcn.10020d10
push eax
push 0
push 0
mov ecx, ebx
call fcn.10020800
mov ecx, eax
mov edi, 0x8007000e
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
xor eax, eax
test ecx, ecx
cmovne edi, eax
mov dword [ebp - 4], edi
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10026ce0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d6de
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10080440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x60]
mov dword [esi], vtable.CShareVariableManager.0
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x10026d2c
mov eax, dword [ecx]
jmp 0x10026d2e
mov eax, ecx
xor edx, edx
mov word [eax], dx
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], edx
cmp dword [esi + 0x8c], 8
mov dword [ebp - 4], edx
jb 0x10026d54
mov eax, dword [esi + 0x78]
jmp 0x10026d57
lea eax, [esi + 0x78]
xor edx, edx
mov word [eax], dx
lea ebx, [esi + 0x90]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edx
cmp dword [ebx + 0x14], 8
jb 0x10026d76
mov eax, dword [ebx]
jmp 0x10026d78
mov eax, ebx
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xa8]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x10026d95
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xc0]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x10026db2
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xd8]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x10026dcf
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
push edx
push 0x1005f708
mov byte [ebp - 4], 5
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 4], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], edx
call fcn.10008730
push 0
push 0x1005f708
lea ecx, [esi + 0x78]
call fcn.10008730
push 0
push 0x1005f708
mov ecx, ebx
call fcn.10008730
push 0
push 0x1005f708
lea ecx, [esi + 0xa8]
call fcn.10008730
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100293c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10080440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x41c], edi
call fcn.10044800
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10044800
mov eax, dword [edi + 0x28]
add esp, 0x18
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x100295d6
push ebx
nop word [eax + eax]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x418], eax
lea ebx, [eax + 0xc]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029431
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x1002958a
push ebx
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.1000db00
add edi, 0x90
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x1002946d
mov eax, dword [edi]
jmp 0x1002946f
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10063fd0
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10063fd0
lea eax, [ebp - 0x20c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100294c6
test dx, dx
je 0x100294c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100294c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100294a0
xor eax, eax
jmp 0x100294cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x100294e9
lea eax, [ebp - 0x20c]
push eax
call fcn.1004a83c
mov ecx, dword [ebp - 0x418]
add esp, 4
mov ecx, dword [ecx + 4]
mov byte [ecx], al
push ebx
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.1000db00
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x10029506
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002955b
test dx, dx
je 0x10029557
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002955b
add eax, 4
add ecx, 4
test dx, dx
jne 0x10029535
xor eax, eax
jmp 0x10029560
sbb eax, eax
or eax, 1
test eax, eax
je 0x10029584
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x20c]
mov edx, dword [eax + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x10029573
mov edi, dword [ebp - 0x41c]
cmp byte [esi + 0xd], 0
jne 0x100295ca
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100295af
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100295ca
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100295a3
jmp 0x100295ca
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100295c8
cmp esi, dword [eax + 8]
jne 0x100295c8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100295b8
mov esi, eax
mov eax, dword [edi + 0x28]
cmp esi, dword [eax]
jne 0x10029420
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002c484
mov esp, ebp
pop ebp
ret
Function at 0x10029900
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10080440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x418], ebx
cmp dword [ebx + 4], 0
je 0x10029b0b
mov eax, dword [ebx + 0x28]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x10029a60
add ebx, 0x90
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [edi + 4]
cmp byte [eax], 0
lea eax, [ebp - 0x20c]
je 0x10029964
push 0x10062740
jmp 0x10029969
push 0x10060168
push 0x100600f8
push eax
call fcn.1000db00
add esp, 0xc
lea eax, [ebp - 0x414]
add edi, 0xc
push edi
push str.Is_s
push eax
call fcn.1000db00
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x10029999
mov eax, dword [ebx]
jmp 0x1002999b
mov eax, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.1000db00
push dword [ebp - 0x41c]
lea eax, [ebp - 0x20c]
push 0x100600f8
push eax
call fcn.1000db00
add esp, 0x18
cmp dword [ebx + 0x14], 8
jb 0x100299eb
mov eax, dword [ebx]
jmp 0x100299ed
mov eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call edi
cmp byte [esi + 0xd], 0
jne 0x10029a49
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10029a2e
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10029a49
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10029a22
jmp 0x10029a49
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10029a47
cmp esi, dword [eax + 8]
jne 0x10029a47
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029a37
mov esi, eax
mov eax, dword [ebp - 0x418]
mov eax, dword [eax + 0x28]
cmp esi, dword [eax]
jne 0x10029943
mov ebx, dword [ebp - 0x418]
cmp dword [ebx + 0xd4], 8
lea esi, [ebx + 0xc0]
jb 0x10029a73
mov eax, dword [esi]
jmp 0x10029a75
mov eax, esi
push eax
push 0x10062740
push str.ModifyHotKey
push str.SetModify
call edi
cmp dword [esi + 0x14], 8
jb 0x10029a91
mov eax, dword [esi]
jmp 0x10029a93
mov eax, esi
push eax
push 0x10062740
push str.ModifyHotKey64
push str.SetModify
call edi
cmp dword [esi + 0x14], 8
jb 0x10029aaf
mov eax, dword [esi]
jmp 0x10029ab1
mov eax, esi
push eax
push 0x10062740
push str.TempModifyHotKey
push str.SetModify
call edi
cmp dword [esi + 0x14], 8
jb 0x10029acb
mov esi, dword [esi]
push esi
push 0x10062740
push str.TempModifyHotKey64
push str.SetModify
call edi
cmp dword [ebx + 0xbc], 8
lea ecx, [ebx + 0xa8]
pop edi
pop esi
jb 0x10029af0
mov ecx, dword [ecx]
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
jb 0x10029b01
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1002c484
mov esp, ebp
pop ebp
ret
Function at 0x1002f530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1005558e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005524e
Function at 0x1004a63
Capabilities:
Inspect section memory permissions

Disassembly:
pop ebp
or al, 0xeb
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1004a85
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1004aa3
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1004b01
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1004ae8
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1004af1
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1004afb
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1004add
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1004a67
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1004b4e
dec eax
je 0x1004b45
sub eax, 3
je 0x1004b3c
mov dword [ebp - 4], 0x40
jmp 0x1004b6b
mov dword [ebp - 4], 4
jmp 0x1004b51
mov dword [ebp - 4], 0x20
jmp 0x1004b51
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1004b9d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1004b1d
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.010043ae
aaa
add ebp, esi
mov edi, 0x6a1475ff
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x1004ba9
push reloc.KERNEL32.dll_Sleep
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1007941
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp esi, ebx
jne 0x1007970
call dword [sym.imp.msvcrt.dll__errno]
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call fcn.010033bc
add esp, 0x14
jmp 0x1007a5a
mov eax, dword [esi + 0xc]
test al, 0x83
je 0x1007a5a
test al, 0x40
jne 0x1007a5a
test al, 2
je 0x1007992
or eax, 0x20
mov dword [esi + 0xc], eax
jmp 0x1007a5a
or eax, 1
mov dword [esi + 0xc], eax
test eax, 0x10c
je 0x1007952
push dword [esi + 0x18]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.msvcrt.dll__fileno]
push eax
push esi
mov dword [esi], eax
call edi
pop ecx
push eax
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
mov dword [esi + 4], eax
cmp eax, ebx
je 0x1007a4a
cmp eax, 1
je 0x1007a4a
cmp eax, 0xffffffff
je 0x1007a4a
test byte [esi + 0xc], 0x82
jne 0x1007a1c
push esi
call edi
pop ecx
cmp eax, 0xffffffff
je 0x1007a07
push esi
call edi
pop ecx
cmp eax, 0xfffffffe
je 0x1007a07
push esi
call edi
mov ecx, dword [sym.imp.msvcrt.dll___pioinfo]
sar eax, 5
push esi
lea ebx, [ecx + eax*4]
call edi
and eax, 0x1f
imul eax, eax, 0x24
add eax, dword [ebx]
pop ecx
pop ecx
jmp 0x1007a0c
mov eax, dword [sym.imp.msvcrt.dll___badioinfo]
mov al, byte [eax + 4]
and al, 0x82
cmp al, 0x82
jne 0x1007a1c
or dword [esi + 0xc], 0x2000
cmp dword [esi + 0x18], 0x200
jne 0x1007a3a
mov eax, dword [esi + 0xc]
test al, 8
je 0x1007a3a
test eax, 0x400
jne 0x1007a3a
mov dword [esi + 0x18], 0x1000
mov ecx, dword [esi]
add dword [esi + 4], 0xfffffffe
movzx eax, word [ecx]
add ecx, 2
mov dword [esi], ecx
jmp 0x1007a5f
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [esi + 0xc], eax
mov dword [esi + 4], ebx
mov eax, pe_overlay
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x401443
pop dword [ebp - 0xc]
mov eax, 0x11872751
sub eax, 0x1147130e
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x3841585b
sub dword [ebp - 0x1c], 0xe9ef1310
mov dword [ebp - 0x18], 0x9b6cbf5c
add dword [ebp - 0x18], 0x96c68ce9
mov dword [ebp - 0x14], 0x5bbbbb3e
add dword [ebp - 0x14], 0xf09088f0
mov dword [ebp - 0x10], 0x79be1e4f
sub dword [ebp - 0x10], 0x79be1e4f
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xf2217b13
add eax, 0xe1ef631
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xbecd40dd
add dword [ebp - 0x1c], 0xb5a52879
mov dword [ebp - 0x18], 0xface06a3
add dword [ebp - 0x18], 0x469e5ad2
mov dword [ebp - 0x14], 0xee86f0e5
add dword [ebp - 0x14], 0x74e87b87
mov dword [ebp - 0x10], 0x47d45af
add dword [ebp - 0x10], 0xfb82ba51
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x39565
push 0
call eax
mov ecx, 0xa7c108c0
add ecx, 0x583f4438
mov esi, eax
mov edx, 0xa0e75df
sub edx, 0x9cb15df
add edx, dword [ebp - 0xc]
mov edi, 0xf113f48b
add dword [ebp - 4], 0x534b0581
mov ebx, dword [edx]
xor dword [ebp - 4], edi
sub ebx, edi
mov dword [esi], ebx
add dword [ebp - 4], 0x50301960
add esi, 0x8d427417
add esi, 0x72bd8bed
add edx, 0xe6812c69
add edx, 0x197ed39b
loop 0x40155a
add eax, 0x126b3
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x402a69
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x424010]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402afd
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402aba
cmp dword [ebp + 0x10], ebx
jne 0x402af1
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402acc
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402aa1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 4
call fcn.004060b1
cmp eax, ebx
je 0x402b04
push ebx
push dword [0x424010]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402afd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x424010], ebx
jne 0x402afa
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402afa
jmp 0x402afd
Function at 0x406120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422af4], 0
push esi
jne 0x406157
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406131
mov dword [ecx*4 + 0x422af0], eax
inc ecx
cmp ecx, 0x100
jl 0x40612c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406188
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422af0]
xor eax, esi
inc ecx
dec edx
jne 0x40616a
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1002c95d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1002c96c
pop dword [ebp - 0x3c]
mov eax, 0xf7c129c8
sub eax, 0xe7be605c
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x412e389c
add dword [ebp - 0x4c], 0xd240caf
mov dword [ebp - 0x48], 0x51f3ffc0
sub dword [ebp - 0x48], 0x1fc0b37b
mov dword [ebp - 0x44], 0xc48b1d5e
add dword [ebp - 0x44], 0x87c126d0
mov dword [ebp - 0x40], 0x36af6832
add dword [ebp - 0x40], 0xc95097ce
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x9e0b8cf8
sub eax, 0x8e0b7b74
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xe6b1ac5c
sub dword [ebp - 0x4c], 0x723f4306
mov dword [ebp - 0x48], 0xb32e6feb
add dword [ebp - 0x48], 0x8e3df18a
mov dword [ebp - 0x44], 0xde841b25
sub dword [ebp - 0x44], 0x7b14aeb9
mov dword [ebp - 0x40], 0x589418c7
add dword [ebp - 0x40], 0xa76be739
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x86df3a48
sub eax, 0x76df2a48
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x41336
push 0
call eax
mov ecx, 0x558315e
sub ecx, 0x557f43b
mov esi, eax
mov edi, 0x10051800
add edi, dword [ebp - 0x3c]
mov edx, 0x92175b0a
sub edx, 0x453def35
xor dword [ebp - 0x34], 0x7ba28d8f
mov ebx, dword [edi]
mov dword [ebp - 0x10], 0xdef4e108
sub ebx, edx
add dword [ebp - 0x1c], 0xfa32ec48
mov dword [esi], ebx
xor dword [ebp - 0x10], 0x49444bcd
add esi, 0x30a69981
add esi, 0xcf596683
add edi, 0xf9d6478f
add edi, 0x629b875
loop 0x1002ca88
add eax, 0xdcc5e166
add eax, 0x233b05f9
xor ebx, ebx
add ebx, eax
add eax, 0x9dddb994
sub eax, 0x9dddb98f
mov ecx, 0x98d08c0e
add ecx, 0x772f73f2
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret