joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e51
Capabilities:
Get graphical window text

Disassembly:
jmp 0x41bb01
mov eax, 0x4616c7
call fcn.0043af44
push ecx
push ecx
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, 0x20002
push edi
mov ebx, ecx
push esi
call fcn.0043aff8
mov edi, eax
push esi
push 0
push edi
call fcn.0043afa0
add esp, 0x10
push 0x10000
push edi
push dword [ebx + 0x268]
call dword [0x47bf74]
push edi
lea ecx, [ebp - 0x10]
call fcn.00401253
push 1
pop esi
push edi
mov dword [ebp - 4], esi
call fcn.0042fac0
pop ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 8]
push eax
call fcn.004023ec
mov dword [ebp - 0x14], esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402234
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x401ef6
Capabilities:
Hide graphical window

Disassembly:
jmp 0x40bcf6
cmp dword [esp + 4], 0x64
push esi
mov esi, ecx
jne 0x40bd2b
and dword [esi + 0x50], 0
push edi
mov edi, dword [0x47bfa0]
push 0x64
push dword [esi + 4]
call edi
push 0x65
push dword [esi + 4]
call edi
push 0
push 0x14
push 0x65
push dword [esi + 4]
call dword [0x47bfa4]
pop edi
jmp 0x40bd90
cmp dword [esp + 8], 0x65
jne 0x40bd90
cmp dword [esi + 0x50], 0
je 0x40bd58
add dword [esi + 0x4c], 0xa
mov ecx, dword [esi + 0x4c]
mov eax, 0xff
cmp ecx, eax
jl 0x40bd7c
push 0x65
mov dword [esi + 0x4c], eax
push dword [esi + 4]
call dword [0x47bfa0]
jmp 0x40bd7c
add dword [esi + 0x4c], 0xfffffff6
cmp dword [esi + 0x4c], 0
jg 0x40bd7c
and dword [esi + 0x4c], 0
push 0x65
push dword [esi + 4]
call dword [0x47bfa0]
push 0
push dword [esi + 4]
call dword [0x47be98]
mov al, byte [esi + 0x4c]
push 3
push eax
push 0xff00ff
push dword [esi + 4]
call dword [0x47bfac]
pop esi
ret 4
Function at 0x402176
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x405bee
mov eax, 0x45fef4
call fcn.0043af44
sub esp, 0xa1c
mov ax, word [0x4785c4]
push ebx
push esi
mov esi, ecx
push edi
mov word [ebp - 0x228], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
push 1
rep stosd dword es:[edi], eax
xor edx, edx
pop ebx
cmp dword [ebp + 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x104
stosw word es:[edi], ax
jne 0x405c43
mov eax, dword [esi]
cmp dword [eax - 8], edx
jne 0x405de4
cmp dword [esi + 0xc], edx
mov edi, 0x471010
je 0x405c7e
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x228]
push edx
lea edx, [ebp - 0x1c]
push edx
push eax
push ecx
push dword [esi + 0x10]
call dword [0x47be2c]
lea eax, [ebp - 0x228]
push eax
call fcn.0043bb9f
test eax, eax
pop ecx
jne 0x405c8d
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043bb7a
pop ecx
pop ecx
lea eax, [ebp - 0x228]
test eax, eax
je 0x405ca4
lea eax, [ebp - 0x228]
push eax
call dword [0x47bc90]
lea ecx, [ebp - 0x228]
push ecx
push eax
mov ecx, esi
call fcn.00401398
mov eax, dword [0x470ea0]
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.00401efb
test eax, eax
je 0x405cd0
mov eax, dword [ebp - 0x10]
mov word [eax], 0x5c
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push ebx
push eax
mov ecx, esi
call fcn.0040173f
push dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [ebp - 4], 1
push eax
call fcn.0043bb1b
pop ecx
test eax, eax
pop ecx
je 0x405d4b
mov eax, dword [0x470ea0]
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.00401efb
test eax, eax
je 0x405d12
mov eax, dword [ebp + 0xc]
mov word [eax], 0x2f
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040173f
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.0043bb1b
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x18]
inc bl
call fcn.00402234
lea ecx, [ebp + 0xc]
call fcn.00402234
test bl, bl
je 0x405d4d
mov bl, 1
lea ecx, [ebp - 0x14]
call fcn.00402234
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402234
test bl, bl
je 0x405d75
mov eax, dword [esi]
push 1
mov ecx, esi
mov eax, dword [eax - 8]
dec eax
push eax
call fcn.004023ab
lea eax, [ebp - 0xa28]
push 0x400
xor ebx, ebx
push eax
push ebx
call fcn.0040201d
add esp, 0xc
cmp dword [esi + 8], ebx
jle 0x405da4
lea eax, [ebp - 0xa28]
push eax
call dword [0x47be44]
inc ebx
cmp ebx, dword [esi + 8]
jl 0x405d91
push dword [esi]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xa28]
push eax
call dword [0x47be20]
lea eax, [ebp - 0xa28]
push eax
push 0
call fcn.004026b7
pop ecx
test eax, eax
pop ecx
jne 0x405de4
mov eax, edi
test eax, eax
je 0x405ddb
push edi
call dword [0x47bc90]
push edi
push eax
mov ecx, esi
call fcn.00401398
mov ecx, dword [ebp + 8]
push esi
call fcn.004023ec
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x402207
Capabilities:
Get graphical window text

Disassembly:
jmp 0x41431d
mov eax, 0x460d94
call fcn.0043af44
sub esp, 0x210
push ebx
mov ebx, dword [0x478588]
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
lea edi, [esi + 0x4c]
mov dword [ebp - 0x1c], ebx
push edi
call fcn.004023ec
and dword [ebp - 4], 0
push ebx
call dword [0x47bfe8]
mov ebx, dword [0x47bf90]
test eax, eax
je 0x4143eb
mov eax, dword [edi]
cmp dword [eax - 8], 0
jne 0x4143bb
and word [ebp - 0x21c], 0
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x21a]
push 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x1c]
call dword [0x47bf74]
lea eax, [ebp - 0x21c]
test eax, eax
je 0x4143ab
lea eax, [ebp - 0x21c]
push eax
call dword [0x47bc90]
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401398
and dword [ebp - 0x18], 0
push 0x494
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x29cd
push eax
call fcn.00402621
mov eax, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
je 0x4143eb
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
and dword [ebp - 0x10], 0
push 0x487
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x10]
push ecx
push 0x29cd
push eax
call fcn.00402621
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x414427
mov ecx, dword [eax]
push 6
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x10]
mov esi, dword [esi + 0x48]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402234
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40220c
Capabilities:
Check if file exists

Disassembly:
jmp 0x40e1c6
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x40e205
push esi
call dword [0x47be30]
test eax, eax
je 0x40e205
push esi
call fcn.0043a790
test eax, eax
pop ecx
je 0x40e205
push esi
call fcn.00401681
test eax, eax
pop ecx
jne 0x40e205
push 1
call fcn.0043a3e0
push eax
push esi
call fcn.0043a670
add esp, 0xc
xor eax, eax
pop esi
ret
push 1
pop eax
pop esi
ret

Function at 0x402266
Capabilities:
Hide graphical window

Disassembly:
jmp 0x40bdcc
push 0
push dword [ecx + 4]
call dword [0x47be98]
push 1
pop eax
ret 0x10
Function at 0x40226b
Capabilities:
Check if file exists

Disassembly:
jmp 0x408f25
mov eax, 0x4602d8
call fcn.0043af44
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push dword [esi]
call dword [0x47be30]
test eax, eax
jne 0x408f52
add esi, 4
mov ecx, edi
push esi
push 1
call fcn.004021da
jmp 0x408fb7
push esi
mov ecx, edi
call fcn.00402829
test eax, eax
jne 0x408f69
push esi
lea ecx, [edi + 0x2c]
call fcn.00401d7f
jmp 0x408fb7
push 0x9c70
lea ecx, [ebp - 0x10]
call fcn.00401253
and dword [ebp - 4], 0
mov esi, dword [eax]
push 0x9c9d
lea ecx, [ebp + 8]
call fcn.00401253
mov eax, dword [eax]
push 0
push 0
push 0x30
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0040166d
and byte [ebp - 4], 0
add esp, 0x14
lea ecx, [ebp + 8]
call fcn.00402234
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402234
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4023bf
Capabilities:
Check if file exists

Disassembly:
jmp 0x4288ca
mov eax, 0x46215c
call fcn.0043af44
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], edi
cmp dword [edi], ebx
je 0x4289f0
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x4289f0
push eax
call dword [0x47be30]
test eax, eax
je 0x4289f0
push 0x24
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0043afa0
add esp, 0xc
mov dword [ebp - 0x10], ebx
push dword [esi]
mov dword [ebp - 0x18], ebx
call dword [0x47be0c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401253
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x42893e
mov dword [ebp - 0x14], ebx
jmp 0x428973
push eax
call dword [0x47bc90]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0043af70
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x14]
mov byte [esi], bl
push ebx
push ebx
call dword [0x47bc94]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00401f78
test eax, eax
je 0x4289b9
push 9
push 8
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
push ebx
push eax
push dword [ebp - 0x14]
push dword [edi]
call fcn.0044faf0
add esp, 0x28
cmp eax, ebx
jne 0x4289b9
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [edi]
call fcn.0044fb30
add esp, 0xc
cmp eax, ebx
je 0x4289cc
cmp dword [ebp - 0x10], ebx
je 0x4289e0
push dword [ebp - 0x10]
call fcn.0043b9b5
pop ecx
mov dword [ebp - 0x10], ebx
jmp 0x4289e0
cmp dword [ebp - 0x10], ebx
je 0x4289dd
push dword [ebp - 0x10]
call fcn.0043b9b5
pop ecx
mov dword [ebp - 0x10], ebx
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402234
mov eax, ebx
jmp 0x4289f2
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x402482
Capabilities:
Get common file path

Disassembly:
jmp 0x40ee12
mov eax, 0x460858
call fcn.0043af44
sub esp, 0x330
push esi
push edi
mov esi, 0x11c
xor edi, edi
push esi
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.0043afa0
add esp, 0xc
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], esi
push eax
call dword [0x47bc24]
test eax, eax
je 0x40ee6d
cmp dword [ebp - 0x130], 6
jne 0x40ee6d
cmp dword [ebp - 0x12c], 1
jb 0x40ee6d
push 1
pop eax
jmp 0x40eefe
push edi
lea eax, [ebp - 0x33c]
push 0x25
push eax
push edi
call dword [0x47bdc4]
mov eax, dword [0x470ea0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x33c]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
push 0x4716d8
push eax
call fcn.00401db6
mov esi, 0x4716b4
add esp, 0xc
mov eax, esi
test eax, eax
je 0x40eeb3
push esi
call dword [0x47bc90]
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004013ca
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], edi
push dword [ebp - 0x10]
call fcn.0040213f
add esp, 0xc
test eax, eax
je 0x40eef0
mov eax, dword [ebp - 0x14]
shr eax, 0x10
cmp ax, 6
jne 0x40eef0
cmp word [ebp - 0x14], 1
jb 0x40eef0
push 1
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402234
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40259f
Capabilities:
Hide graphical window

Disassembly:
jmp 0x414adc
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x58]
cmp eax, ebx
jle 0x414b51
cmp dword [esi + 0x54], ebx
je 0x414b51
xor ebp, ebp
cmp eax, ebx
jle 0x414ba6
lea eax, [ebp + 0x46d]
push eax
push dword [esi + 4]
call dword [0x47bf90]
mov edi, eax
test edi, edi
je 0x414ba6
push 5
push edi
call dword [0x47be98]
mov eax, dword [esi + 0x54]
lea eax, [ebx + eax + 4]
push eax
push edi
call dword [0x47bf58]
mov eax, dword [esi + 0x54]
push dword [ebx + eax]
push 0xfffffffffffffff4
push edi
call dword [0x47bec8]
push edi
mov ecx, esi
push dword [esi + 4]
call fcn.0040113b
inc ebp
add ebx, 0x44
cmp ebp, dword [esi + 0x58]
jl 0x414afa
jmp 0x414ba6
mov edi, dword [0x47bf90]
mov ebx, 0x46d
push ebx
push dword [esi + 4]
call edi
push 0x471b68
push eax
call dword [0x47bf58]
push ebx
push dword [esi + 4]
call edi
push 1
push 0xfffffffffffffff4
push eax
call dword [0x47bec8]
push ebx
push dword [esi + 4]
call edi
mov ebp, dword [0x47be98]
push 5
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 0
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 0
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x402671
Capabilities:
Check if file exists

Disassembly:
jmp 0x426248
mov eax, 0x462048
call fcn.0043af44
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push dword [edi]
call dword [0x47be30]
test eax, eax
push edi
jne 0x42627a
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004015eb
jmp 0x4263d7
mov ecx, dword [ebp - 0x10]
call fcn.00402644
test eax, eax
jne 0x426386
call fcn.00401bae
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x4263d7
mov eax, dword [edi]
mov edx, dword [esi]
push ebx
push eax
mov ecx, esi
call dword [edx + 0xc]
test eax, eax
je 0x4262fd
push 8
call fcn.0043aff8
cmp eax, ebx
pop ecx
je 0x4262c2
mov ecx, dword [0x470ea0]
mov dword [eax], ecx
mov ecx, eax
jmp 0x4262c4
xor ecx, ecx
push edi
mov dword [ebp + 8], ecx
call fcn.00401758
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 8]
lea ecx, [esi + 0xa8]
push eax
push dword [ecx + 8]
call fcn.004026e4
push 0x105
push ebx
push ebx
push dword [esi + 4]
call dword [0x47bfe4]
jmp 0x4263d7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [edi]
cmp dword [eax - 8], ebx
je 0x4263d7
push eax
call dword [0x47be30]
test eax, eax
je 0x4263d7
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [0x47bfbc]
push eax
call dword [0x47bf8c]
test eax, eax
je 0x42637f
push 0x9c70
lea ecx, [ebp - 0x14]
call fcn.00401253
mov esi, dword [eax]
push 0x9c7e
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00401253
mov eax, dword [eax]
push ebx
push ebx
push 0x30
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0040166d
add esp, 0x14
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00402234
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402234
push edi
push ebx
jmp 0x42626d
push 0x9c70
lea ecx, [ebp - 0x18]
call fcn.00401253
mov esi, dword [eax]
push 0x9c82
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.00401253
mov eax, dword [eax]
xor ebx, ebx
push ebx
push ebx
push 0x30
push esi
push eax
mov byte [ebp - 4], 3
call fcn.0040166d
add esp, 0x14
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402234
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402234
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4027e3
Capabilities:
Hide graphical window

Disassembly:
jmp 0x40bdbb
push 0
push dword [ecx + 4]
call dword [0x47be98]
ret 0xc
Function at 0x4028a6
Capabilities:
Check if file exists

Disassembly:
jmp 0x40d384
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [esp + 0x14], ebp
cmp dword [eax - 8], ebp
je 0x40d45f
mov eax, dword [esi + 0x18]
cmp eax, ebp
je 0x40d3b2
mov edx, dword [esi + 0x1c]
sub edx, eax
sar edx, 2
jne 0x40d3cf
mov eax, dword [esi + 0x28]
cmp eax, ebp
je 0x40d3c3
mov edx, dword [esi + 0x2c]
sub edx, eax
sar edx, 2
jne 0x40d3cf
mov eax, dword [esi + 4]
cmp dword [eax - 8], ebp
je 0x40d45f
push ecx
call fcn.0040233d
mov ecx, eax
call fcn.00401a14
test eax, eax
je 0x40d45f
mov ebx, dword [0x47be30]
mov dword [esp + 0x10], ebp
xor edi, edi
mov eax, dword [esi + 0x18]
cmp eax, ebp
je 0x40d424
mov ecx, dword [esi + 0x1c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x40d424
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x40d421
mov eax, dword [esi + 0x18]
push dword [eax + edi*4]
call fcn.0040164a
cmp edx, ebp
pop ecx
jl 0x40d457
jg 0x40d421
cmp eax, 0x500000
jb 0x40d457
inc edi
jmp 0x40d3ec
xor edi, edi
mov eax, dword [esi + 0x28]
cmp eax, ebp
je 0x40d449
mov ecx, dword [esi + 0x2c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x40d449
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x40d446
inc dword [esp + 0x10]
inc edi
jmp 0x40d426
cmp dword [esp + 0x10], ebp
jg 0x40d457
mov eax, dword [esi + 4]
cmp dword [eax - 8], ebp
je 0x40d45f
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x405c05
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x405bee
mov eax, 0x45fef4
call fcn.0043af44
sub esp, 0xa1c
mov ax, word [0x4785c4]
push ebx
push esi
mov esi, ecx
push edi
mov word [ebp - 0x228], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
push 1
rep stosd dword es:[edi], eax
xor edx, edx
pop ebx
cmp dword [ebp + 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x104
stosw word es:[edi], ax
jne 0x405c43
mov eax, dword [esi]
cmp dword [eax - 8], edx
jne 0x405de4
cmp dword [esi + 0xc], edx
mov edi, 0x471010
je 0x405c7e
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x228]
push edx
lea edx, [ebp - 0x1c]
push edx
push eax
push ecx
push dword [esi + 0x10]
call dword [0x47be2c]
lea eax, [ebp - 0x228]
push eax
call fcn.0043bb9f
test eax, eax
pop ecx
jne 0x405c8d
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043bb7a
pop ecx
pop ecx
lea eax, [ebp - 0x228]
test eax, eax
je 0x405ca4
lea eax, [ebp - 0x228]
push eax
call dword [0x47bc90]
lea ecx, [ebp - 0x228]
push ecx
push eax
mov ecx, esi
call fcn.00401398
mov eax, dword [0x470ea0]
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.00401efb
test eax, eax
je 0x405cd0
mov eax, dword [ebp - 0x10]
mov word [eax], 0x5c
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push ebx
push eax
mov ecx, esi
call fcn.0040173f
push dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [ebp - 4], 1
push eax
call fcn.0043bb1b
pop ecx
test eax, eax
pop ecx
je 0x405d4b
mov eax, dword [0x470ea0]
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.00401efb
test eax, eax
je 0x405d12
mov eax, dword [ebp + 0xc]
mov word [eax], 0x2f
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040173f
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.0043bb1b
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x18]
inc bl
call fcn.00402234
lea ecx, [ebp + 0xc]
call fcn.00402234
test bl, bl
je 0x405d4d
mov bl, 1
lea ecx, [ebp - 0x14]
call fcn.00402234
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402234
test bl, bl
je 0x405d75
mov eax, dword [esi]
push 1
mov ecx, esi
mov eax, dword [eax - 8]
dec eax
push eax
call fcn.004023ab
lea eax, [ebp - 0xa28]
push 0x400
xor ebx, ebx
push eax
push ebx
call fcn.0040201d
add esp, 0xc
cmp dword [esi + 8], ebx
jle 0x405da4
lea eax, [ebp - 0xa28]
push eax
call dword [0x47be44]
inc ebx
cmp ebx, dword [esi + 8]
jl 0x405d91
push dword [esi]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xa28]
push eax
call dword [0x47be20]
lea eax, [ebp - 0xa28]
push eax
push 0
call fcn.004026b7
pop ecx
test eax, eax
pop ecx
jne 0x405de4
mov eax, edi
test eax, eax
je 0x405ddb
push edi
call dword [0x47bc90]
push edi
push eax
mov ecx, esi
call fcn.00401398
mov ecx, dword [ebp + 8]
push esi
call fcn.004023ec
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40ea69
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov al, byte [0x478608]
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push 0x1f
mov byte [ebp - 0x80], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x7f]
push dword [ebx + 8]
rep stosd dword es:[edi], eax
push dword [ebx + 4]
mov ecx, ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00401271
lea eax, [ebp - 0x80]
push 0x100
push eax
call fcn.0044eaca
lea eax, [ebp - 0x80]
push eax
call fcn.0044eac4
mov esi, eax
test esi, esi
jne 0x40eabb
xor al, al
jmp 0x40eadd
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x40eadb
xor edi, edi
push eax
mov ecx, ebx
call fcn.00401708
mov eax, dword [esi + 0xc]
add edi, 4
mov eax, dword [edi + eax]
test eax, eax
jne 0x40eac6
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4199ee
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
jmp 0x4199dd
mov eax, 0x461356
call fcn.0043af44
sub esp, 0x414
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00401e5b
lea edi, [esi + 0x44]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00402743
mov dword [edi], 0x464170
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
mov dword [esi + 0x48], 0x464060
call fcn.004013d9
lea ecx, [esi + 0x188]
mov byte [ebp - 4], 2
call fcn.004020c7
lea ecx, [esi + 0x1ec]
mov byte [ebp - 4], 3
call fcn.00401f6e
mov eax, dword [0x470ea0]
mov dword [esi + 0x244], eax
mov eax, dword [0x470ea0]
mov dword [esi + 0x248], eax
push 0x4785c4
lea ecx, [esi + 0x24c]
mov byte [ebp - 4], 6
call fcn.00401253
mov eax, dword [0x470ea0]
mov dword [esi + 0x250], eax
mov eax, dword [0x470ea0]
mov dword [esi + 0x254], eax
push 0x4785c4
lea ecx, [esi + 0x258]
mov byte [ebp - 4], 9
call fcn.00401253
or dword [esi + 0x260], 0xffffffff
mov dword [esi + 0x264], ebx
mov dword [esi + 0x268], ebx
mov edx, 0x81
mov dword [edi], 0x464164
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], bx
mov word [ebp - 0x420], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x41e]
mov byte [ebp - 4], 0xa
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x208
lea eax, [ebp - 0x218]
push edi
push ebx
push eax
mov dword [esi], 0x464154
mov dword [esi + 0x48], 0x464150
call fcn.0043afa0
push edi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0043afa0
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [0x47bc88]
lea eax, [ebp - 0x218]
push eax
call dword [0x47be44]
mov edi, dword [0x47be24]
lea eax, [ebp - 0x218]
push str.360ScreenCapture.exe
push eax
call edi
lea eax, [ebp - 0x218]
test eax, eax
je 0x419b5c
lea eax, [ebp - 0x218]
push eax
call dword [0x47bc90]
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [esi + 0x244]
call fcn.00401398
push ebx
lea eax, [ebp - 0x420]
push 0x1a
push eax
push ebx
call dword [0x47bdc4]
lea eax, [ebp - 0x420]
push str.360safe360Feedback
push eax
call edi
lea eax, [ebp - 0x420]
test eax, eax
je 0x419ba5
lea eax, [ebp - 0x420]
push eax
call dword [0x47bc90]
lea ecx, [ebp - 0x420]
lea edi, [esi + 0x248]
push ecx
push eax
mov ecx, edi
call fcn.00401398
push dword [edi]
call dword [0x47be30]
test eax, eax
jne 0x419bd0
push ebx
push dword [edi]
push ebx
call dword [0x47bdd0]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x25c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret