joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007476
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xa5cf8fb0]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add ebx, edi
cmp word [edi], 0x5a4d
mov dword [ebp - 0x14], eax
jne 0x100759f
cmp dword [ebx], 0x4550
jne 0x100759f
push dword [ebx + 0x78]
push edi
call fcn.01002354
mov esi, eax
xor eax, eax
add esi, edi
cmp dword [ebx + 0x7c], eax
je 0x100759f
cmp dword [esi + 0x18], eax
je 0x100759f
cmp dword [esi + 0x14], eax
je 0x100759f
push dword [esi + 0x1c]
push edi
call fcn.01002354
push dword [esi + 0x20]
add eax, edi
push edi
mov dword [ebp - 0x10], eax
call fcn.01002354
push dword [esi + 0x24]
mov ebx, eax
push edi
add ebx, edi
call fcn.01002354
push dword [ebp - 0x10]
add eax, edi
mov dword [ebp - 0xc], eax
call dword [0xa5cf619c]
test al, al
je 0x100759f
push ebx
call dword [0xa5cf619c]
test al, al
je 0x100759f
push dword [ebp - 0xc]
call dword [0xa5cf619c]
test al, al
je 0x100759f
cmp byte [ebp + 0x14], 0
je 0x1007542
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.010023b8
and dword [ebp - 8], 0
cmp dword [esi + 0x18], 0
jbe 0x100759a
push dword [ebp - 0x14]
mov eax, dword [ebp - 8]
push dword [ebx + eax*4]
push edi
call fcn.01002354
add eax, edi
push eax
call dword [0xa5cf6078]
test eax, eax
pop ecx
pop ecx
je 0x1007577
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x18]
jb 0x100754c
jmp 0x100759a
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
push dword [ecx + eax*4]
push edi
call fcn.01002354
add eax, edi
cmp byte [eax], 0xb8
jne 0x100759a
mov eax, dword [eax + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x10075a1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100f6a2
leave
ret 0x10

Function at 0x1009518
Capabilities:
Encode data using xor
Hash data using jshash

Disassembly:
mov edi, edi
push esi
mov esi, dword [0xa5cfadc0]
push edi
mov edi, 0xa5cfadc0
cmp esi, edi
je 0x1009583
push ebx
mov eax, 0x4e67c6a7
xor ecx, ecx
movsx edx, byte [esi + ecx - 0x34]
mov ebx, eax
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
inc ecx
cmp ecx, 0xc
jb 0x1009533
cmp eax, dword [esi - 0x28]
je 0x100957c
cmp byte [0xa5cfae25], 0
jne 0x1009572
push 0x436e4dc6
push 0x576e4278
call fcn.01003a6e
mov byte [0xa5cfae25], 1
push 0x3e8
call fcn.010012e6
mov esi, dword [esi]
cmp esi, edi
jne 0x100952c
pop ebx
pop edi
pop esi
ret
Function at 0x100958c
Capabilities:
Encode data using xor
Hash data using jshash

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
mov byte [ebp - 1], 0
call dword [0xa5cf6014]
cmp al, 2
mov edi, 0xa5cfadd0
mov ecx, edi
jb 0x10095b4
call dword [0xa5cf6084]
mov byte [ebp - 1], 1
jmp 0x10095bd
call dword [0xa5cf600c]
mov byte [ebp - 2], al
push esi
mov esi, dword [0xa5cfadc8]
cmp esi, 0xa5cfadc8
je 0x100961e
push ebx
mov eax, 0x4e67c6a7
xor ecx, ecx
movsx edx, byte [esi + ecx - 0x34]
mov ebx, eax
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
inc ecx
cmp ecx, 0xc
jb 0x10095d4
cmp eax, dword [esi - 0x28]
je 0x1009613
cmp byte [0xa5cfae26], 0
jne 0x1009613
push 0x436e4dc5
push 0x576e4278
call fcn.01003a6e
mov byte [0xa5cfae26], 1
mov esi, dword [esi]
cmp esi, 0xa5cfadc8
jne 0x10095cd
pop ebx
cmp byte [ebp - 1], 0
pop esi
mov ecx, edi
je 0x100962f
call dword [0xa5cf6080]
jmp 0x1009638
mov dl, byte [ebp - 2]
call dword [0xa5cf6010]
pop edi
leave
ret

Function at 0x100a1d6
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0xa5cf8fb0]
and dword [ebp - 0x5c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x15
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov edi, dword [0xa5cf619c]
push esi
call edi
test al, al
je 0x100a269
push ebx
call edi
test al, al
je 0x100a269
mov eax, dword [esi + 0x3c]
add eax, esi
cmp word [esi], 0x5a4d
jne 0x100a269
cmp dword [eax], 0x4550
jne 0x100a269
push 0x38
lea esi, [eax + 0x18]
pop ecx
lea eax, [ebp - 0x5c]
lea edi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x120], 0
push eax
call fcn.010049cc
push 0xe0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.01009f7c
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.0100a024
mov al, 1
jmp 0x100a26b
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100f6a2
leave
ret 0xc
Function at 0x413388
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x413430
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00403a44
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00412a1c
mov eax, dword [ebp - 8]
call fcn.00403ce0
test al, al
jbe 0x413412
mov byte [ebp - 9], al
mov bl, 1
lea eax, [ebp - 0x10]
xor edx, edx
mov dl, bl
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + edx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
call fcn.00403c2c
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00403ce8
xor eax, eax
mov al, bl
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax - 1]
add esi, eax
imul esi, dword [ebp - 4]
add esi, dword [ebp + 0xc]
inc ebx
dec byte [ebp - 9]
jne 0x4133d3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413437
lea eax, [ebp - 0x10]
call fcn.00403a44
lea eax, [ebp - 8]
call fcn.00403a44
ret
Function at 0x402d46
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x43c1b0
call fcn.0043b810
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x444520
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
push 3
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
lea ecx, [esi + 0x18]
push 3
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
lea ecx, [esi + 0x24]
push 3
mov byte [ebp - 4], 2
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 4
mov dword [esi + 0x30], 0x4444d8
lea ecx, [esi + 0x44]
push 3
mov byte [ebp - 4], 4
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x4444f0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x402e30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43c1ed
call fcn.0043b810
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
push dword [esi + 0x44]
call fcn.0042690e
lea edi, [esi + 0x30]
pop ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0x4444d8
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042675e
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00426735
push dword [esi + 0x24]
call fcn.0042690e
push dword [esi + 0x18]
call fcn.0042690e
push dword [esi + 0xc]
call fcn.0042690e
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x444550
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret

Function at 0x40691e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x406968
cmp dword [ebp - 0x84], 2
jne 0x406968
cmp dword [ebp - 0x90], 5
jb 0x406968
jbe 0x40695a
mov al, 1
leave
ret
cmp dword [ebp - 0x8c], 1
jb 0x406968
seta al
leave
ret
xor al, al
leave
ret
Function at 0x408004
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43cd5f
call fcn.0043b810
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 3
mov dword [ebp - 0x10], esi
mov dword [esi], 0x444c8c
mov dword [esi + 4], 0x444c7c
mov dword [esi + 8], 0x444c50
mov dword [esi + 0xc], 0x444c40
mov dword [esi + 0x10], 0x444c30
mov dword [esi + 0x14], 0x444c20
lea ecx, [esi + 0x20]
mov dword [esi + 0x18], 0x444c10
mov dword [esi + 0x1c], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004034f8
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
call fcn.004080e2
push 4
lea eax, [esi + 0x90]
pop ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x444c08
lea eax, [esi + 0xac]
mov dword [esi + 0xa4], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0x444c00
mov byte [esi + 0xc0], bl
or dword [esi + 0xc4], 0xffffffff
mov dword [esi], 0x444bd0
mov dword [esi + 4], 0x444bc0
mov dword [esi + 8], 0x444b94
mov dword [esi + 0xc], 0x444b84
mov dword [esi + 0x10], 0x444b74
mov dword [esi + 0x14], 0x444b64
mov dword [esi + 0x18], 0x444b54
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4083e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43ce22
call fcn.0043b810
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x444c8c
mov dword [esi + 4], 0x444c7c
mov dword [esi + 8], 0x444c50
mov dword [esi + 0xc], 0x444c40
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x444c30
mov dword [esi + 0x14], edi
push 3
mov dword [ebp - 0x10], esi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
lea ecx, [esi + 0x24]
push 3
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
lea ecx, [esi + 0x30]
push 3
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi], 0x444d20
mov dword [esi + 4], 0x444d10
mov dword [esi + 8], 0x444ce4
mov dword [esi + 0xc], 0x444cd4
mov dword [esi + 0x10], 0x444cc4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4087e5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43cec1
call fcn.0043b810
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00403254
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00403254
mov al, byte [edi + 0x18]
lea ecx, [esi + 0x38]
mov byte [esi + 0x18], al
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
lea eax, [edi + 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.00403254
lea eax, [edi + 0x44]
lea ecx, [esi + 0x44]
push eax
mov byte [ebp - 4], 2
call fcn.00403254
add edi, 0x50
lea ecx, [esi + 0x50]
push edi
mov byte [ebp - 4], 3
call fcn.00403254
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40c1fb
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x43d7dc
call fcn.0043b810
sub esp, 0x30
mov eax, dword [ecx]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], ecx
mov dword [ecx + 4], edi
mov word [eax], di
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp si, ax
jne 0x40c30a
mov esi, eax
push 4
shr ax, 0xa
lea ecx, [ebp - 0x3c]
and esi, 0x3ff
mov dword [ebp - 0x1c], eax
call fcn.004028ea
mov ebx, 0x444de8
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], edi
call fcn.0040bf89
cmp dword [ebp - 0x34], edi
mov dword [ebp - 0x14], edi
jle 0x40c2ec
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
push 3
mov edi, dword [eax + ecx*4]
xor eax, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call fcn.004034f8
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push 2
mov byte [ebp - 4], 1
call fcn.004262db
test al, al
je 0x40c2d0
lea eax, [ebp - 0xe]
lea edx, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c18e
test al, al
je 0x40c2d0
cmp word [ebp - 0x10], si
jne 0x40c2d0
cmp word [ebp - 0xe], 0
jne 0x40c2c6
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 0x14]
push eax
call fcn.0040328e
mov ax, word [ebp - 0xe]
cmp word [ebp - 0x1c], ax
je 0x40c319
push dword [ebp - 0x28]
and byte [ebp - 4], 0
call fcn.0042690e
inc dword [ebp - 0x14]
pop ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
jl 0x40c267
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.0042675e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00426735
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov ecx, dword [ebp - 0x18]
add edi, 0x14
push edi
call fcn.0040328e
push dword [ebp - 0x28]
call fcn.0042690e
pop ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 2
jmp 0x40c2f6
Function at 0x40cfac
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp ecx, 0x3e8
jl 0x40d016
push esi
push ecx
mov ecx, dword [0x455384]
imul ecx, ecx, 0x194
add ecx, 0x4553fc
call fcn.00419f0c
mov eax, dword [0x455384]
mov esi, eax
imul esi, esi, 0x194
add esi, 0x455578
mov ecx, dword [esi]
test ecx, ecx
je 0x40cff5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi], 0
mov eax, dword [0x455384]
imul eax, eax, 0x194
add eax, 0x45557c
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x40d011
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esi], 0
mov al, 1
pop esi
pop ecx
ret
lea eax, [ecx - 0xd2]
cmp eax, 0x29
ja case.0x40d02c.213
movzx eax, byte [eax + 0x40d1d1]
jmp dword [eax*4 + 0x40d18d]
push 1
jmp 0x40d055
mov ecx, dword [0x455384]
imul ecx, ecx, 0x194
add ecx, 0x4553fc
call fcn.0041787c
jmp case.0x40d02c.220
push 0
mov ecx, dword [0x455384]
imul ecx, ecx, 0x194
add ecx, 0x4553fc
call fcn.004178be
jmp case.0x40d02c.220
mov ecx, dword [0x455384]
imul ecx, ecx, 0x194
add ecx, 0x4553fc
call fcn.00417843
jmp case.0x40d02c.220
mov ecx, dword [0x455384]
imul ecx, ecx, 0x194
add ecx, 0x4553fc
call fcn.0041b4de
jmp case.0x40d02c.220
push dword [0x455384]
push 0
push 0
jmp 0x40d0bf
push dword [0x455384]
push 0
push 1
mov ecx, 0x455378
call fcn.00401fcc
jmp case.0x40d02c.220
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x455384]
shr eax, 0xf
and al, 1
mov byte [esp + 3], al
sete al
imul ecx, ecx, 0x194
push eax
add ecx, 0x4553fc
call fcn.0041a257
jmp case.0x40d02c.220
mov ecx, 0x455378
call fcn.0041160c
jmp case.0x40d02c.220
mov ecx, 0x455378
call fcn.0041c518
jmp case.0x40d02c.220
mov ecx, 0x455378
call fcn.0041d0d0
jmp case.0x40d02c.220
mov ecx, dword [0x455384]
imul ecx, ecx, 0x194
add ecx, 0x4553fc
call fcn.0041922d
jmp case.0x40d02c.220
mov ecx, dword [0x455384]
imul ecx, ecx, 0x194
add ecx, 0x4553fc
call fcn.0041b502
jmp case.0x40d02c.220
mov ecx, dword [0x455384]
imul ecx, ecx, 0x194
add ecx, 0x4553fc
call fcn.0041ae23
jmp case.0x40d02c.220
mov ecx, dword [0x455384]
imul ecx, ecx, 0x194
add ecx, 0x4553fc
call fcn.0041b234
mov al, 1
pop ecx
ret
xor al, al
pop ecx
ret

Function at 0x40f547
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
lea eax, [esp]
neg cl
sbb ecx, ecx
and cl, 1
add ecx, 0x100
or cx, 0x4010
push ecx
push 0x160
push eax
push 0x90
push 0x4557d0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
add esp, 0x160
ret

Function at 0x410a14
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43e097
call fcn.0043b810
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 4
mov dword [esi + 4], 0x4444e0
lea ecx, [esi + 0x18]
push 3
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004034f8
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], ebx
mov byte [esi + 0x30], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x410e2f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43e137
call fcn.0043b810
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x4451b4
mov dword [esi + 4], 0x4451a4
mov dword [esi + 8], 0x4449a8
mov dword [esi + 0xc], 0x4449f0
lea ecx, [esi + 0x1c]
mov dword [esi + 0x10], 0x4450b0
mov dword [esi + 0x14], edi
push 3
mov dword [ebp - 0x10], esi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
lea ecx, [esi + 0x30]
mov dword [ebp - 4], edi
mov byte [esi + 0x28], 1
call fcn.0040507b
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0x184]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 4
mov dword [eax], 0x4444d8
mov dword [esi], 0x44517c
mov dword [esi + 4], 0x44516c
mov dword [esi + 8], 0x44515c
mov dword [esi + 0xc], 0x445148
mov dword [esi + 0x10], 0x445138
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x415845
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
call fcn.0042867b
mov ecx, dword [esi + 0xc]
pop esi
jmp fcn.00428206
Function at 0x4158ed
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43eb29
call fcn.0043b810
sub esp, 0x98
push ebx
mov dword [ebp - 0x28], ecx
xor ebx, ebx
mov dword [ebp - 0x2c], edx
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004034f8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0041fab6
cmp dword [ebp - 0x14], ebx
jne 0x41594e
lea ecx, [ebp - 0x18]
call fcn.00427ec8
test al, al
je 0x415ad4
lea ecx, [ebp - 0x18]
call fcn.00429f92
lea ecx, [ebp - 0x18]
push 0x453c60
call fcn.004032f7
push esi
mov esi, 0x453c5c
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.004031f3
mov edi, eax
push esi
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.004031f3
lea ecx, [ebp - 0x18]
mov edx, eax
push ecx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.004036cc
push edi
mov edx, eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
call fcn.004036cc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0040328e
push dword [ebp - 0xa4]
call fcn.0042690e
push dword [ebp - 0x8c]
call fcn.0042690e
push dword [ebp - 0x98]
call fcn.0042690e
push dword [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0042690e
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0x453c54
call fcn.004032f7
lea ecx, [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00403254
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00403354
mov byte [ebp - 4], bl
push dword [ebp - 0x24]
call fcn.0042690e
pop ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.004032f7
cmp byte [0x45577c], bl
jne 0x415a5f
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x4c], ebx
call fcn.00403109
lea ecx, [ebp - 0x3c]
mov eax, dword [eax]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
push dword [ebp - 0x24]
call fcn.0042690e
pop ecx
jmp 0x415a93
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x80], 0x44
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x7c], ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], ebx
push ebx
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
pop edi
cmp esi, ebx
pop esi
je 0x415aa7
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x3c]
jmp 0x415ad4
push 0x3020282
mov edx, 0x8ea
lea ecx, [ebp - 0x24]
call fcn.0040bf13
push 0x10
push 0x45399c
push dword [eax]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x24]
call fcn.0042690e
pop ecx
push dword [ebp - 0x18]
call fcn.0042690e
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x415b99
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43eb68
call fcn.0043b810
sub esp, 0x60
push ebx
xor ebx, ebx
cmp byte [0x45577c], bl
push esi
push edi
mov esi, ecx
je 0x415c19
mov eax, dword [edx]
cmp dword [esi + 4], ebx
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x140
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ebx
jne 0x415bda
xor esi, esi
jmp 0x415bdc
mov esi, dword [esi]
push str.ShellExecuteExW
push 0x453c78
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x415c0b
xor eax, eax
jmp 0x415cbf
lea ecx, [ebp - 0x6c]
push ecx
call eax
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x34]
jmp 0x415c88
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x140
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00403109
mov edx, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00403109
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
mov dword [ebp - 0x50], 1
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x34]
push dword [ebp - 0x18]
call fcn.0042690e
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call fcn.0042690e
pop ecx
pop ecx
cmp esi, 0x20
ja 0x415cbd
cmp esi, 0x1f
jne 0x415cbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0040438b
push 0x10
push 0x45399c
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x30]
call fcn.0042690e
pop ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4167df
Capabilities:
Delete directory

Disassembly:
cmp byte [ecx + 4], 0
je 0x4167ec
mov ecx, dword [ecx]
jmp fcn.00415845
ret