joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6cd4f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x737e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ecx + 0x1c2c]
push esi
xor edx, edx
xor ecx, ecx
mov esi, dword [eax]
push edi
cmp esi, eax
mov dword [ebp - 0x10], edx
je 0x6cd52c
mov edi, dword [ebp + 0xc]
cmp ecx, edi
je 0x6cd561
mov esi, dword [esi]
inc ecx
cmp esi, eax
jne 0x6cd521
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xb]
pop edi
pop esi
mov dword [eax], edx
mov byte [eax + 0xc], cl
mov cl, byte [ebp + 0xb]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov byte [eax + 0x1c], cl
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
mov eax, dword [esi + 8]
push ebx
push edx
mov dword [edi], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x10]
mov dword [edi + 8], eax
mov cl, byte [esi + 0x14]
lea ebx, [edi + 0xc]
mov byte [ebx], cl
mov ecx, ebx
call fcn.00420200
mov edx, dword [0x73a7f0]
lea eax, [esi + 0x14]
push edx
push 0
push eax
mov ecx, ebx
call fcn.0041fed0
mov al, byte [esi + 0x24]
lea ebx, [edi + 0x1c]
push 0
mov ecx, ebx
mov dword [ebp - 4], 0
mov byte [ebx], al
call fcn.00420200
mov ecx, dword [0x73a7f0]
lea eax, [esi + 0x24]
push ecx
push 0
push eax
mov ecx, ebx
call fcn.0041fed0
mov edx, dword [esi + 0x34]
pop ebx
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 0x38]
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x6cd5f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x737e7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, ecx
push ebx
xor ecx, ecx
push esi
mov eax, dword [eax + 0x1c2c]
mov dword [ebp - 0x14], ecx
push edi
mov dword [ebp - 0x14], eax
mov ebx, dword [eax]
cmp ebx, eax
je 0x6cd670
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 0x1c]
not ecx
dec ecx
cmp eax, ecx
mov dword [ebp - 0x10], ecx
jae 0x6cd63f
mov ecx, eax
mov esi, dword [ebx + 0x18]
mov edi, edx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x6cd64f
sbb edx, edx
sbb edx, 0xffffffff
xor ecx, ecx
cmp edx, ecx
jne 0x6cd667
mov esi, dword [ebp - 0x10]
cmp eax, esi
jb 0x6cd667
xor edx, edx
cmp eax, esi
setne dl
cmp edx, ecx
je 0x6cd6a6
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jne 0x6cd624
mov eax, dword [ebp + 8]
mov dl, byte [ebp + 0xf]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 0xc], dl
mov dl, byte [ebp + 0xf]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov byte [eax + 0x1c], dl
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 8]
push ecx
mov dword [esi], eax
mov edx, dword [ebx + 0xc]
mov dword [esi + 4], edx
mov eax, dword [ebx + 0x10]
mov dword [esi + 8], eax
mov dl, byte [ebx + 0x14]
lea edi, [esi + 0xc]
mov ecx, edi
mov byte [edi], dl
call fcn.00420200
mov eax, dword [0x73a7f0]
mov ecx, edi
push eax
lea eax, [ebx + 0x14]
push 0
push eax
call fcn.0041fed0
mov cl, byte [ebx + 0x24]
lea edi, [esi + 0x1c]
push 0
mov dword [ebp - 4], 0
mov byte [edi], cl
mov ecx, edi
call fcn.00420200
mov edx, dword [0x73a7f0]
lea eax, [ebx + 0x24]
push edx
push 0
push eax
mov ecx, edi
call fcn.0041fed0
mov eax, dword [ebx + 0x34]
pop edi
mov dword [esi + 0x2c], eax
mov ecx, dword [ebx + 0x38]
mov dword [esi + 0x30], ecx
mov edx, dword [ebx + 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], edx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x6cd730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x737e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ecx + 0x1c2c]
push esi
xor edx, edx
push edi
mov esi, dword [eax]
mov dword [ebp - 0x10], edx
cmp esi, eax
je 0x6cd76a
mov ecx, dword [ebp + 0xc]
cmp dword [esi + 0xc], ecx
je 0x6cd79f
mov esi, dword [esi]
cmp esi, eax
jne 0x6cd75f
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xb]
pop edi
pop esi
mov dword [eax], edx
mov byte [eax + 0xc], cl
mov cl, byte [ebp + 0xb]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov byte [eax + 0x1c], cl
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
mov eax, dword [esi + 8]
push ebx
push edx
mov dword [edi], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x10]
mov dword [edi + 8], eax
mov cl, byte [esi + 0x14]
lea ebx, [edi + 0xc]
mov byte [ebx], cl
mov ecx, ebx
call fcn.00420200
mov edx, dword [0x73a7f0]
lea eax, [esi + 0x14]
push edx
push 0
push eax
mov ecx, ebx
call fcn.0041fed0
mov al, byte [esi + 0x24]
lea ebx, [edi + 0x1c]
push 0
mov ecx, ebx
mov dword [ebp - 4], 0
mov byte [ebx], al
call fcn.00420200
mov ecx, dword [0x73a7f0]
lea eax, [esi + 0x24]
push ecx
push 0
push eax
mov ecx, ebx
call fcn.0041fed0
mov edx, dword [esi + 0x34]
pop ebx
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 0x38]
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x6cd8a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x737ebb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ecx + 0x1c38]
push esi
xor edx, edx
xor ecx, ecx
mov esi, dword [eax]
push edi
cmp esi, eax
mov dword [ebp - 0x10], edx
je 0x6cd8dc
mov edi, dword [ebp + 0xc]
cmp ecx, edi
je 0x6cd911
mov esi, dword [esi]
inc ecx
cmp esi, eax
jne 0x6cd8d1
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xb]
pop edi
pop esi
mov dword [eax], edx
mov byte [eax + 0xc], cl
mov cl, byte [ebp + 0xb]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov byte [eax + 0x1c], cl
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
mov eax, dword [esi + 8]
push ebx
push edx
mov dword [edi], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x10]
mov dword [edi + 8], eax
mov cl, byte [esi + 0x14]
lea ebx, [edi + 0xc]
mov byte [ebx], cl
mov ecx, ebx
call fcn.00420200
mov edx, dword [0x73a7f0]
lea eax, [esi + 0x14]
push edx
push 0
push eax
mov ecx, ebx
call fcn.0041fed0
mov al, byte [esi + 0x24]
lea ebx, [edi + 0x1c]
push 0
mov ecx, ebx
mov dword [ebp - 4], 0
mov byte [ebx], al
call fcn.00420200
mov ecx, dword [0x73a7f0]
lea eax, [esi + 0x24]
push ecx
push 0
push eax
mov ecx, ebx
call fcn.0041fed0
mov edx, dword [esi + 0x34]
pop ebx
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 0x38]
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x6dc2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x79696c]
push esi
test eax, eax
mov esi, ecx
je 0x6dc36b
mov dword [0x79696c], 0
call fcn.007126a4
cdq
mov ecx, 0xc
idiv ecx
mov dword [esi + 0x3550], edx
call fcn.007126a4
cdq
mov ecx, 0xc
idiv ecx
mov dword [esi + 0x354c], edx
call fcn.007126a4
cdq
mov ecx, 0xc
idiv ecx
mov dword [esi + 0x3558], edx
call fcn.007126a4
cdq
mov ecx, 0xc
idiv ecx
mov dword [esi + 0x3548], edx
call fcn.007126a4
cdq
mov ecx, 0xc
idiv ecx
mov dword [esi + 0x3554], edx
mov edx, dword [esi + 0x37dc]
mov eax, dword [esi + 0x37e0]
mov ecx, dword [esi + 0x37d4]
mov dword [ebp - 0xc], edx
mov edx, dword [esi + 0x37d8]
push ebx
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
call fcn.007126a4
cdq
mov ecx, 0xc
idiv ecx
mov dword [esi + 0x3550], edx
call fcn.007126a4
cdq
mov ecx, 0xc
idiv ecx
mov dword [esi + 0x3548], edx
call fcn.007126a4
cdq
mov ecx, 0xc
idiv ecx
mov dword [esi + 0x3554], edx
call fcn.007126a4
cdq
mov ecx, 0xc
idiv ecx
mov dword [esi + 0x354c], edx
call fcn.007126a4
cdq
mov ecx, 0xc
lea edi, [esi + 0x355c]
idiv ecx
mov ebx, ecx
mov dword [esi + 0x3558], edx
call fcn.007126a4
cdq
xor eax, edx
add edi, 4
sub eax, edx
and eax, 0
xor eax, edx
sub eax, edx
dec ebx
mov dword [edi - 4], eax
jne 0x6dc3f8
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x37d4]
pop edi
cmp ecx, eax
pop ebx
je 0x6dc460
mov ecx, 0x814260
mov dword [esi + 0x37d4], eax
call fcn.00533580
test eax, eax
je 0x6dc460
mov ecx, dword [0x7dad98]
test ecx, ecx
je 0x6dc44f
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [0x7dad98]
call fcn.004fe260
mov ecx, 0x814260
call fcn.00533580
mov ecx, eax
call fcn.005af2a0
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0x37d8]
cmp ecx, eax
je 0x6dc4ac
mov ecx, 0x814260
mov dword [esi + 0x37d8], eax
call fcn.00533580
test eax, eax
je 0x6dc4ac
mov ecx, dword [0x7dad98]
test ecx, ecx
je 0x6dc49b
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x7dad98]
call fcn.004fe260
mov ecx, 0x814260
call fcn.00533580
mov ecx, eax
call fcn.005af2a0
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x37dc]
cmp ecx, eax
je 0x6dc4f8
mov ecx, 0x814260
mov dword [esi + 0x37dc], eax
call fcn.00533580
test eax, eax
je 0x6dc4f8
mov ecx, dword [0x7dad98]
test ecx, ecx
je 0x6dc4e7
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [0x7dad98]
call fcn.004fe260
mov ecx, 0x814260
call fcn.00533580
mov ecx, eax
call fcn.005af2a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x37e0]
cmp ecx, eax
je 0x6dc544
mov ecx, 0x814260
mov dword [esi + 0x37e0], eax
call fcn.00533580
test eax, eax
je 0x6dc544
mov ecx, dword [0x7dad98]
test ecx, ecx
je 0x6dc533
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x7dad98]
call fcn.004fe260
mov ecx, 0x814260
call fcn.00533580
mov ecx, eax
call fcn.005af2a0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6dedc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x738288
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
mov cl, byte [eax]
xor ebx, ebx
mov byte [esi], cl
mov al, byte [edx]
push edi
lea ecx, [ebp + 0xc]
mov byte [esi + 1], al
mov byte [esi + 8], bl
call fcn.007039a1
mov eax, dword [0x7daa9c]
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x6dee29
push 0x34
call fcn.00711d5b
mov dword [eax + 4], ebx
mov dword [eax + 0x30], 1
mov dword [0x7daa9c], eax
mov dword [eax], ebx
mov ecx, dword [0x7daa9c]
add esp, 4
mov dword [ecx + 8], ebx
mov edi, dword [0x83e658]
push 0x34
inc edi
mov dword [0x83e658], edi
mov edi, dword [0x7daa9c]
call fcn.00711d5b
mov dword [eax + 4], edi
mov dword [eax + 0x30], ebx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov eax, dword [esi + 4]
add esp, 4
lea ecx, [ebp + 0xc]
mov dword [eax + 8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00703a3d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x6e12e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7383f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.007039a1
mov eax, dword [0x7daa9c]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
jne 0x6e1337
push 0x34
call fcn.00711d5b
mov dword [eax + 4], ebx
mov dword [eax + 0x30], 1
mov dword [0x7daa9c], eax
mov dword [eax], ebx
mov eax, dword [0x7daa9c]
add esp, 4
mov dword [eax + 8], ebx
mov edi, dword [0x83e658]
push 0x34
inc edi
mov dword [0x83e658], edi
mov edi, dword [0x7daa9c]
call fcn.00711d5b
mov dword [eax + 4], edi
mov dword [eax + 0x30], ebx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
add esp, 4
lea ecx, [ebp - 0x10]
mov dword [esi + 8], esi
mov dword [ebp - 4], 0xffffffff
call fcn.00703a3d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x6e7350
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx + 0xf5c]
mov ecx, 0x10
mov edi, 0x83e674
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x798d7c]
xor eax, eax
sub ecx, 0x83e674
mov dl, byte [ecx + eax + 0x83e674]
mov bl, byte [eax + 0x83e674]
xor bl, dl
mov byte [eax + 0x83e674], bl
inc eax
cmp eax, 0x40
jb 0x6e7373
pop edi
pop esi
mov eax, 0x83e674
pop ebx
ret

Function at 0x6e73a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
lea edx, [ecx + 0xf5c]
push edi
mov ecx, 0x10
mov edi, edx
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x798d7c]
mov bl, byte [edx + eax]
mov cl, byte [ecx + eax]
xor bl, cl
mov byte [edx + eax], bl
inc eax
cmp eax, 0x40
jb 0x6e73ba
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x7015d0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea eax, [ebp - 0x1c]
push 0
push eax
call esi
test eax, eax
je 0x701648
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [ebp - 0x18], 0x100
jne 0x701624
cmp dword [ebp - 0x14], 0xe5
jne 0x701624
mov ecx, dword [0x813acc]
mov edx, dword [ebp - 0x1c]
push edx
mov ebx, dword [ecx]
call sub.IMM32.dll_ImmGetVirtualKey
mov ecx, dword [0x813acc]
push eax
call dword [ebx + 0xc]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea edx, [ebp - 0x1c]
push 0
push edx
call esi
test eax, eax
jne 0x7015f7
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x702060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push 0x77
push eax
mov dword [0x83ec94], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0x7016b0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push edi
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x770b44]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], edi
push ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
mov edx, dword [0x79c038]
mov eax, dword [0x79c03c]
push edi
lea ecx, [ebp - 0x10]
push 0x2c20000
push ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
call esi
push edi
call esi
mov ebx, dword [0x79c038]
mov ecx, 0x83a9e0
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
push 0x7970b0
call fcn.006f8e10
push 1
mov edi, eax
call esi
mov edx, dword [0x79c03c]
mov ecx, 0x83a9e0
sub eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
push 0x7970a4
call fcn.006f8e10
push 0
mov ebx, eax
call esi
sub eax, dword [0x79c038]
cmp edi, eax
jle 0x702155
push 0
call esi
sub eax, dword [0x79c038]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test edi, edi
jge 0x70215b
xor edi, edi
push 1
call esi
sub eax, dword [0x79c03c]
cmp ebx, eax
jle 0x70217a
push 1
call esi
sub eax, dword [0x79c03c]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
test ebx, ebx
jge 0x702180
xor ebx, ebx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
push 0
push edx
mov edx, dword [ebp - 0xc]
push 0
sub eax, edx
mov edx, dword [0x770b44]
push 0
sub ecx, esi
push eax
mov eax, dword [ebp - 0x14]
push ecx
push ebx
push edi
push 0x2ca0000
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
pop edi
pop esi
test eax, eax
mov dword [0x83ec88], eax
pop ebx
jne 0x7021da
push eax
push 0x79c110
push 0x79c0f8
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov esp, ebp
pop ebp
ret
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x83ec88]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x83e758
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x714b35
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x714b60
test byte [esp + 8], 0x80
je 0x714b4f
and al, 0xfe
jmp 0x714b51
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x714b71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00714e02
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret

Function at 0x71e49f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x71e4bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00714e02
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x71e4e2
test byte [esp + 8], 2
je 0x71e4e2
call fcn.00714e75
mov dword [eax], 0xd
call fcn.00714e7e
mov dword [eax], 5
jmp 0x71e4bb
xor eax, eax
ret

Function at 0x721eb3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x79e4c0
cmp edx, dword [eax]
je 0x721ed5
add eax, 8
inc ecx
cmp eax, 0x79e550
jl 0x721ec6
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x79e4c0]
jne 0x722003
mov eax, dword [0x83ef68]
cmp eax, 1
je 0x721fdd
test eax, eax
jne 0x721f06
cmp dword [0x79d624], 1
je 0x721fdd
cmp edx, 0xfc
je 0x722003
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x721f3d
lea eax, [ebp - 0x1a4]
push 0x74df90
push eax
call fcn.0071ba70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007176c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x721f80
lea eax, [ebp - 0x1a4]
push eax
call fcn.007176c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x76a6ec
push edi
call fcn.00712ea0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x74df74
push eax
call fcn.0071ba70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0071ba80
lea eax, [ebp - 0xa0]
push 0x74df70
push eax
call fcn.0071ba80
push dword [esi + 0x79e4c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0071ba80
push 0x12010
lea eax, [ebp - 0xa0]
push 0x74df48
push eax
call fcn.00724726
add esp, 0x2c
pop edi
jmp 0x722003
lea eax, [ebp + 8]
lea esi, [esi + 0x79e4c4]
push 0
push eax
push dword [esi]
call fcn.007176c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x881930
Capabilities:
Hash data using sha1

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov word [eax + 0x60], cx
ret
Function at 0x881980
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov word [ecx + 0x60], ax
ret

Function at 0x8821a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
push edi
mov byte [eax + esi + 0x1c], 0x80
mov edi, 1
add dword [esi + 0x5c], edi
cmp eax, 0x37
mov eax, dword [esi + 0x5c]
jle 0x882201
mov ecx, pe_nt_image_headers32
xor bl, bl
cmp eax, ecx
jge 0x8821de
jmp 0x8821d0
mov byte [eax + esi + 0x1c], bl
add dword [esi + 0x5c], edi
mov eax, dword [esi + 0x5c]
cmp eax, ecx
jl 0x8821d0
mov ecx, esi
call fcn.00881c50
mov ecx, 0x38
cmp dword [esi + 0x5c], ecx
jge 0x88221e
nop
mov eax, dword [esi + 0x5c]
mov byte [esi + eax + 0x1c], bl
add dword [esi + 0x5c], edi
cmp dword [esi + 0x5c], ecx
jl 0x8821f0
jmp 0x88221e
mov ecx, 0x38
cmp eax, ecx
jge 0x88221e
xor bl, bl
lea esp, [esp]
mov byte [eax + esi + 0x1c], bl
add dword [esi + 0x5c], edi
mov eax, dword [esi + 0x5c]
cmp eax, ecx
jl 0x882210
movzx ecx, byte [esi + 0x1b]
movzx edx, byte [esi + 0x1a]
movzx eax, byte [esi + 0x19]
mov byte [esi + 0x54], cl
movzx ecx, byte [esi + 0x18]
mov byte [esi + 0x55], dl
movzx edx, byte [esi + 0x17]
mov byte [esi + 0x57], cl
movzx ecx, byte [esi + 0x15]
mov byte [esi + 0x56], al
movzx eax, byte [esi + 0x16]
mov byte [esi + 0x58], dl
movzx edx, byte [esi + 0x14]
mov byte [esi + 0x5a], cl
pop edi
mov byte [esi + 0x59], al
mov byte [esi + 0x5b], dl
mov ecx, esi
pop esi
pop ebx
jmp fcn.00881c50

Function at 0x885330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
sub esp, 0x114
push esi
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [edi + 0xc]
add edi, 0xc
mov esi, eax
cmp edi, dword [esi]
je 0x8853c9
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x114], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x110], edx
mov ecx, dword [eax + 0x20]
lea edx, [ebp - 0x108]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 4], edx
movzx edx, word [eax + 0x24]
xor ecx, ecx
test edx, 0xfffffffe
jbe 0x8853a9
mov edx, dword [eax + 0x28]
mov dl, byte [edx + ecx*2]
mov byte [ebp + ecx - 0x108], dl
cmp dl, 0x5c
jne 0x88539e
lea edx, [ebp + ecx - 0x107]
mov dword [ebp - 4], edx
movzx edx, word [eax + 0x24]
inc ecx
shr edx, 1
cmp ecx, edx
jb 0x885382
mov byte [ebp + ecx - 0x108], 0
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x114]
call dword [ebp + 8]
test al, al
je 0x8853d1
mov eax, dword [esi]
mov esi, eax
cmp edi, dword [esi]
jne 0x885350
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret