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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x462af3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x462ada
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4694a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x496aae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00469dc0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4d5504
call fcn.00487f54
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x469533
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00487f54
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x46952c
push 0
mov ecx, eax
call fcn.00460610
mov dword [esi + 0xc], eax
jmp 0x469535
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x469535
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x48a5b7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48a5ef
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048866e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00488646
jmp 0x48a5fb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48bca9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48bceb
call fcn.00491761
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48bceb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48bce2
xor eax, eax
jmp 0x48bcf3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048bcf9
pop edi
pop esi
pop ebx
ret 4
Function at 0x491c91
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x491cbf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x491cdd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00491bf7
jmp 0x491cdd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x491cdd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00491bf7
test edi, edi
mov eax, edi
jne 0x491cc7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1002b99
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.ntdll.dll_wcscpy]
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 0xc
lea eax, [ebp + eax*2 - 0x100]
dec eax
dec eax
mov cx, word [eax]
cmp cx, 0x5c
je 0x1002bda
cmp cx, 0x2f
jne 0x1002be0
and word [eax], 0
jmp 0x1002bc9
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
leave
ret 4

Function at 0x1002bfb
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
push esi
push dword [edi + 4]
mov esi, dword [sym.imp.ntdll.dll_wcscpy]
lea eax, [ebp - 0x108]
push eax
call esi
push dword [edi + 4]
call dword [sym.imp.ntdll.dll_wcslen]
lea eax, [ebp + eax*2 - 0x108]
push 0x1001400
push eax
mov dword [ebp - 8], eax
call esi
add esp, 0x14
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x1002c63
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x12
neg eax
sbb eax, eax
jmp 0x1002d8d
push ebx
mov ebx, dword [sym.imp.ntdll.dll_wcscmp]
lea eax, [ebp - 0x32c]
push 0x10013fc
push eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x1002d65
lea eax, [ebp - 0x32c]
push 0x10013f4
push eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x1002d65
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.ntdll.dll__wcslwr]
push eax
push dword [ebp - 8]
call esi
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
je 0x1002cc7
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.ntdll.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp - 0x32c]
push eax
push dword [edi + 8]
call fcn.01002f62
test eax, eax
je 0x1002d65
cmp dword [edi + 0xc], 0
je 0x1002d40
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x458]
push eax
lea edx, [ebp - 0x108]
call fcn.01002ad4
test eax, eax
je 0x1002d40
test byte [ebp - 0x358], 0x10
je 0x1002d65
lea eax, [ebp - 0x458]
push eax
call fcn.01002b99
test eax, eax
je 0x1002d65
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x458]
push eax
mov eax, dword [ebp + 8]
call fcn.0100293d
jmp 0x1002d65
lea eax, [ebp - 0x108]
push eax
call fcn.01002b99
test eax, eax
je 0x1002d65
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp + 0xc]
call fcn.01002a0d
mov ebx, eax
test ebx, ebx
jne 0x1002d8a
lea eax, [ebp - 0x358]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test ebx, ebx
jne 0x1002c64
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1002d8a
mov eax, ebx
pop ebx
pop esi
leave
ret 8
Function at 0x1003186
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001408
call fcn.01003324
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x10031c1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10031c1
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10031d9
cmp eax, 0x20b
je 0x10031c6
mov dword [ebp - 0x1c], edi
jmp 0x10031ed
cmp dword [ecx + 0x84], 0xe
jbe 0x10031c1
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x10031e7
cmp dword [ecx + 0x74], 0xe
jbe 0x10031c1
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10059a0], 0xffffffff
or dword [0x10059a4], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100430c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1004308]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10059a8], eax
call fcn.0100331e
cmp dword [0x1004274], edi
jne 0x1003248
push fcn.0100331e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100330c
push 0x100111c
push 0x1001118
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004304]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1004300]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x1001114
push 0x1001110
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01001939
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x10032bf
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10032f4
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100335d
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ba0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push esi
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x401c0f
push edi
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x10]
push 4
push ecx
lea edx, [esp + 0x1c]
push 4
push edx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov edi, eax
call dword [0x422158]
test edi, edi
pop edi
je 0x401c0f
mov eax, dword [esp + 4]
test eax, eax
jne 0x401c4e
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x401c1e
xor eax, eax
pop esi
add esp, 0xc
ret
push esi
call dword [0x4224ec]
test eax, eax
je 0x401c4e
push esi
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x401c4e
push 1
call fcn.0041ef80
push eax
push esi
call fcn.0041f210
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x401c60
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x42b894]
sub esp, 0x80c
test eax, eax
je 0x401c7d
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x401dcb
push esi
push edi
lea eax, [esp + 0x14]
push 0x400
push eax
push 0
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, dword [0x42b89c]
xor esi, esi
test eax, eax
jle 0x401cba
lea edx, [esp + 0x14]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x401ca9
lea eax, [esp + 0x14]
push str.MiniUI.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [0x4224e0]
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x401d38
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov edi, eax
call dword [0x422158]
test edi, edi
je 0x401d38
mov eax, dword [esp + 8]
test eax, eax
jne 0x401d79
lea edx, [esp + 0x14]
test edx, edx
je 0x401d75
lea eax, [esp + 0x14]
push eax
call dword [0x4224ec]
test eax, eax
je 0x401d79
lea ecx, [esp + 0x14]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x401d79
push 1
call fcn.0041ef80
lea edx, [esp + 0x18]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x401d84
lea eax, [esp + 0x14]
push eax
call dword [0x4220cc]
pop edi
mov dword [0x42b898], eax
test eax, eax
pop esi
jne 0x401d96
add esp, 0x80c
ret
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x401dcb
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], 0
xor eax, eax
add esp, 0x80c
ret
call eax
add esp, 0x80c
ret
Function at 0x405450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4207af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0x14], 1
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
lea eax, [esp + 0x10]
push str.res:___d__s__d
push eax
call sub.MFC42u.DLL_CString::Format_1
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00413e4a
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4054e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, 4
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push str.SOFTWARE360Safe_safemon
push 0x80000002
mov dword [esp + 0x2c], esi
call dword [0x4224d8]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x405527
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x405560
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
lea ecx, [esp + 4]
mov dword [esp], eax
mov dword [esp + 8], eax
lea eax, [esp]
lea edx, [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push str.SOFTWARE360Safe_safemon
push 0x80000002
mov dword [esp + 0x1c], 0
call dword [0x4224d8]
neg eax
sbb eax, eax
inc eax
add esp, 0xc
ret
Function at 0x4055b0
Capabilities:
Check if file exists
Create process on windows
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4227f8
push 0x4142a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x864
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov word [ebp - 0x818], si
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x816]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [ebp + 8]
push ebx
push str.__s_
push 0x400
lea eax, [ebp - 0x818]
push eax
call fcn.00405830
add esp, 0x10
call dword [0x4220b4]
mov dword [ebp - 0x868], eax
mov dword [ebp - 0x85c], esi
push esi
push esi
push 3
push esi
push 3
push 0x80
push str..360SelfProtection
call dword [0x4220b8]
mov edi, eax
cmp edi, 0xffffffff
je 0x405679
push esi
lea ecx, [ebp - 0x864]
push ecx
push 4
lea edx, [ebp - 0x85c]
push edx
push 4
lea eax, [ebp - 0x868]
push eax
push 0x22204c
push edi
call dword [0x4220bc]
mov esi, eax
push edi
call dword [0x422158]
neg esi
sbb esi, esi
and esi, dword [ebp - 0x85c]
xor edi, edi
cmp esi, edi
jne 0x4056bd
cmp ebx, edi
je 0x4056bd
push ebx
call dword [0x4224ec]
test eax, eax
je 0x4056bd
push ebx
call fcn.0041f330
add esp, 4
test eax, eax
je 0x4056bd
push ebx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x4056bd
push 1
call fcn.0041ef80
push eax
push ebx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x4056c2
mov eax, 1
cmp eax, edi
jne 0x4056ca
xor eax, eax
jmp 0x4056db
push 1
push edi
push edi
push ebx
push str.open
push edi
call dword [0x4224cc]
cmp eax, 0x20
jle 0x4056f6
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], edi
mov dword [ebp - 0x81c], edi
lea ecx, [ebp - 0x81c]
push ecx
push 0x4240fc
push 5
push edi
push 0x4240bc
call dword [0x4225cc]
test eax, eax
jl 0x405807
mov eax, dword [ebp - 0x81c]
cmp eax, edi
je 0x4057e1
mov dword [ebp - 0x830], edi
mov edx, dword [eax]
lea ecx, [ebp - 0x830]
push ecx
push eax
call dword [edx + 0x94]
mov eax, dword [ebp - 0x830]
cmp eax, edi
je 0x405765
push eax
call dword [0x422528]
push 3
mov edx, dword [ebp - 0x830]
push edx
call dword [0x422524]
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x4057d5
mov word [ebp - 0x82c], di
mov word [ebp - 0x840], 8
push ebx
call dword [0x4224a8]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp - 0x81c]
mov ecx, dword [eax]
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x840]
push edx
push eax
call dword [ecx + 0xd0]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp - 0x838]
push eax
call dword [0x4224a4]
mov eax, dword [ebp - 0x81c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405cc0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x42b894]
sub esp, 0x80c
test eax, eax
push ebp
mov ebp, dword [ecx + 0x20]
push esi
je 0x405ce2
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x405e2c
push edi
lea eax, [esp + 0x18]
push 0x400
push eax
push 0
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x18]
push ecx
call edi
mov eax, dword [0x42b89c]
xor esi, esi
test eax, eax
jle 0x405d1e
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x405d0d
lea eax, [esp + 0x18]
push str.MiniUI.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x4224e0]
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x405d9c
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov edi, eax
call dword [0x422158]
test edi, edi
je 0x405d9c
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x405ddd
lea edx, [esp + 0x18]
test edx, edx
je 0x405dd9
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x405ddd
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x405ddd
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x405de8
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
test eax, eax
mov dword [0x42b898], eax
pop edi
je 0x405e70
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x405e2c
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
pop esi
mov dword [0x42b898], 0
mov eax, 1
pop ebp
add esp, 0x80c
ret
call eax
test eax, eax
je 0x405e70
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
je 0x405e70
mov eax, dword [esi]
push 3
push 0x3f7
push esi
call dword [eax + 0x10]
mov ecx, dword [esi]
push 8
push 0x3f8
push esi
call dword [ecx + 0x10]
mov edx, dword [esi]
push 0xc
push 0x3f9
push esi
call dword [edx + 0x10]
mov eax, dword [esi]
push 0xc
push 2
push esi
call dword [eax + 0x10]
pop esi
mov eax, 1
pop ebp
add esp, 0x80c
ret
Function at 0x406060
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80c
push ebp
mov ebp, dword [esp + 0x81c]
test ebp, ebp
je 0x4061e1
mov eax, dword [esp + 0x814]
mov dword [ebp], 0
test eax, eax
je 0x4061e1
mov eax, dword [0x42b894]
test eax, eax
je 0x4060a3
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x4061eb
push esi
push edi
lea eax, [esp + 0x18]
push 0x400
push eax
push 0
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x18]
push ecx
call edi
mov eax, dword [0x42b89c]
xor esi, esi
test eax, eax
jle 0x4060e0
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x4060cf
lea eax, [esp + 0x18]
push str.MiniUI.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x4224e0]
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x40615e
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov edi, eax
call dword [0x422158]
test edi, edi
je 0x40615e
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40619f
lea edx, [esp + 0x18]
test edx, edx
je 0x40619b
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x40619f
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x40619f
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x4061aa
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
pop edi
mov dword [0x42b898], eax
test eax, eax
pop esi
je 0x4061e1
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x4061eb
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], 0
xor eax, eax
pop ebp
add esp, 0x80c
ret
call eax
test eax, eax
je 0x4061e1
mov ecx, dword [esp + 0x818]
mov edx, dword [eax]
push ebp
push ecx
mov ecx, dword [esp + 0x81c]
push ecx
push eax
call dword [edx + 0x20]
pop ebp
add esp, 0x80c
ret
Function at 0x406210
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x42b894]
sub esp, 0x80c
test eax, eax
je 0x40622d
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x406376
push esi
push edi
lea eax, [esp + 0x14]
push 0x400
push eax
push 0
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, dword [0x42b89c]
xor esi, esi
test eax, eax
jle 0x40626a
lea edx, [esp + 0x14]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x406259
lea eax, [esp + 0x14]
push str.MiniUI.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [0x4224e0]
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x4062e8
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov edi, eax
call dword [0x422158]
test edi, edi
je 0x4062e8
mov eax, dword [esp + 8]
test eax, eax
jne 0x406329
lea edx, [esp + 0x14]
test edx, edx
je 0x406325
lea eax, [esp + 0x14]
push eax
call dword [0x4224ec]
test eax, eax
je 0x406329
lea ecx, [esp + 0x14]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x406329
push 1
call fcn.0041ef80
lea edx, [esp + 0x18]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x406334
lea eax, [esp + 0x14]
push eax
call dword [0x4220cc]
pop edi
mov dword [0x42b898], eax
test eax, eax
pop esi
je 0x40636b
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x406376
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], 0
xor eax, eax
add esp, 0x80c
ret 0xc
call eax
test eax, eax
je 0x40636b
mov ecx, dword [esp + 0x818]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x818]
push ecx
mov ecx, dword [esp + 0x818]
push ecx
push eax
call dword [edx + 0x20]
add esp, 0x80c
ret 0xc