joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50afc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x522628
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edx, dword [esp + 0x54]
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov ebx, dword [esp + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
mov edx, dword [0x523428]
mov dword [esp + 0x18], ecx
lea edi, [esi + 0x40]
mov ebp, ebx
mov eax, dword [edx]
cmp eax, ebx
jae 0x50b039
mov ebp, eax
lea edx, [esp + 0x2c]
cmp edi, edx
jne 0x50b05c
push eax
push ebp
mov ecx, edi
call dword [0x52343c]
push 0
push 0
mov ecx, edi
call dword [0x52343c]
jmp 0x50b0e3
cmp ebp, ecx
jbe 0x50b0a2
cmp ebp, ebx
jne 0x50b0a2
mov eax, dword [esp + 0x30]
cmp eax, ecx
jne 0x50b071
mov eax, dword [0x5233dc]
cmp byte [eax - 1], 0xfe
jae 0x50b0a2
push 1
mov ecx, edi
call dword [0x5233d0]
mov ecx, dword [esp + 0x30]
mov eax, dword [0x5233dc]
test ecx, ecx
je 0x50b090
mov eax, ecx
mov edx, dword [esp + 0x38]
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [edi + 0xc], edx
inc byte [eax - 1]
jmp 0x50b0e7
push 1
push ebp
mov ecx, edi
call dword [0x52342c]
test al, al
je 0x50b0e3
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x50b0bf
mov ecx, dword [0x5233dc]
mov eax, dword [edi + 4]
test ebp, ebp
jbe 0x50b0d7
mov edx, ebp
mov bx, word [ecx]
add ecx, 2
mov word [eax], bx
add eax, 2
dec edx
jne 0x50b0c8
mov eax, dword [edi + 4]
mov dword [edi + 8], ebp
mov word [eax + ebp*2], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x50], edx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], edx
test ecx, ecx
mov dword [esi + 0x14], 0
je 0x50b133
mov al, byte [ecx - 1]
test al, al
je 0x50b127
cmp al, 0xff
je 0x50b127
dec al
mov byte [ecx - 1], al
jmp 0x50b133
add ecx, 0xfffffffe
push ecx
call fcn.0051c55a
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x38

Function at 0x50b800
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x50b80c
jmp 0x505bb0
ret
Function at 0x50c5c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x522772
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea ebp, [esi + 0x24]
lea ebx, [esi + 0x28]
mov dword [esi], 0x529e5c
mov dword [esi + 0x2c], 0x529e3c
mov dword [ebp], 0x529e58
mov dword [ebx], 0x529e40
mov dword [esi + 0x34], 0x529e2c
mov dword [esi + 0x38], 0x529e24
mov eax, dword [esi + 4]
mov edi, dword [0x52388c]
push 0x64
push eax
mov dword [esp + 0x30], 7
call edi
mov ecx, dword [esi + 4]
push 0x65
push ecx
call edi
mov edx, dword [esi + 4]
push 0x66
push edx
call edi
mov ecx, dword [esi + 0x285c]
test ecx, ecx
je 0x50c65f
call fcn.00514010
mov ecx, dword [esi + 0x285c]
test ecx, ecx
je 0x50c655
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x285c], 0
lea ecx, [esi + 0x28c8]
mov byte [esp + 0x28], 6
call fcn.004e6e30
lea ecx, [esi + 0x2860]
mov byte [esp + 0x28], 5
call fcn.0050af10
lea ecx, [esi + 0xf2c]
mov byte [esp + 0x28], 4
call fcn.004fe530
lea ecx, [esi + 0x3c]
mov byte [esp + 0x28], 3
call fcn.004fe530
mov ecx, esi
lea eax, [esi + 0x2c]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x28], 2
and ecx, eax
call fcn.005057e0
mov ecx, esi
mov byte [esp + 0x28], 1
neg ecx
sbb ecx, ecx
and ecx, ebx
call fcn.004ecda0
mov ecx, esi
mov byte [esp + 0x28], 0
neg ecx
sbb ecx, ecx
and ecx, ebp
call fcn.004f7d70
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.0050a6f0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x510575
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
lea edx, [esp + 0xc]
or ebx, 0xffffffff
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.00510dd0
cmp dword [esp + 0xc], ebx
je 0x51060f
mov eax, dword [esi + 0x2924]
test eax, eax
jne 0x5105fb
mov eax, dword [esi + 0x2848]
cmp dword [eax], 0
je 0x5105fb
cmp dword [esi + 0x2920], ebx
je 0x5105fb
push 0x10
call dword [0x523744]
shr eax, 8
test al, al
jne 0x5105fb
mov eax, dword [esi + 0x2928]
test eax, eax
jne 0x510669
push 1
mov ecx, esi
call fcn.00512770
test eax, eax
je 0x5105ef
mov dword [esi + 0x292c], 1
jmp 0x510669
mov dword [esi + 0x292c], 0
jmp 0x510669
mov ecx, dword [esi + 0x284c]
test ecx, ecx
je 0x510669
mov edx, dword [ecx]
push 0
push 2
call dword [edx]
jmp 0x510669
mov ecx, dword [esi + 0x2930]
test ecx, ecx
je 0x51063c
cmp eax, 3
jne 0x51063c
mov ecx, dword [esi + 0x284c]
mov dword [esi + 0x2930], 0
test ecx, ecx
je 0x510669
mov eax, dword [ecx]
push 1
push 1
call dword [eax]
jmp 0x510669
mov ecx, dword [esi + 0x284c]
test ecx, ecx
je 0x51064e
mov edx, dword [ecx]
push 0
push 1
call dword [edx]
call fcn.00422810
mov eax, dword [eax + 4]
push 0
push 0x7534
push 0x405
push eax
call dword [0x523774]
mov dword [esi + 0x2920], ebx
mov dword [esi + 0x2928], 0
pop esi
pop ebx
ret 4

Function at 0x510684
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
lea edx, [esp + 8]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push edi
push edx
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x292c], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.00510dd0
push 1
mov edi, eax
call dword [0x523744]
shr eax, 8
test al, al
je 0x5106ce
mov dword [esi + 0x2924], 1
jmp 0x5106d8
mov dword [esi + 0x2924], 0
cmp edi, 3
jne 0x5106ec
mov dword [esi + 0x2930], 1
pop edi
pop esi
ret 4
mov eax, dword [esi + 0x2848]
cmp dword [eax], 0
je 0x510706
mov ecx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x2920], ecx
pop esi
ret 4
mov dword [esi + 0x2920], 0xffffffff
pop edi
pop esi
ret 4
Function at 0x5112b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 4]
push ecx
call dword [0x52378c]
lea edi, [esi + 0xf2c]
test edi, edi
je 0x5112d8
lea eax, [esi + 0xf30]
jmp 0x5112da
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [0x5237dc]
test eax, eax
je 0x511394
mov edx, dword [esi + 0x2848]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x511368
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test edi, edi
je 0x51130c
lea edx, [esi + 0xf30]
jmp 0x51130e
xor edx, edx
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
push 1
sub ebx, ecx
mov edx, dword [edx + 4]
push ebx
mov ebx, dword [esi + 0x2be8]
push eax
push ecx
mov ecx, dword [esp + 0x24]
sub ecx, ebx
sub ecx, eax
push ecx
push edx
call dword [0x5238ec]
test edi, edi
pop ebx
je 0x511354
lea eax, [esi + 0xf30]
push 5
mov eax, dword [eax + 4]
push eax
call dword [0x523884]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push 5
mov eax, dword [eax + 4]
push eax
call dword [0x523884]
pop edi
pop esi
add esp, 0x10
ret
test edi, edi
je 0x511387
mov ecx, dword [esi + 0xf34]
lea eax, [esi + 0xf30]
push 0
push ecx
call dword [0x523884]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push eax
mov ecx, dword [eax + 4]
push ecx
call dword [0x523884]
pop edi
pop esi
add esp, 0x10
ret

Function at 0x5113a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
push edi
mov edi, ecx
push eax
mov ecx, dword [edi + 4]
push ecx
call dword [0x52378c]
mov ecx, dword [edi + 0x2b9c]
xor eax, eax
test ecx, ecx
je 0x5113ca
call fcn.00453250
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x14]
lea esi, [edi + 0x3c]
sub edx, eax
test esi, esi
mov dword [esp + 0xc], edx
je 0x5113e0
lea eax, [edi + 0x40]
jmp 0x5113e2
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [0x5237dc]
test eax, eax
je 0x511486
mov eax, dword [edi + 0x2848]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x511460
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
test esi, esi
je 0x511411
lea edx, [edi + 0x40]
jmp 0x511413
xor edx, edx
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
push 1
sub ebx, ecx
push ebx
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [edx + 4]
push eax
push ecx
call dword [0x5238ec]
test esi, esi
pop ebx
je 0x51144c
mov edx, dword [edi + 0x44]
lea eax, [edi + 0x40]
push 5
push edx
call dword [0x523884]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push 5
mov edx, dword [eax + 4]
push edx
call dword [0x523884]
pop edi
pop esi
add esp, 0x10
ret
test esi, esi
je 0x511479
lea eax, [edi + 0x40]
push 0
mov eax, dword [eax + 4]
push eax
call dword [0x523884]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push eax
mov eax, dword [eax + 4]
push eax
call dword [0x523884]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x5167e0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00516ac0
test eax, eax
jne 0x516918
mov ecx, ebx
call fcn.00515d80
mov ecx, dword [ebx + 4]
push eax
call fcn.00512e10
test eax, eax
jne 0x516918
mov ecx, dword [ebx + 4]
call fcn.004f50b0
push eax
call dword [0x523758]
mov edi, eax
push edi
call dword [0x5230f4]
push 0x10
push 0x10
push edi
mov esi, eax
call dword [0x5230e0]
mov ebp, eax
push ebp
push esi
call dword [0x5230fc]
sub esp, 0x10
mov dword [esp + 0x20], eax
mov ecx, esp
xor eax, eax
push esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, 0x10
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, ebx
call fcn.00515e50
mov eax, dword [ebx + 0x64]
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], edx
test eax, eax
mov dword [esp + 0x20], edx
je 0x51688e
lea eax, [ebx + 0x48]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [0x5238b8]
jmp 0x51689a
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
call fcn.00515bb0
mov ecx, dword [esp + 0x18]
mov eax, dword [0x58e4b0]
add ecx, eax
mov eax, dword [esp + 0x20]
sub eax, ecx
push 0xcc0020
sub eax, 0x10
push 0
cdq
sub eax, edx
mov edx, dword [0x58e4a8]
sar eax, 1
add ecx, eax
push 0
push esi
push 0x10
lea eax, [ecx + 0x10]
push 0x10
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
add eax, edx
push ecx
push eax
push edi
lea edx, [eax + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
call dword [0x5230e4]
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [0x5230fc]
push ebp
call dword [0x523100]
push esi
call dword [0x523104]
mov ecx, dword [ebx + 4]
push edi
call fcn.004f50b0
push eax
call dword [0x523768]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x517040
Capabilities:
Create thread

Disassembly:
push ecx
push edi
push 0x1048
call fcn.0051c5a0
mov edi, eax
add esp, 4
test edi, edi
je 0x51709d
push 0x823
xor ecx, ecx
mov eax, 0x824
push edi
call fcn.00516f60
add esp, 8
test eax, eax
je 0x51709d
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push edi
push 0x516da0
push 0
push 0
call dword [0x523468]
add esp, 0x18
test eax, eax
je 0x51709d
push 0xffffffffffffffff
push eax
call dword [0x523294]
pop edi
pop ecx
ret
Function at 0x517520
Capabilities:
Create thread

Disassembly:
sub esp, 0xd0
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push str.NotJoinPrivate
mov ebp, ecx
push str.option
mov dword [esp + 0x1c], 0
call fcn.0040e740
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x51763b
mov eax, dword [esp + 0xf0]
test eax, eax
je 0x517571
mov ecx, ebp
call fcn.005178b0
test eax, eax
jne 0x51763b
push 0x1048
call fcn.0051c5a0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x51763b
mov edx, dword [esp + 0xe8]
mov ecx, 0x209
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0xe4]
push 0x823
push ebx
push ecx
push edx
push eax
mov ecx, ebp
call fcn.005176c0
test eax, eax
je 0x51763b
push 8
call fcn.0051c5a0
mov esi, eax
xor edx, edx
add esp, 4
cmp esi, edx
je 0x51763b
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], dx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push 0x63
push ecx
mov dword [esi], edx
mov dword [esi + 4], edx
push edx
mov ecx, ebp
mov dword [esi], ebx
stosw word es:[edi], ax
call fcn.00517650
lea edx, [esp + 0x18]
push edx
call fcn.00456ab0
mov ecx, eax
call fcn.00459ab0
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x5171e0
push 0
push 0
mov dword [esp + 0x2c], 0
call dword [0x523468]
add esp, 0x18
test eax, eax
je 0x51763b
push 0xffffffffffffffff
push eax
call dword [0x523294]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0x10
Function at 0x5176c0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20
xor eax, eax
push esi
mov esi, ecx
cmp dword [esp + 0x34], eax
je 0x51789c
cmp dword [esp + 0x38], eax
je 0x51789c
push ebx
push ebp
push edi
xor ebx, ebx
xor ebp, ebp
xor edi, edi
cmp esi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
je 0x517802
push esi
call dword [0x523704]
test eax, eax
je 0x517800
push esi
push edi
mov edi, dword [0x5233a4]
push str.IeBC
push str.func
call edi
push esi
push ebp
push 0x56ac20
push str.func
mov ebx, eax
call edi
push esi
push ebp
push str.iknow
push str.inner
call edi
push esi
push 0
push str.innerpage
push str.func
mov ebp, eax
call edi
push esi
push 0
push str.notip
push str.inner
mov dword [esp + 0x38], eax
call edi
push esi
push 0
push str.openietipcloseie8dlg
push str.openie
mov dword [esp + 0x3c], eax
call edi
push esi
push 0
push str.OpenIeUseIE8
push str.openie
mov dword [esp + 0x34], eax
call edi
push esi
push 0
push str.OpenIeUseIE6
push str.openie
mov dword [esp + 0x2c], eax
call edi
push esi
push 0
push 0x56ace8
push str.updateie
mov dword [esp + 0x30], eax
call edi
push esi
push 0
push str.UpdateNow
push str.updateie
mov dword [esp + 0x28], eax
call edi
push esi
push 0
push str.NoTip
push str.updateie
mov dword [esp + 0x24], eax
call edi
push esi
push 0
push str.Close
push str.updateie
mov dword [esp + 0x20], eax
call edi
push esi
mov edi, eax
call dword [0x52332c]
xor eax, eax
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
cmp edx, eax
jne 0x517819
cmp esi, eax
jne 0x517819
mov ecx, 1
jmp 0x517828
xor ecx, ecx
cmp edx, eax
je 0x517828
cmp esi, eax
jne 0x517828
mov eax, 1
mov esi, dword [esp + 0x3c]
push esi
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push ebp
push eax
push ecx
push 0
push ebx
call fcn.00517e10
push eax
call fcn.0049b080
push eax
call fcn.00451e30
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x8c]
dec edx
push str.http:__seapp.stat.360safe.com_q.html_namezdie8sever_sappver0mid_sc_d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d_0_0_0
push edx
push eax
call fcn.0042dce0
add esp, 0x58
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x20
ret 0x14
xor eax, eax
pop esi
add esp, 0x20
ret 0x14
Function at 0x517940
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x2dc
mov eax, 0x58e6f8
push ebx
push ebp
push esi
xor esi, esi
test eax, eax
push edi
je 0x517ae0
push eax
call dword [0x523704]
test eax, eax
je 0x517ae0
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x7e]
mov word [esp + 0x7c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xe2]
mov word [esp + 0xe0], si
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2f0]
mov dword [esp + 0x14], esi
cmp eax, esi
jle 0x517ae0
mov ebp, dword [0x5234a4]
mov esi, dword [0x523568]
xor ebx, ebx
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
call ebp
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
sub eax, ebx
push edx
mov dword [esp + 0x18], eax
call esi
add esp, 8
test eax, eax
je 0x517a29
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc edx
push ecx
add eax, 0x76c
push edx
push eax
push str._d_02d_02d
lea ecx, [esp + 0x8c]
push 0x31
push ecx
call fcn.0042dce0
add esp, 0x18
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
add eax, 0x15180
push edx
mov dword [esp + 0x14], eax
call esi
add esp, 4
test eax, eax
je 0x517a6a
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc edx
push ecx
add eax, 0x76c
push edx
push eax
push str._d_02d_02d
lea ecx, [esp + 0x28]
push 0x31
push ecx
call fcn.0042dce0
add esp, 0x18
lea edx, [esp + 0x18]
lea eax, [esp + 0x7c]
push edx
push eax
push 0x58e6f8
push str._sHistory.IE5MSHist01_s_s
lea ecx, [esp + 0xf0]
push 0x104
push ecx
call fcn.0042dd50
add esp, 0x18
lea edx, [esp + 0xe0]
push edx
call dword [0x523704]
test eax, eax
jne 0x517ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2f0]
inc eax
add ebx, 0x15180
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5179c9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2dc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2dc
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x517b80
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52286b
push eax
mov eax, dword [0x58e910]
mov dword fs:[0], esp
sub esp, 0xa30
push esi
xor esi, esi
cmp eax, esi
je 0x517bc2
mov eax, dword [0x58e90c]
pop esi
mov ecx, dword [esp + 0xa30]
mov dword fs:[0], ecx
add esp, 0xa3c
ret
push ebx
push ebp
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
mov word [esp + 0x428], si
mov ebx, dword [0x52364c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x42c]
push 0x1a
push eax
push esi
mov dword [0x58e910], 1
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov ebp, dword [0x523720]
mov word [esp + 0x18], si
push str.360seie8core
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x42c]
lea edx, [esp + 0x1c]
push ecx
push edx
stosw word es:[edi], ax
call ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x632]
mov word [esp + 0x630], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x630]
push 0x104
push eax
push esi
call dword [0x52339c]
lea ecx, [esp + 0x630]
push ecx
call dword [0x5236d4]
cmp eax, esi
je 0x517d95
push 0xb
push str.360SeSS.exe
push eax
call dword [0x523700]
test eax, eax
je 0x517d95
cmp dword [0x585fa8], esi
je 0x517d95
cmp dword [0x585f94], esi
je 0x517d95
cmp dword [0x585fbc], esi
jne 0x517d95
call dword [0x523204]
cmp ax, 0x804
jne 0x517d95
lea edx, [esp + 0x18]
push edx
call dword [0x523704]
test eax, eax
je 0x517d95
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
push 0x20000
push esi
push str.SoftwareIEStub
push 0x80000001
call dword [0x523060]
test eax, eax
jne 0x517d86
mov ecx, 0x81
lea edi, [esp + 0x83a]
mov word [esp + 0x838], si
push 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x83c]
push 0x1a
push ecx
push esi
stosw word es:[edi], ax
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x838]
push str.360sedataguardconfig.ini
lea eax, [esp + 0x224]
push edx
push eax
call ebp
lea ecx, [esp + 0x220]
push ecx
call dword [0x523704]
test eax, eax
je 0x517d7c
lea edx, [esp + 0x220]
push edx
push 1
push 0x5664f8
push str.switch
call dword [0x5233a4]
test eax, eax
je 0x517d86
mov dword [0x58e90c], 1
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x517d95
push eax
call dword [0x52306c]
mov edi, dword [0x523364]
call edi
cmp dword [0x58e90c], esi
je 0x517dde
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0xa4c], esi
call fcn.00518930
cmp eax, esi
mov dword [0x58e90c], eax
jne 0x517dde
push esi
push esi
push esi
call fcn.00517b40
push eax
mov ecx, 0x58e4e8
call fcn.00517520
call edi
mov ecx, dword [esp + 0xa40]
mov eax, dword [0x58e90c]
pop edi
pop ebp
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0xa3c
ret
Function at 0x518fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x5580f0
mov dword [ebp - 4], ecx
push eax
call dword [0x5234ec]
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebp + 8], edi
je 0x51910e
mov ebx, dword [0x523550]
push 2
push 0
push edi
call ebx
push edi
call dword [0x52354c]
push 0
push 0
push edi
mov esi, eax
call ebx
add esp, 0x1c
test esi, esi
je 0x519104
lea eax, [esi + 1]
push eax
call fcn.0051c5a0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x519104
lea ecx, [esi + 1]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
push 1
push esi
push ebx
call dword [0x52351c]
add esp, 0x10
test eax, eax
je 0x5190f8
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], 0
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x10c]
push 0x104
push ecx
mov ecx, dword [ebp - 4]
push esi
push ebx
call fcn.00518e90
test eax, eax
je 0x5190f8
lea edx, [ebp - 0x10c]
test edx, edx
jne 0x5190a8
xor edi, edi
jmp 0x5190e1
lea eax, [ebp - 0x10c]
push eax
call dword [0x523308]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0051c5b0
mov edi, esp
push esi
push edi
lea ecx, [ebp - 0x10c]
push 0xffffffffffffffff
push ecx
push 0
push 0
mov word [edi], 0
call dword [0x52330c]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edi
dec edx
push 0x5384a4
push edx
push eax
call fcn.0042dd50
add esp, 0x10
push ebx
call fcn.0051c55a
mov edi, dword [ebp + 8]
add esp, 4
push edi
call dword [0x5234e4]
add esp, 4
lea esp, [ebp - 0x118]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc