joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422fa0
Capabilities:
Hash data using sha1

Disassembly:
lea ecx, [eax + 0x80]
mov dword [eax + 0xc0], ecx
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret

Function at 0x422fe0
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x4249e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.0046dea0
add esp, 0xc
mov ecx, esi
call fcn.0040e660
push eax
push 0x104
lea edx, [esp + 8]
push edx
push 0
push edi
push str.Proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp]
push eax
mov ecx, ebx
call fcn.00409f50
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0046da8a
add esp, 0x20c
ret

Function at 0x424a50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
mov ecx, esi
call fcn.0040e660
push eax
push 1
push str.Mode
push str.Proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp], eax
test eax, eax
je 0x424b20
push ebx
push edi
cmp eax, 2
jne 0x424ab8
lea ebx, [ebp + 4]
mov edi, 0x4d9be8
call fcn.004249e0
mov ecx, ebx
call fcn.0040e660
mov ecx, esi
call fcn.0040e660
push eax
push 0x1f90
push str.Port
push str.Proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 8], eax
mov ecx, esi
call fcn.0040e660
push eax
push 0
push str.Needauth
push str.Proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x424b01
lea ebx, [ebp + 0x10]
mov edi, str.Login
call fcn.004249e0
mov ecx, ebx
call fcn.0040e660
lea ebx, [ebp + 0x14]
mov edi, str.Password
call fcn.004249e0
mov ecx, ebx
call fcn.0040e660
mov ecx, esi
call fcn.0040e660
push eax
push 1
push str.Bypassproxyserverforlocaladdress
push str.Proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
mov dword [ebp + 0x18], eax
pop ebx
pop esi
pop ebp
ret 4
Function at 0x424dc0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c4df8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
push ecx
mov dword [esp + 0x14], esp
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esp
call fcn.0043d190
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov eax, str.http:__download.
mov dword [esp + 0x38], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424e27
mov esi, dword [ebp + 8]
sub eax, edx
sar eax, 1
push eax
push str.http:__download.
push esi
call fcn.0048729b
add esp, 0xc
test eax, eax
jne 0x424ea8
lea ecx, [esp + 0xc]
call fcn.00409dd0
push str.http:__qh.dlservice.
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call fcn.00409f50
mov eax, str.http:__download.
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424e70
sub eax, edx
sar eax, 1
lea eax, [esi + eax*2]
push eax
lea ecx, [esp + 0x10]
call fcn.0040cc40
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00426320
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.00409f10
mov edx, dword [ebx + 8]
push edx
lea ecx, [esp + 0x18]
mov eax, esi
call fcn.00428a50
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebx + 0xc]
call fcn.00409f50
lea ecx, [esp + 0x14]
call fcn.004264f0
mov ecx, dword [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x20]
call fcn.0040c350
lea ecx, [esp + 0x14]
call fcn.00404160
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x424f10
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 0
push ecx
mov ecx, esi
call edx
test eax, eax
je 0x424f45
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 0xffffffffffffffff
mov ecx, esi
call edx
lea ecx, [esi + 0xc]
call fcn.0040e660
pop esi
mov dword [esp + 4], eax
jmp dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor eax, eax
pop esi
ret 4
Function at 0x424f57
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
push edi
xor edi, edi
cmp eax, edi
je 0x424f6a
push eax
call ebx
mov dword [esi + 0x14], edi
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x424f77
push eax
call ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x50]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x30], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax + 0x34], edi
mov dword [eax + 0x30], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x28], edi
mov eax, dword [esp + 0x10]
cmp eax, edi
jle 0x424fce
mov ecx, 0xa
cmp dword [esi + 4], ecx
jle 0x424fc5
mov dword [esi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [ecx + 4], eax
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x18], eax
cmp eax, edi
je 0x424ffd
lea eax, [esp + 0x10]
push eax
push edi
push esi
push 0x4250d0
push edi
push edi
mov dword [esp + 0x28], edi
call fcn.00487442
add esp, 0x18
mov dword [esi + 0x14], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret 8
Function at 0x4253e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4088
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.00432a10
lea eax, [esi + 0x18]
push eax
mov dword [esp + 0x18], 0
call fcn.00432a10
lea ecx, [esi + 0x30]
call fcn.004091e0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x427b80
Capabilities:
Connect to http server
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x4c24f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
call fcn.00409dd0
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 0x54e0]
test eax, eax
jne 0x427bc3
lea ebx, [eax + 1]
jmp 0x427bf7
cmp eax, 2
jne 0x427bf7
lea ebx, [eax + 1]
lea eax, [edi + 0x54e4]
push eax
lea ecx, [esp + 0x10]
call fcn.00409f30
mov eax, dword [edi + 0x54e8]
test eax, eax
jle 0x427bf7
push eax
push 0x4d9cfc
lea esi, [esp + 0x14]
call fcn.004287c0
add esp, 8
push 0x10000000
push 0
lea ecx, [esp + 0x14]
call fcn.0040e660
push eax
push ebx
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_2.0.50727__.NET_CLR_3.0.04506.648__.NET_CLR_3.5.8888.8888__
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 8], eax
test eax, eax
jne 0x427c38
lea ecx, [esp + 0xc]
call fcn.00409f10
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
push 0x427ae0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
je 0x427c1b
mov edx, dword [edi + 8]
push 4
lea ecx, [esp + 0x14]
push ecx
push 2
push edx
mov dword [esp + 0x20], 0x7530
call dword [sym.imp.WININET.dll_InternetSetOptionW]
movzx eax, word [edi + 0x2014]
mov edx, dword [edi + 8]
push edi
push 0
push 3
push 0
push 0
push eax
lea ecx, [edi + 0x201c]
push ecx
push edx
mov dword [edi + 0x5480], 1
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0xc], eax
lea ecx, [esp + 0xc]
test eax, eax
je 0x427c1f
call fcn.00409f10
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x4288d0
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push esi
push edi
push 0x3c
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0046dea0
mov esi, dword [esp + 0x58]
push 0x5418
push 0
push esi
call fcn.0046dea0
mov edi, dword [esp + 0x60]
mov eax, 0x400
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], eax
lea eax, [esi + 0x3008]
lea edx, [esi + 0x2808]
mov dword [esp + 0x3c], eax
mov eax, 0x104
lea ecx, [esi + 0x2008]
mov dword [esp + 0x4c], edx
lea edx, [esi + 0x3418]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
lea ecx, [esi + 0x3210]
mov eax, edi
mov dword [esp + 0x54], edx
add esp, 0x18
mov dword [esp + 8], 0x3c
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], 0x1000
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428960
lea ecx, [esp + 8]
push ecx
sub eax, edx
push 0
sar eax, 1
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4289c0
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x428990
cmp eax, 4
jne 0x4289c0
push edi
push 0x1000
push esi
call fcn.0047a12d
mov eax, dword [esp + 0x20]
mov dx, word [esp + 0x2c]
add esp, 0xc
mov dword [esi + 0x2004], eax
pop edi
mov word [esi + 0x2000], dx
mov eax, 1
pop esi
add esp, 0x3c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret
Function at 0x42a1e0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x14], eax
cmp dword [esi], 0
je 0x42a2ba
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
mov dword [esi + 8], eax
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.0040e660
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
xor ecx, ecx
push ecx
mov word [esp + 0x10], ax
mov edx, 0x3a
mov word [esp + 0x12], dx
mov eax, 0x5c
push ecx
lea edx, [esp + 8]
mov word [esp + 0x18], ax
push edx
lea eax, [esp + 0x18]
push eax
mov word [esp + 0x22], cx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42a2ba
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
test eax, eax
ja 0x42a26a
test ecx, ecx
jbe 0x42a2ba
mov edx, dword [esp + 4]
cmp edx, eax
jb 0x42a2ba
ja 0x42a27b
mov edx, dword [esp]
cmp edx, ecx
jbe 0x42a2ba
push 0
mov ecx, eax
lea edx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
push edx
sar ecx, 0x1f
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42a2cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42a2cd
mov eax, dword [esi]
test eax, eax
je 0x42a2ba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
xor eax, eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0046da8a
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x14]
xor ecx, esp
mov eax, 1
call fcn.0046da8a
add esp, 0x1c
ret 8

Function at 0x42a2f0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esp + 0x10]
push 0
mov ecx, eax
lea edx, [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
push edx
sar ecx, 0x1f
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42a325
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42a35f
mov dword [esp + 0xc], 0
test esi, esi
jne 0x42a335
lea esi, [esp + 0xc]
mov edx, dword [esp + 0x14]
push 0
push esi
push ebx
mov dword [esi], 0
mov eax, dword [edi]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42a35f
cmp dword [esi], ebx
jne 0x42a35f
mov eax, 1
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc
Function at 0x42a8c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4c4cc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call fcn.00409dd0
push str..fd.cfg
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.00409e90
mov ecx, dword [esp + 0x20]
lea eax, [esp + 8]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x24], 1
call fcn.00426210
add esp, 0xc
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call fcn.00409f30
lea ecx, [esp + 0xc]
call fcn.00409f10
lea ecx, [esp + 8]
call fcn.00409f10
lea ecx, [esp + 4]
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 4]
call fcn.00409f10
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret 4

Function at 0x42a970
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push edi
mov edi, 1
test eax, eax
je 0x42a997
cmp dword [esi + 0x14], edi
jne 0x42a990
mov dword [esi + 0x14], 0
lea ecx, [esi + 0x10]
push ecx
push eax
call ebx
movzx edx, word [esp + 0xc]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 4]
test eax, eax
je 0x42a9dc
cmp dword [esi + 0x14], edi
jne 0x42a9ba
mov dword [esi + 0x14], 0
lea edi, [esi + 0x10]
push edi
push eax
call ebx
cmp dword [edi], 0x103
jne 0x42a9dc
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 4], 0
mov eax, dword [esi + 0x10]
pop edi
pop ebx
ret 4
Function at 0x42ad80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c2493
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x4fb196], 0
jne 0x42ae0c
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.unlock_info
call fcn.00430790
add esp, 4
test eax, eax
je 0x42ae01
cmp dword [eax + 4], 1
je 0x42ae01
movzx edx, byte [esi + 0x84]
mov ecx, dword [eax]
push edx
movzx edx, byte [ebp + 8]
push edx
push str.enter_UnlockLogic::Connect_manual_d__busying_d_
push 0x44
push str.unlock_sony::UnlockLogic::Connect
push str..UnlockLogic.cpp
push eax
mov eax, dword [ecx + 8]
call eax
add esp, 0x1c
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi + 0x84], 0
jne 0x42ae9d
push 0x34
mov byte [esi + 0x84], 1
call fcn.0046d5f3
add esp, 4
xor edi, edi
cmp eax, edi
je 0x42ae59
mov ecx, dword [esi + 0x88]
mov dword [eax + 0x14], edi
mov dword [eax + 0x30], ecx
lea ecx, [esi + 0x20]
lea edx, [esi + 0x40]
mov dword [eax + 0x18], edi
mov dword [eax + 0x28], edi
mov dword [eax], vtable.unlock_sony::UnlockThread.0
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 0
push edi
push 0x42a9f0
mov dword [esp + 0x30], 0xffffffff
push 0
mov dword [esi + 0x80], edi
mov dword [esp + 0x24], 0
push 0
mov dword [edi + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov dword [edi + 0x10], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [0x4fb196], 0
jne 0x42aeef
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.unlock_info
call fcn.00430790
add esp, 4
test eax, eax
je 0x42aee4
cmp dword [eax + 4], 1
je 0x42aee4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push str.exit_UnlockLogic::Connect__
push 0x4a
push str.unlock_sony::UnlockLogic::Connect
push str..UnlockLogic.cpp
push eax
call edx
add esp, 0x14
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42b210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c2423
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
cmp byte [ebp + 8], 0
mov ebx, ecx
mov eax, 0x4da46c
jne 0x42b259
mov eax, 0x4da470
push eax
lea ecx, [esp + 0x18]
call fcn.00402bc0
mov dword [esp + 0x40], 0
cmp byte [0x4fb196], 0
jne 0x42b2c5
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.unlock_info
call fcn.00430790
add esp, 4
test eax, eax
je 0x42b2ba
cmp dword [eax + 4], 1
je 0x42b2ba
movzx edx, byte [ebx + 0x84]
mov ecx, dword [eax]
push edx
push str.enter_UnlockLogic::UnlockFromNormal_busying_d_
push 0x67
push str.unlock_sony::UnlockLogic::UnlockFromNormal
push str..UnlockLogic.cpp
push eax
mov eax, dword [ecx + 8]
call eax
add esp, 0x18
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebx + 0x84], 0
jne 0x42b34d
push 0x34
mov byte [ebx + 0x84], 1
call fcn.0046d5f3
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x40], 1
test eax, eax
je 0x42b30a
push 0
lea ecx, [ebx + 0x20]
push ecx
mov ecx, dword [ebx + 0x88]
push 3
push eax
lea edi, [esp + 0x24]
mov edx, ebx
call fcn.0043eec0
mov esi, eax
jmp 0x42b30c
xor esi, esi
lea edx, [esp + 0x10]
push edx
push 0
push esi
push 0x42a9f0
mov byte [esp + 0x50], 0
push 0
mov dword [ebx + 0x80], esi
mov dword [esp + 0x24], 0
push 0
mov dword [esi + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov dword [esi + 0x10], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [0x4fb196], 0
jne 0x42b39f
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.unlock_info
call fcn.00430790
add esp, 4
test eax, eax
je 0x42b394
cmp dword [eax + 4], 1
je 0x42b394
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push str.exit_UnlockLogic::UnlockFromNormal__
push 0x6d
push str.unlock_sony::UnlockLogic::UnlockFromNormal
push str..UnlockLogic.cpp
push eax
call edx
add esp, 0x14
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
call fcn.00402c40
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret 4
Function at 0x42b3d0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4c23db
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x1c
mov dword [esp + 0x58], 0
lea eax, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00402c00
call fcn.0042aa00
push 0x4da4f8
lea ecx, [esp + 0x18]
call fcn.00402bc0
mov byte [esp + 0x3c], 1
cmp byte [0x4fb196], 0
mov ebp, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x42b492
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.unlock_info
call fcn.00430790
add esp, 4
test eax, eax
je 0x42b48b
cmp dword [eax + 4], 1
je 0x42b48b
movzx edx, byte [esi + 0x84]
mov ecx, dword [eax]
push edx
push str.enter_UnlockLogic::UnlockFromFastboot_busying_d_
push 0x75
push str.unlock_sony::UnlockLogic::UnlockFromFastboot
push str..UnlockLogic.cpp
push eax
mov eax, dword [ecx + 8]
call eax
add esp, 0x18
push 0x4fb460
call ebp
cmp byte [esi + 0x84], 0
jne 0x42b51a
push 0x34
mov byte [esi + 0x84], 1
call fcn.0046d5f3
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x3c], 2
test eax, eax
je 0x42b4d7
push 0
lea ecx, [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x88]
push 3
push eax
lea edi, [esp + 0x24]
mov edx, esi
call fcn.0043eec0
mov edi, eax
jmp 0x42b4d9
xor edi, edi
lea edx, [esp + 0x10]
push edx
push 0
push edi
push 0x42a9f0
mov byte [esp + 0x4c], 1
push 0
mov dword [esi + 0x80], edi
mov dword [esp + 0x24], 0
push 0
mov dword [edi + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov dword [edi + 0x10], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [0x4fb196], 0
jne 0x42b568
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.unlock_info
call fcn.00430790
add esp, 4
test eax, eax
je 0x42b561
cmp dword [eax + 4], 1
je 0x42b561
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push str.exit_UnlockLogic::UnlockFromFastboot__
push 0x7b
push str.unlock_sony::UnlockLogic::UnlockFromFastboot
push str..UnlockLogic.cpp
push eax
call edx
add esp, 0x14
push 0x4fb460
call ebp
lea ecx, [esp + 0x14]
call fcn.00402c40
lea ecx, [esp + 0x44]
call fcn.00402c40
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046da8a
add esp, 0x30
ret 0x1c
Function at 0x42b5a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c2463
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [0x4fb196], bl
jne 0x42b62c
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.unlock_info
call fcn.00430790
add esp, 4
cmp eax, ebx
je 0x42b621
cmp dword [eax + 4], 1
je 0x42b621
movzx edx, byte [esi + 0x84]
mov ecx, dword [eax]
push edx
push str.enter_UnlockLogic::Reboot_busying_d_
push 0x80
push str.unlock_sony::UnlockLogic::Reboot
push str..UnlockLogic.cpp
push eax
mov eax, dword [ecx + 8]
call eax
add esp, 0x18
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi + 0x84], bl
jne 0x42b6b8
push 0x34
mov byte [esi + 0x84], 1
call fcn.0046d5f3
add esp, 4
cmp eax, ebx
je 0x42b679
mov ecx, dword [esi + 0x88]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x30], ecx
lea ecx, [esi + 0x20]
mov dword [eax], vtable.unlock_sony::UnlockThread.0
mov dword [eax + 0x18], 4
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov edi, eax
jmp 0x42b67b
xor edi, edi
lea edx, [esp + 0x18]
push edx
push ebx
push edi
push 0x42a9f0
mov dword [esp + 0x38], 0xffffffff
push ebx
mov dword [esi + 0x80], edi
mov dword [esp + 0x2c], ebx
push ebx
mov dword [edi + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov dword [edi + 0x10], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [0x4fb196], bl
jne 0x42b70c
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.unlock_info
call fcn.00430790
add esp, 4
cmp eax, ebx
je 0x42b701
cmp dword [eax + 4], 1
je 0x42b701
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push str.exit_UnlockLogic::Reboot__
push 0x86
push str.unlock_sony::UnlockLogic::Reboot
push str..UnlockLogic.cpp
push eax
call edx
add esp, 0x14
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42b990
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 4]
mov dword [esi], vtable.Thread.0
test eax, eax
je 0x42b9d2
cmp dword [esi + 0x14], 1
jne 0x42b9aa
mov dword [esi + 0x14], 0
push edi
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [edi], 0x103
pop edi
jne 0x42b9d2
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 4], 0
push esi
call fcn.0046d0e6
add esp, 4
mov eax, esi
ret