joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ff620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax*4 + 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 8], 0
jne 0x6ff64f
jmp 0x6ff75e
cmp dword [ebp - 8], 0x10
je 0x6ff694
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp - 4]
mov byte [edx], cl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
je 0x6ff694
cmp dword [ebp - 8], 0x10
jne 0x6ff65b
cmp dword [ebp + 8], 0x10
jb 0x6ff6d8
mov eax, dword [ebp + 8]
shr eax, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
mov edx, dword [ebp - 4]
call dword [0x874dcc]
mov edx, dword [ebp - 0x10]
shl edx, 4
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov dword [ebp - 8], 0x10
cmp dword [ebp + 8], 0
je 0x6ff756
mov dword [ebp - 0x14], 0
jmp 0x6ff6f0
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 4
jae 0x6ff705
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + eax*4], 0
jmp 0x6ff6e7
push 1
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
mov edx, dword [ebp - 0xc]
call dword [0x874dcc]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
sub ecx, 1
mov dword [ebp + 8], ecx
jne 0x6ff723
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x704440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x10]
and eax, 0xfffffffc
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
sub ecx, 4
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x14]
jb 0x704480
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
jmp 0x704566
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 8], edx
mov eax, 1
imul ecx, eax, 0xfffffffc
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x40
jne 0x7044b4
mov ecx, 1
imul edx, ecx, 0xfffffffd
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
and ecx, 0xc0
je 0x7044de
mov edx, 1
imul eax, edx, 0xfffffffc
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
cmp edx, 0x7f
jne 0x7044e0
mov eax, 1
imul ecx, eax, 0xfffffffd
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0xc0
jl 0x7044e0
jmp 0x7044e2
jmp 0x70446d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx - 4]
bswap edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 2
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x70450d
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
jmp 0x70451e
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
sub eax, edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0x1ffffff
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
sub edx, 0x1000000
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
xor eax, 0xff000000
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x40000000
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
bswap eax
mov ecx, dword [ebp - 8]
mov dword [ecx - 4], eax
jmp 0x70446d
mov esp, ebp
pop ebp
ret 8
Function at 0x70e150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
or eax, 0x100
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x10]
neg eax
and eax, 0x7ff
xor edx, eax
shr edx, 4
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
add eax, dword [ecx + edx*4]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 2
jae 0x70e16e
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x70e1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x100
mov eax, dword [ebp - 4]
or eax, 0x100
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
shl ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
and edx, dword [ebp - 8]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
shr eax, 8
add edx, eax
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + edx*2]
mov eax, dword [ebp - 4]
shr eax, 7
and eax, 1
neg eax
and eax, 0x7ff
xor edx, eax
shr edx, 4
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
xor edx, dword [ebp - 4]
not edx
and edx, dword [ebp - 8]
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0x10000
jb 0x70e1e5
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x714590
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
mov dword [eax + 0x468], 0xffffffff
mov dword [eax + 0x46c], ecx
mov ecx, dword [ebp - 4]
call fcn.00714ea0
mov dword [ebp - 8], 0
jmp 0x7145e4
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x100
jae 0x714636
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x714605
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 8
jae 0x714627
mov edx, dword [ebp - 0xc]
shr edx, 1
mov eax, dword [ebp - 0xc]
and eax, 1
xor ecx, ecx
sub ecx, eax
and ecx, 0xedb88320
xor edx, ecx
mov dword [ebp - 0xc], edx
jmp 0x7145fc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [eax + edx*4 + 0x60], ecx
jmp 0x7145db
mov esp, ebp
pop ebp
ret
Function at 0x715430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
push 0
call fcn.007706af
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
call fcn.00715170
mov esp, ebp
pop ebp
ret 4

Function at 0x71fac0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x18], 0x200
jb 0x71fae3
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x71faea
xor eax, eax
jmp 0x71fc01
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1000
jae 0x71fb12
mov ecx, dword [ebp - 0xc]
add ecx, 0x200
cmp ecx, dword [ebp - 0x18]
ja 0x71fb12
mov edx, dword [ebp - 0xc]
and edx, 7
je 0x71fb19
xor eax, eax
jmp 0x71fc01
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
je 0x71fb34
xor eax, eax
jmp 0x71fc01
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x1c4
jg 0x71fb75
cmp dword [ebp - 8], 0x1c4
je 0x71fb9b
cmp dword [ebp - 8], 0x14c
je 0x71fb89
cmp dword [ebp - 8], 0x1c0
je 0x71fb92
cmp dword [ebp - 8], 0x1c2
je 0x71fb92
jmp 0x71fbad
cmp dword [ebp - 8], 0x200
je 0x71fba4
cmp dword [ebp - 8], 0x8664
je 0x71fb89
jmp 0x71fbad
mov dword [ebp - 0x10], 0x3030103
jmp 0x71fbb1
mov dword [ebp - 0x10], 0x3030501
jmp 0x71fbb1
mov dword [ebp - 0x10], 0x3030701
jmp 0x71fbb1
mov dword [ebp - 0x10], 0x3030401
jmp 0x71fbb1
xor eax, eax
jmp 0x71fc01
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x400
jbe 0x71fbc8
xor eax, eax
jmp 0x71fc01
mov ecx, dword [ebp - 4]
add ecx, 0x14
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x10b
je 0x71fbee
cmp dword [ebp - 0x1c], 0x20b
je 0x71fbee
jmp 0x71fbf0
jmp 0x71fbf4
xor eax, eax
jmp 0x71fc01
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x72a7a0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0xc3d2e1f0
mov eax, dword [ebp - 4]
xor ecx, ecx
xor edx, edx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov esp, ebp
pop ebp
ret
Function at 0x72b850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x797790
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x866204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.006f2090
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.006bed90
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x54]
mov byte [eax + 0x54], dl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x72c860
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x797a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x866204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x10], dl
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x1c]
call fcn.006c87d0
mov al, byte [ebp - 0x10]
mov byte [ebp - 0x1a], al
mov cx, word [ebp + 8]
mov word [ebp - 0x18], cx
mov edx, 0x63
mov eax, dword [ebp - 0x14]
mov word [eax + 2], dx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x1c], 0
lea ecx, [ebp - 0x28]
call fcn.006b2990
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0072dfa0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.006b3280
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.006b3280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.006b2e90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x771b62
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x79a184]
test eax, eax
je 0x771ba1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x771ba1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x771ba1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x771ba1
cmp dword [ecx + 0x74], 0xe
jbe 0x771ba1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x402d82
Capabilities:
Create pipe
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1004
call fcn.00408080
mov eax, dword [0x244da44]
mov ecx, dword [0x244d4d4]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x402e60
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
mov ebx, ecx
mov dword [esp + 0xc], eax
cmp dword [0x244da44], 0x959
jne 0x402e4d
push esi
lea eax, [esp + 0x814]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x4029e0
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
push esi
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call edi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
lea eax, [esp + 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
call fcn.00402b67
add ebx, 8
dec dword [esp + 0xc]
jne 0x402db9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405d4b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x435310]
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.00405082
and dword [ebp - 0x14], 0
cmp dword [0x43aff0], 0
mov dword [ebp - 0x18], eax
jne 0x405dfe
push 0x401db8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405ea6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401dac
push ebx
call edi
test eax, eax
je 0x405ea6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x401d9c
push ebx
mov dword [0x43aff0], eax
call edi
push eax
call esi
push 0x401d88
push ebx
mov dword [0x43aff4], eax
call edi
push eax
call esi
push 0x401d6c
push ebx
mov dword [0x43aff8], eax
call edi
push eax
call esi
mov dword [0x43b000], eax
test eax, eax
je 0x405dfe
push 0x401d54
push ebx
call edi
push eax
call esi
mov dword [0x43affc], eax
mov eax, dword [0x43affc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405e57
cmp dword [0x43b000], ecx
je 0x405e57
push eax
call esi
push dword [0x43b000]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405e57
test ebx, ebx
je 0x405e57
call edi
test eax, eax
je 0x405e4e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405e4e
test byte [ebp - 8], 1
jne 0x405e57
or dword [ebp + 0x10], 0x200000
jmp 0x405e8a
mov eax, dword [0x43aff4]
cmp eax, dword [ebp - 0x18]
je 0x405e8a
push eax
call esi
test eax, eax
je 0x405e8a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405e8a
mov eax, dword [0x43aff8]
cmp eax, dword [ebp - 0x18]
je 0x405e8a
push eax
call esi
test eax, eax
je 0x405e8a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43aff0]
call esi
test eax, eax
je 0x405ea6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405ea8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004060b6
leave
ret

Function at 0x4060b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435310]
jne 0x4060c0
repz ret
jmp fcn.004072a6
Function at 0x401c3a
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [0x47e01c], eax
call fcn.004018b7
test eax, eax
je 0x401c91
lea ebx, [ebp - 0x24]
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401c91
push eax
push eax
push ebx
push dword [0x47e04c]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
pop edx
pop ecx
test eax, eax
jne 0x401c52
sub esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
call dword [sym.imp.USER32.dll_DispatchMessageA]
add esp, 0xc
jmp 0x401c52
mov eax, dword [0x47e044]
test eax, eax
je 0x401ca7
sub esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0xc
sub esp, 0xc
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x401cb2
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov ebx, eax
sub esp, 0xc
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
add esp, 0xc
push 0
push ebx
push 0
push eax
call fcn.00401c3a
Function at 0x403e01
Capabilities:
Write file on windows

Disassembly:
push 0x28
mov eax, 0x41b53e
call fcn.0041a900
mov edi, ecx
mov dword [ebp - 0x2c], edi
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x403f21
cmp byte [edi + 0x3d], bl
je 0x403f21
mov eax, dword [edi]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.004030d8
mov ecx, edi
call esi
cmp eax, 0xffffffff
sete al
test al, al
je 0x403e49
xor al, al
jmp 0x403f23
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.00404293
lea eax, [edi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x403e7c
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [edi + 0x38]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
push dword [ebp - 0x30]
mov ecx, dword [esi + 0x20]
call fcn.004030d8
mov ecx, edi
call dword [esi + 0x20]
sub eax, ebx
je 0x403eaa
sub eax, 1
jne 0x403f06
mov edi, dword [ebp - 0x2c]
jmp 0x403eb0
mov edi, dword [ebp - 0x2c]
mov byte [edi + 0x3d], bl
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x403ec0
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x34]
sub esi, edx
je 0x403ee8
cmp eax, 0x10
jae 0x403ecf
lea ecx, [ebp - 0x28]
push dword [edi + 0x4c]
push esi
push 1
push ecx
call fcn.0040d2c9
add esp, 0x10
cmp esi, eax
jne 0x403f11
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [edi + 0x3d], 0
je 0x403f0f
test esi, esi
jne 0x403e70
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040423a
jmp 0x403e6a
dec eax
sub eax, 1
jne 0x403f15
inc eax
jmp 0x403f13
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.00401930
mov al, bl
jmp 0x403f23
mov al, 1
call fcn.0041a8bb
ret