joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e520
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
mov dword [esp + 4], 0
jne 0x40e537
mov ebp, str.Main
mov eax, dword [0x56fe60]
test eax, eax
jne 0x40e567
mov eax, dword [esp + 0x10]
push eax
push ebp
call fcn.0040e4e0
add esp, 8
test eax, eax
je 0x40e567
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.0040e1f0
add esp, 8
pop ebp
pop ecx
ret
push ebx
push esi
mov esi, dword [esp + 0x20]
push edi
lea edi, [esi + esi + 2]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40e67f
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x24], 0
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [0x56fe60]
test ecx, ecx
je 0x40e5e4
mov eax, dword [0x56fe7c]
test eax, eax
jne 0x40e5c9
push str.GetAppValue
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x56fe7c], eax
je 0x40e5dc
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push esi
push ebx
push edx
push ebp
call eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40e62a
mov eax, dword [0x56fe64]
test eax, eax
je 0x40e600
mov ecx, dword [esp + 0x1c]
push esi
push ebx
push ecx
push ebp
push eax
call fcn.00496270
add esp, 0x14
jmp 0x40e626
mov ecx, 0x56bcc8
call fcn.0040c0b0
mov edx, dword [esp + 0x1c]
push eax
push esi
push ebx
push 0x56bc90
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40e676
test esi, esi
je 0x40e676
cmp esi, 0x7fffffff
ja 0x40e676
mov eax, dword [esp + 0x20]
mov edi, SysReAllocString
mov edx, esi
sub edi, esi
mov esi, ebx
sub esi, eax
lea ecx, [edi + edx]
test ecx, ecx
je 0x40e66a
mov cx, word [esi + eax]
test cx, cx
je 0x40e66a
mov word [eax], cx
add eax, 2
dec edx
jne 0x40e64f
jmp 0x40e66e
test edx, edx
jne 0x40e671
sub eax, 2
mov word [eax], 0
push ebx
call fcn.0051c54a
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x40e740
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x20c
test eax, eax
je 0x40e84b
push ebx
mov ebx, dword [esp + 0x214]
push esi
push edi
test ebx, ebx
jne 0x40e765
mov ebx, str.Main
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x56fe60]
xor esi, esi
stosw word es:[edi], ax
mov edi, dword [esp + 0x220]
mov dword [esp + 0xc], esi
test ecx, ecx
je 0x40e7cd
mov eax, dword [0x56fe84]
test eax, eax
jne 0x40e7b0
push str.GetAppValue
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x56fe84], eax
je 0x40e7c5
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0x103
push edx
push edi
push ebx
call eax
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40e819
mov eax, dword [0x56fe64]
test eax, eax
je 0x40e7ef
lea ecx, [esp + 0x10]
push 0x103
push ecx
push edi
push ebx
push eax
call fcn.00496270
add esp, 0x14
mov esi, eax
jmp 0x40e819
mov ecx, 0x56bcc8
call fcn.0040c0b0
push eax
lea edx, [esp + 0x14]
push 0x103
push edx
push 0x56bc90
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
neg esi
pop edi
test esi, esi
pop esi
pop ebx
je 0x40e84b
cmp word [esp + 4], 0
je 0x40e84b
lea edx, [esp + 4]
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
mov ecx, dword [esp + 0x21c]
add esp, 4
mov dword [ecx], eax
mov eax, 1
add esp, 0x20c
ret
xor eax, eax
add esp, 0x20c
ret

Function at 0x40e990
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x20004
call fcn.0051c5a0
mov ecx, dword [0x56fe60]
push ebx
xor ebx, ebx
push esi
mov esi, dword [esp + 0x20010]
push edi
test ecx, ecx
mov dword [esp + 0xc], ebx
je 0x40e9e4
mov eax, dword [0x56fe8c]
test eax, eax
jne 0x40e9d2
push str.GetAppValueCount
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x56fe8c], eax
je 0x40e9dc
lea ecx, [esp + 0xc]
push ecx
push esi
call eax
mov ebx, eax
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40ea5f
mov eax, dword [0x56fe64]
test eax, eax
je 0x40ea01
push esi
push eax
call fcn.00496ec0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x20004
ret
mov ecx, 0x7fff
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, 0x56bcc8
stosw word es:[edi], ax
call fcn.0040c0b0
push eax
lea edx, [esp + 0x14]
push 0x10000
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
jbe 0x40ea5f
cmp word [esp + 0x10], 0
lea esi, [esp + 0x10]
je 0x40ea5f
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
inc ebx
lea esi, [esi + eax*2 + 2]
cmp ebx, 0xbb8
jge 0x40ea5f
cmp word [esi], 0
jne 0x40ea49
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x20004
ret
Function at 0x40eab0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x20004
call fcn.0051c5a0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20014]
test esi, esi
push edi
jne 0x40eace
mov esi, str.Main
mov ebp, dword [esp + 0x2002c]
mov ebx, 1
test ebp, ebp
je 0x40ecc6
mov edi, dword [esp + 0x20030]
test edi, edi
je 0x40ecc6
cmp dword [edi], 0
jbe 0x40ecc6
mov eax, dword [esp + 0x20028]
mov dword [esp + 0x10], 0
mov dword [eax], ebx
mov ecx, dword [0x56fe60]
test ecx, ecx
je 0x40eb68
mov eax, dword [0x56fe90]
test eax, eax
jne 0x40eb33
push str.EnumAppValue
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x56fe90], eax
je 0x40eb5c
mov edx, dword [esp + 0x20024]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x20024]
push edi
push ebp
push edx
mov edx, dword [esp + 0x2002c]
push ecx
push edx
push esi
call eax
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40ecb9
mov ecx, 0x7fff
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x56bcc8
xor edi, edi
call fcn.0040c0b0
push eax
lea eax, [esp + 0x18]
push 0x10000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
jbe 0x40ecb9
cmp word [esp + 0x14], di
lea esi, [esp + 0x14]
je 0x40ecb9
mov ebp, dword [sym.imp.MSVCRT.dll_wcschr]
push 0x3d
push esi
call ebp
add esp, 8
test eax, eax
je 0x40ebda
mov ecx, dword [esp + 0x2001c]
mov word [eax], 0
cmp edi, ecx
je 0x40ec05
mov word [eax], 0x3d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc edi
lea esi, [esi + eax*2 + 2]
cmp edi, 0xbb8
jae 0x40ecb9
cmp word [esi], 0
jne 0x40ebb9
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x20004
ret
mov ecx, dword [esp + 0x20024]
mov edx, dword [ecx]
test edx, edx
je 0x40ec53
cmp edx, 0x7fffffff
ja 0x40ec53
mov ecx, dword [esp + 0x20020]
mov ebx, SysReAllocString
sub ebx, edx
mov edi, edx
sub esi, ecx
lea edx, [ebx + edi]
test edx, edx
je 0x40ec47
mov dx, word [esi + ecx]
test dx, dx
je 0x40ec47
mov word [ecx], dx
add ecx, 2
dec edi
jne 0x40ec2c
jmp 0x40ec4b
test edi, edi
jne 0x40ec4e
sub ecx, 2
mov word [ecx], 0
mov ecx, dword [esp + 0x20030]
mov edx, dword [ecx]
shr edx, 1
je 0x40ecb7
cmp edx, 0x7fffffff
ja 0x40ecb7
mov ecx, dword [esp + 0x2002c]
mov esi, SysReAllocString
sub esi, edx
sub eax, ecx
lea edi, [eax + 2]
lea eax, [esi + edx]
test eax, eax
je 0x40ecab
mov ax, word [edi + ecx]
test ax, ax
je 0x40ecab
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x40ec7b
sub ecx, 2
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebp
mov word [ecx], 0
pop ebx
add esp, 0x20004
ret
test edx, edx
jne 0x40ecb2
sub ecx, 2
mov word [ecx], 0
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x20004
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20004
ret
Function at 0x411e30
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push str.360se_iecompat_filter
push ebx
mov esi, ecx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
mov dword [esp + 0x10], ebx
cmp ebp, ebx
jne 0x411ecb
cmp word [esi], bx
je 0x411f64
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x411f64
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x14
jb 0x411ea8
push str.360se_iecompat_filter
push ebx
push 0
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x208], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esi + 0x208]
mov dword [esi + 0x20c], ebx
test ebp, ebp
mov dword [esp + 0x10], 1
je 0x411f64
push 0
push 0
push 0
push 0xf001f
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x411f55
push edi
mov ecx, esi
call fcn.00412460
test eax, eax
je 0x411f4e
test ebx, ebx
jne 0x411f08
mov eax, dword [edi + 4]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea ebx, [ecx*8 + 0x14]
cmp ebx, dword [esi + 0x214]
jbe 0x411f2c
mov ecx, esi
call fcn.00411e00
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], ebx
mov eax, dword [esi + 0x210]
test eax, eax
je 0x411f4e
mov ecx, ebx
mov esi, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x411f64
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x412070
Capabilities:
Parse url

Disassembly:
sub esp, 0x144
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
test esi, esi
push edi
mov ebx, ecx
je 0x412291
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x54]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x412291
mov ebp, dword [esp + 0x15c]
mov eax, dword [ebx + 0x210]
neg ebp
sbb ebp, ebp
and ebp, 0xfffffffe
add ebp, 2
test eax, eax
je 0x41216f
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
lea edi, [eax + 0x14]
jbe 0x4121ca
lea edx, [edi + 8]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x412151
mov edx, dword [esp + 0x10]
add edi, 0x108
add edx, 0x108
inc esi
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x210]
cmp esi, dword [edx + 4]
jb 0x412118
jmp 0x4121ca
cmp dword [edi], ebp
je 0x412291
mov ecx, ebx
mov dword [edi], ebp
call fcn.00411f70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
push 0x6734
mov dword [ebx + 0x214], 0x6734
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x210], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x210]
mov dword [eax], 0x133
mov ecx, dword [ebx + 0x210]
mov dword [ecx + 0x10], 0x233
mov edx, dword [ebx + 0x210]
mov dword [edx + 8], 0x14
mov ecx, dword [ebx + 0x210]
mov eax, dword [ebx + 0x214]
mov ecx, dword [ecx + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea ecx, [edx*8 + 0x11c]
cmp eax, ecx
jae 0x412238
add eax, 0x6720
push eax
mov dword [esp + 0x18], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov esi, dword [ebx + 0x210]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00411e00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x210], eax
mov dword [ebx + 0x214], ecx
mov eax, dword [ebx + 0x210]
lea esi, [esp + 0x54]
mov ecx, dword [eax + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea eax, [eax + edx*8 + 0x14]
mov edx, 0x100
mov dword [eax], ebp
add eax, 8
sub esi, eax
lea ecx, [edx + 0x7ffffefe]
test ecx, ecx
je 0x412275
mov cl, byte [esi + eax]
test cl, cl
je 0x412275
mov byte [eax], cl
inc eax
dec edx
jne 0x41225c
jmp 0x412279
test edx, edx
jne 0x41227a
dec eax
mov byte [eax], 0
mov eax, dword [ebx + 0x210]
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.00411f70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
Function at 0x4122f0
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
mov esi, 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
xor edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x158]
cmp eax, edi
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x24], esi
je 0x4123fd
mov edx, dword [esp + 0x150]
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x4c]
sub edx, ecx
lea ecx, [esi + 0x7ffffefe]
test ecx, ecx
je 0x412371
mov cl, byte [edx + eax]
test cl, cl
je 0x412371
mov byte [eax], cl
inc eax
dec esi
jne 0x412358
jmp 0x412375
cmp esi, edi
jne 0x412376
dec eax
mov byte [eax], 0
mov al, byte [esp + 0x4c]
push ebx
test al, al
mov dword [esp + 0x10], edi
je 0x41244b
mov eax, dword [ebp + 0x210]
cmp eax, edi
je 0x41244b
mov ecx, dword [eax + 4]
lea ebx, [eax + 0x14]
test ecx, ecx
jbe 0x41244b
lea esi, [ebx + 8]
cmp esi, 8
je 0x4123d4
cmp byte [esi], 0
je 0x4123d4
lea eax, [esp + 0x50]
mov ecx, ebp
push eax
push esi
call fcn.004122a0
test eax, eax
jne 0x412431
lea ecx, [esp + 0x50]
push esi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x412431
mov edx, dword [ebp + 0x210]
add ebx, 0x108
add esi, 0x108
inc edi
cmp edi, dword [edx + 4]
jb 0x4123a9
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
mov esi, dword [esp + 0x150]
lea edx, [esp + 0x10]
push edx
push 0x10000000
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x412379
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
mov ecx, dword [ebx]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x10], 1
sete al
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
Function at 0x412490
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x51d15b
push eax
mov eax, 0x229f4
mov dword fs:[0], esp
call fcn.0051c5a0
mov eax, dword [esp + 0x22a04]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push ebp
push esi
push edi
lea esi, [eax + 8]
push str.often
push esi
call ebx
test eax, eax
je 0x41256e
push str.mostvisit
push esi
call ebx
test eax, eax
je 0x41256e
push str.oftenUrls
push esi
call ebx
test eax, eax
je 0x41256e
push str.preset
push esi
call ebx
test eax, eax
jne 0x41256a
xor ebp, ebp
mov ecx, 0x82
lea edi, [esp + 0x16]
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x222]
mov word [esp + 0x220], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebp
push 0x1a
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [esp + 0x14]
push str.360SE
push edx
push str._s_sdatapreset.dat
lea eax, [esp + 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x234]
push ecx
call fcn.004132a0
add esp, 0x18
jmp 0x4125eb
xor eax, eax
jmp 0x4125eb
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov ecx, 0x8976
xor eax, eax
lea edi, [esp + 0x42c]
push str.oftenUrls
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0x22a14], ebp
mov edi, 1
call ebx
test eax, eax
jne 0x41259e
xor edi, edi
push edi
lea edx, [esp + 0x430]
push 0x1e
push edx
call fcn.004b8a60
push esi
push eax
lea eax, [esp + 0x440]
push eax
call fcn.004f0f80
mov esi, eax
add esp, 0x18
cmp esi, ebp
je 0x4125da
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
push esi
call dword [ecx + 0x88]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [esp + 0x10]
push ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [esp + 0x22a04]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22a00
ret

Function at 0x412dc0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
push 1
push str.snapcache_
mov ecx, 0x56bcc8
call fcn.0040c2a0
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x5384a4
push 0x104
push 0x5cb364
call esi
add esp, 0x10
mov ecx, 0x56bcc8
push 0
push str.Blankdata.ini
call fcn.0040c2a0
push eax
push 0x104
push 0x5caf44
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push 0x5caf44
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 0xffffffff
je 0x412e32
and al, 0xfe
push eax
push 0x5caf44
call ebx
push 0
push str.Exinclude.dat
mov ecx, 0x56bcc8
call fcn.0040c2a0
push eax
push 0x104
push 0x5cb154
call esi
add esp, 0xc
push 0x5cb154
call edi
cmp eax, 0xffffffff
je 0x412e69
and al, 0xfe
push eax
push 0x5cb154
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x5caf40
call esi
push 0x5cb150
call esi
push 0x5cb360
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x412e90
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x20c
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, dword [esp + 0x21c]
mov esi, dword [esp + 0x218]
lea ecx, [esp + 8]
push str.360SE
push ecx
dec edx
push str._s_sdataurls.dat
push edx
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x4132a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x51d1e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x56bc90
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413300
push esi
call fcn.004f0cf0
mov esi, eax
add esp, 4
test esi, esi
je 0x413300
mov eax, dword [esi]
lea ecx, [esp + 4]
push ecx
push esi
call dword [eax + 0x88]
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov esi, dword [esp + 4]
push 0
mov dword [esp + 8], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x51d228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0050a6a0
xor edi, edi
lea ecx, [esi + 0x74]
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call fcn.004c54a0
mov al, byte [esp + 0xb]
lea edx, [esi + 0x3c]
mov byte [esi + 0x36e8], al
mov dword [esi + 0x36ec], edi
mov dword [esi + 0x36f0], edi
mov dword [esi + 0x36f4], edi
xor ecx, ecx
mov dword [esi], 0x523e34
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], 2
mov dword [edx], ecx
mov eax, esi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x36e4], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x4c], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x414380
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x3c]
push edi
push edx
mov dword [esi + 0x36e4], eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [0x56bd10]
cmp eax, 0xffffffff
je 0x4143b6
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
mov ebx, dword [esi + 0x6c]
test ebx, ebx
mov ecx, 0x4600004c
mov edx, 0x80
mov eax, 0xfffffffd
pop ebx
je 0x4143da
xor eax, eax
mov ecx, 0x84000000
mov edx, 0x8000080
push 6
push 8
push 0
push eax
mov eax, dword [esp + 0x28]
push edi
push ecx
push eax
push str.Container
push edx
mov ecx, esi
call fcn.0050a7b0
mov eax, dword [esi + 4]
test eax, eax
je 0x41442a
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x41442a
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x41442a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x41442a
push 1
push 0
push 9
mov ecx, esi
call fcn.004155c0
mov eax, dword [esi + 4]
pop edi
pop esi
ret 0x14

Function at 0x414440
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x415880
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x28]
test eax, eax
je 0x41590b
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x50]
test eax, eax
je 0x41590b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
jne 0x4158b5
push 0
push eax
push 0x12d
call fcn.004d6c30
add esp, 0xc
mov eax, dword [ebx + 0x2c]
push ebp
push esi
lea ecx, [esp + 0xc]
push edi
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
push 1
push esi
push edi
call ebp
test eax, eax
je 0x4158ef
push 0
push esi
push edi
call ebp
mov edx, dword [ebx + 4]
mov ecx, ebx
push edx
call fcn.004159d0
pop edi
pop esi
test eax, eax
pop ebp
jne 0x41590b
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
pop ecx
ret

Function at 0x419f20
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.00419510
cmp dword [esi + 0x569c], 2
jne 0x419f45
mov eax, dword [esi + 0x5630]
push 0
push eax
jmp 0x419fce
mov eax, dword [esi + 0x5638]
mov bl, byte [esp + 0x14]
test eax, eax
je 0x419f9a
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x419f9a
mov ecx, dword [esi + 0x562c]
mov edx, dword [esi + 0x5628]
push 0
push ecx
push 0x5c24
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x50], 2
jbe 0x419f91
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x419f9e
test bl, bl
je 0x419fd4
cmp dword [esi + 0x569c], 1
jne 0x419fc1
mov eax, dword [esi + 0x5634]
mov ecx, dword [esi + 0x5690]
push eax
push ecx
call fcn.004a7f20
mov ecx, eax
call fcn.004a8390
test bl, bl
je 0x419fd4
mov edx, dword [esi + 0x5630]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.00419b50
pop edi
pop esi
pop ebx
ret 8