joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40db20
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x424
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
mov word [esp + 0x220], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x220]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.GuardConfig.ini
lea ecx, [esp + 0x224]
push str.360SE
push ecx
push str._s_sdata_s
lea edx, [esp + 0x28]
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0043f120
add esp, 0x20
test eax, eax
pop edi
je 0x40dbd1
lea ecx, [esp + 0x14]
push ecx
push 0
push str.Debug
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x40dbd1
mov eax, 1
add esp, 0x424
ret
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xe]
and eax, 0xffff
and ecx, 0xffff
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
push edx
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
xor eax, eax
cmp edx, 5
setl al
add esp, 0x424
ret
Function at 0x40dd90
Capabilities:
Read .ini file

Disassembly:
mov al, byte [esp + 4]
sub esp, 0x618
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
cmp al, bl
push edi
je 0x40dec2
push ebx
mov ecx, 0x56d188
call fcn.0040c0a0
push eax
push 0x571324
call fcn.00495d90
mov edx, dword [0x571324]
add esp, 0xc
cmp edx, ebx
je 0x40de25
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push 0x103
push eax
push str.auto_login
push 0x5399a8
push edx
call fcn.004965d0
add esp, 0x14
test eax, eax
je 0x40de25
lea ecx, [esp + 0xc]
push 0x539ee4
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40df6e
jmp 0x40dec2
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], bx
rep stosd dword es:[edi], eax
push esi
lea edx, [esp + 0x10]
push 0x103
push edx
push 1
mov ecx, 0x56d188
stosw word es:[edi], ax
call fcn.0040c190
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x422]
mov word [esp + 0x420], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push str.login.ini
push eax
push 0x539c6c
lea ecx, [esp + 0x42c]
push 0x103
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x420]
push edx
push ebx
push str.IsAuto
push str.NowLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push esi
push str.auto_login
push 0x5399a8
call fcn.0040e8b0
add esp, 0xc
cmp esi, ebx
pop esi
je 0x40df6e
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], bx
rep stosd dword es:[edi], eax
push str.FavoritesFavorites.dll
push 0x56d3f4
stosw word es:[edi], ax
push 0x539c6c
lea eax, [esp + 0x220]
push 0x103
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [0x571320], eax
jne 0x40df49
lea edx, [esp + 0x214]
push ebx
push edx
mov ecx, 0x56d188
call fcn.0040c9e0
test eax, eax
je 0x40df40
lea eax, [esp + 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x571320], eax
jmp 0x40df45
mov eax, dword [0x571320]
cmp eax, ebx
je 0x40df6e
mov ecx, dword [0x571328]
cmp ecx, ebx
jne 0x40df6b
push str.InitSettinsProfileHandle
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
cmp ecx, ebx
mov dword [0x571328], ecx
je 0x40df6e
push ebx
call ecx
pop edi
pop ebp
pop ebx
add esp, 0x618
ret
Function at 0x40e1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 8]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push str.Software360360se3
push SysReAllocStringLen
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e373
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x40e373
lea ecx, [ebp - 4]
push ecx
push edi
push edi
push edi
push str.homepage
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
cmp eax, edi
jbe 0x40e369
cmp eax, 0x2800
jae 0x40e369
lea edx, [eax + eax + 2]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], esi
lea ecx, [eax + eax + 1]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
cmp esi, edi
mov ebx, eax
je 0x40e369
cmp ebx, edi
je 0x40e369
mov edx, dword [ebp - 4]
xor eax, eax
mov edi, esi
lea ecx, [edx + edx + 2]
mov edx, ecx
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 - 4]
mov edi, ebx
lea ecx, [eax + eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push str.homepage
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e35a
mov eax, dword [ebp - 4]
test eax, eax
jbe 0x40e35a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0xc], eax
add eax, 3
and al, 0xfc
call fcn.0051d1f0
mov edx, dword [ebp - 0xc]
mov edi, esp
push 0
push 0
push edx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
push ebx
call fcn.00481720
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0051d1f0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
dec eax
push 0x5394a4
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call fcn.0051d19a
push ebx
call fcn.0051d19a
add esp, 8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
cmp word [eax], 0
jne 0x40e395
mov ecx, dword [ebp + 0xc]
push str.se:blank
dec ecx
push 0x5394a4
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea esp, [ebp - 0x1c]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e3b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40e3f1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.0051d1f0
mov ebx, esp
push 0
push 0
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
jne 0x40e3fd
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 4], ecx
lea edi, [ecx + ecx + 0xa]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebp + 8], 0
je 0x40e4b6
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
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 - 4]
push eax
push ebx
push esi
call fcn.00481640
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0051d1f0
mov ebx, esp
push edi
push ebx
push 0xffffffffffffffff
push esi
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test ebx, ebx
je 0x40e4ad
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
shl eax, 1
push eax
push ebx
push 1
push str.homepage
push str.Software360360se3
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x40e4ad
mov dword [ebp + 8], 1
push esi
call fcn.0051d19a
add esp, 4
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e510
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
mov dword [esp + 4], 0
jne 0x40e527
mov ebp, str.Main
mov eax, dword [0x571320]
test eax, eax
jne 0x40e557
mov eax, dword [esp + 0x10]
push eax
push ebp
call fcn.0040e4d0
add esp, 8
test eax, eax
je 0x40e557
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.0040e1e0
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 0x40e66f
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 [0x571320]
test ecx, ecx
je 0x40e5d4
mov eax, dword [0x57133c]
test eax, eax
jne 0x40e5b9
push str.GetAppValue
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x57133c], eax
je 0x40e5cc
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 0x40e61a
mov eax, dword [0x571324]
test eax, eax
je 0x40e5f0
mov ecx, dword [esp + 0x1c]
push esi
push ebx
push ecx
push ebp
push eax
call fcn.004965d0
add esp, 0x14
jmp 0x40e616
mov ecx, 0x56d188
call fcn.0040c0a0
mov edx, dword [esp + 0x1c]
push eax
push esi
push ebx
push 0x56d150
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 0x40e666
test esi, esi
je 0x40e666
cmp esi, 0x7fffffff
ja 0x40e666
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 0x40e65a
mov cx, word [esi + eax]
test cx, cx
je 0x40e65a
mov word [eax], cx
add eax, 2
dec edx
jne 0x40e63f
jmp 0x40e65e
test edx, edx
jne 0x40e661
sub eax, 2
mov word [eax], 0
push ebx
call fcn.0051d19a
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x40e730
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x20c
test eax, eax
je 0x40e83b
push ebx
mov ebx, dword [esp + 0x214]
push esi
push edi
test ebx, ebx
jne 0x40e755
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 [0x571320]
xor esi, esi
stosw word es:[edi], ax
mov edi, dword [esp + 0x220]
mov dword [esp + 0xc], esi
test ecx, ecx
je 0x40e7bd
mov eax, dword [0x571344]
test eax, eax
jne 0x40e7a0
push str.GetAppValue
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x571344], eax
je 0x40e7b5
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 0x40e809
mov eax, dword [0x571324]
test eax, eax
je 0x40e7df
lea ecx, [esp + 0x10]
push 0x103
push ecx
push edi
push ebx
push eax
call fcn.004965d0
add esp, 0x14
mov esi, eax
jmp 0x40e809
mov ecx, 0x56d188
call fcn.0040c0a0
push eax
lea edx, [esp + 0x14]
push 0x103
push edx
push 0x56d150
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 0x40e83b
cmp word [esp + 4], 0
je 0x40e83b
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 0x40e980
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x20004
call fcn.0051d1f0
mov ecx, dword [0x571320]
push ebx
xor ebx, ebx
push esi
mov esi, dword [esp + 0x20010]
push edi
test ecx, ecx
mov dword [esp + 0xc], ebx
je 0x40e9d4
mov eax, dword [0x57134c]
test eax, eax
jne 0x40e9c2
push str.GetAppValueCount
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x57134c], eax
je 0x40e9cc
lea ecx, [esp + 0xc]
push ecx
push esi
call eax
mov ebx, eax
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40ea4f
mov eax, dword [0x571324]
test eax, eax
je 0x40e9f1
push esi
push eax
call fcn.00497220
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, 0x56d188
stosw word es:[edi], ax
call fcn.0040c0a0
push eax
lea edx, [esp + 0x14]
push 0x10000
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
jbe 0x40ea4f
cmp word [esp + 0x10], 0
lea esi, [esp + 0x10]
je 0x40ea4f
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
inc ebx
lea esi, [esi + eax*2 + 2]
cmp ebx, 0xbb8
jge 0x40ea4f
cmp word [esi], 0
jne 0x40ea39
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x20004
ret
Function at 0x40eaa0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x20004
call fcn.0051d1f0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20014]
test esi, esi
push edi
jne 0x40eabe
mov esi, str.Main
mov ebp, dword [esp + 0x2002c]
mov ebx, 1
test ebp, ebp
je 0x40ecb6
mov edi, dword [esp + 0x20030]
test edi, edi
je 0x40ecb6
cmp dword [edi], 0
jbe 0x40ecb6
mov eax, dword [esp + 0x20028]
mov dword [esp + 0x10], 0
mov dword [eax], ebx
mov ecx, dword [0x571320]
test ecx, ecx
je 0x40eb58
mov eax, dword [0x571350]
test eax, eax
jne 0x40eb23
push str.EnumAppValue
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x571350], eax
je 0x40eb4c
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 0x40eca9
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, 0x56d188
xor edi, edi
call fcn.0040c0a0
push eax
lea eax, [esp + 0x18]
push 0x10000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
jbe 0x40eca9
cmp word [esp + 0x14], di
lea esi, [esp + 0x14]
je 0x40eca9
mov ebp, dword [sym.imp.MSVCRT.dll_wcschr]
push 0x3d
push esi
call ebp
add esp, 8
test eax, eax
je 0x40ebca
mov ecx, dword [esp + 0x2001c]
mov word [eax], 0
cmp edi, ecx
je 0x40ebf5
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 0x40eca9
cmp word [esi], 0
jne 0x40eba9
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 0x40ec43
cmp edx, 0x7fffffff
ja 0x40ec43
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 0x40ec37
mov dx, word [esi + ecx]
test dx, dx
je 0x40ec37
mov word [ecx], dx
add ecx, 2
dec edi
jne 0x40ec1c
jmp 0x40ec3b
test edi, edi
jne 0x40ec3e
sub ecx, 2
mov word [ecx], 0
mov ecx, dword [esp + 0x20030]
mov edx, dword [ecx]
shr edx, 1
je 0x40eca7
cmp edx, 0x7fffffff
ja 0x40eca7
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 0x40ec9b
mov ax, word [edi + ecx]
test ax, ax
je 0x40ec9b
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x40ec6b
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 0x40eca2
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 0x411db0
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 0x411e4b
cmp word [esi], bx
je 0x411ee4
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 0x411ee4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x14
jb 0x411e28
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 0x411ee4
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 0x411ed5
push edi
mov ecx, esi
call fcn.004123e0
test eax, eax
je 0x411ece
test ebx, ebx
jne 0x411e88
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 0x411eac
mov ecx, esi
call fcn.00411d80
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 0x411ece
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 0x411ee4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x411ff0
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 0x412211
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 0x412211
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 0x4120ef
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
lea edi, [eax + 0x14]
jbe 0x41214a
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 0x4120d1
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 0x412098
jmp 0x41214a
cmp dword [edi], ebp
je 0x412211
mov ecx, ebx
mov dword [edi], ebp
call fcn.00411ef0
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 0x4121b8
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.00411d80
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 0x4121f5
mov cl, byte [esi + eax]
test cl, cl
je 0x4121f5
mov byte [eax], cl
inc eax
dec edx
jne 0x4121dc
jmp 0x4121f9
test edx, edx
jne 0x4121fa
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.00411ef0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
Function at 0x412270
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 0x41237d
mov edx, dword [esp + 0x150]
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x4c]
sub edx, ecx
lea ecx, [esi + 0x7ffffefe]
test ecx, ecx
je 0x4122f1
mov cl, byte [edx + eax]
test cl, cl
je 0x4122f1
mov byte [eax], cl
inc eax
dec esi
jne 0x4122d8
jmp 0x4122f5
cmp esi, edi
jne 0x4122f6
dec eax
mov byte [eax], 0
mov al, byte [esp + 0x4c]
push ebx
test al, al
mov dword [esp + 0x10], edi
je 0x4123cb
mov eax, dword [ebp + 0x210]
cmp eax, edi
je 0x4123cb
mov ecx, dword [eax + 4]
lea ebx, [eax + 0x14]
test ecx, ecx
jbe 0x4123cb
lea esi, [ebx + 8]
cmp esi, 8
je 0x412354
cmp byte [esi], 0
je 0x412354
lea eax, [esp + 0x50]
mov ecx, ebp
push eax
push esi
call fcn.00412220
test eax, eax
jne 0x4123b1
lea ecx, [esp + 0x50]
push esi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x4123b1
mov edx, dword [ebp + 0x210]
add ebx, 0x108
add esi, 0x108
inc edi
cmp edi, dword [edx + 4]
jb 0x412329
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 0x4122f9
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