Function at 0x502f38
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x908
mov ecx, dword [0x63a1e8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x5ac]
xor ecx, ebp
mov dword [esp + 0x900], ecx
lea ecx, [esp + 0x108]
push ecx
push 0x354
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x503299
cmp dword [esp + 0x108], 0x354
jne 0x5032ee
lea ecx, [esp + 0x44]
lea eax, [esp + 0x1b8]
push ecx
push 0x3f4
push eax
push dword [esp + 0x5d8]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x50333d
cmp dword [esp + 0x44], 0x3f4
jne 0x50339f
mov ebx, dword [ebp + 0x14]
lea edx, [esp + 0x228]
mov ecx, esi
lea eax, [ebx + 0xc]
push eax
call fcn.00504461
add esp, 4
test al, al
je 0x503405
lea ecx, [esp + 0x44]
lea eax, [esp + 0xc8]
push ecx
push 0x40
push eax
push dword [esp + 0x5d0]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x50341f
cmp dword [esp + 0x44], 0x40
jne 0x503470
xor eax, eax
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 4], eax
lea eax, [esp + 0x1b4]
push eax
push 0x84
lea eax, [esp + 0x4c]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x503234
lea eax, [ebx + 0x28]
lea ecx, [ebx + 0x34]
mov dword [esp + 8], ecx
mov dword [esp], eax
cmp dword [esp + 0x1b4], 0x84
jne 0x5034bb
lea eax, [esp + 0x18]
mov dword [esp + 0x14], edi
mov ecx, esi
lea edx, [esp + 0x8c]
push eax
call fcn.00504461
add esp, 4
test al, al
jne 0x5030d2
lea ecx, [esp + 0x18]
push 0x5d6ca2
call fcn.00478ea0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x2c], ecx
mov ecx, 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edi
mov edi, ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov ebx, dword [ebx + 0x2c]
mov ecx, dword [edi + 0x30]
cmp ebx, ecx
je 0x50314b
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.00478694
lea eax, [esp + 0x28]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ebx + 0x10], xmm0
movsd qword [ebx + 0x18], xmm1
movsd xmm0, qword [eax + 0x10]
movsd qword [ebx + 0x20], xmm0
add ebx, 0x28
mov dword [edi + 0x2c], ebx
mov ebx, edi
jmp 0x5031ee
mov eax, dword [esp]
mov edi, dword [eax]
sub ebx, edi
sar ebx, 3
imul eax, ebx, 0xcccccccd
lea edx, [eax + 1]
cmp edx, 0x6666667
jae 0x50353b
sub ecx, edi
sar ecx, 3
imul ecx, ecx, 0xcccccccd
lea edi, [ecx + ecx]
cmp edi, edx
cmovb edi, edx
cmp ecx, 0x3333333
mov ecx, 0x6666666
cmovae edi, ecx
lea ecx, [esp + 0x108]
push dword [esp + 8]
push eax
push edi
mov edi, ecx
call fcn.0040e7b4
mov ebx, dword [esp + 0x110]
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.00478694
lea eax, [esp + 0x28]
mov ecx, dword [esp]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ebx + 0x10], xmm0
movsd qword [ebx + 0x18], xmm1
movsd xmm0, qword [eax + 0x10]
movsd qword [ebx + 0x20], xmm0
add dword [esp + 0x110], 0x28
push edi
call fcn.0050458e
mov ecx, edi
call fcn.00504622
mov ebx, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
xor eax, dword [esp + 0xc]
xor ecx, dword [esp + 0x10]
or ecx, eax
je 0x503521
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esp + 4], eax
lea eax, [esp + 0x1b4]
push eax
push 0x84
lea eax, [esp + 0x4c]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x503095
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x503521
call fcn.00482ea0
lea esi, [esp + 0x108]
mov ecx, esi
push eax
push 2
push 0x76
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00482fd0
lea eax, [esp + 0x110]
push 0x12
push 0x5d6caa
push eax
call fcn.00401baa
add esp, 0xc
push 0xbe
push str.bool___cdecl_crashpad::_anonymous_namespace_::ReadStruct_HANDLE__crashpad::WinVMAddress__T____T__crashpad::process_types::LDR_DATA_TABLE_ENTRY_crashpad::process_types::internal::Traits64__
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.00483090
jmp 0x503521
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x503405
call fcn.00482ea0
lea esi, [esp + 0x1b8]
mov ecx, esi
push eax
push 2
push 0x76
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00482fd0
lea eax, [esp + 0x1c0]
push 0x12
push 0x5d6caa
push eax
call fcn.00401baa
add esp, 0xc
push 0xad
push str.bool___cdecl_crashpad::_anonymous_namespace_::ReadStruct_HANDLE__crashpad::WinVMAddress__T____T__crashpad::process_types::PEB_crashpad::process_types::internal::Traits64__
jmp 0x50338d
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x503405
lea esi, [esp + 0x1b8]
mov ecx, esi
push 2
push 0x7a
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00482590
lea eax, [esp + 0x1c0]
push 0x12
push 0x5d6caa
push eax
call fcn.00401baa
add esp, 0xc
push 0xad
push str.bool___cdecl_crashpad::_anonymous_namespace_::ReadStruct_HANDLE__crashpad::WinVMAddress__T____T__crashpad::process_types::PEB_crashpad::process_types::internal::Traits64__
jmp 0x5033e5
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x503405
call fcn.00482ea0
lea esi, [esp + 0x108]
mov ecx, esi
push eax
push 2
push 0x76
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00482fd0
lea eax, [esp + 0x110]
push 0x12
push 0x5d6caa
push eax
call fcn.00401baa
add esp, 0xc
push 0xc5
push str.bool___cdecl_crashpad::_anonymous_namespace_::ReadStruct_HANDLE__crashpad::WinVMAddress__T____T__crashpad::process_types::RTL_USER_PROCESS_PARAMETERS_crashpad::process_types::internal::Traits64__
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.00483090
jmp 0x503405
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x503405
lea esi, [esp + 0x108]
mov ecx, esi
push 2
push 0x7a
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00482590
lea eax, [esp + 0x110]
push 0x12
push 0x5d6caa
push eax
call fcn.00401baa
add esp, 0xc
push 0xc5
push str.bool___cdecl_crashpad::_anonymous_namespace_::ReadStruct_HANDLE__crashpad::WinVMAddress__T____T__crashpad::process_types::RTL_USER_PROCESS_PARAMETERS_crashpad::process_types::internal::Traits64__
push eax
call fcn.00401baa
add esp, 0xc
push 0xf
push str._incorrect_size
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.00482940
xor ebx, ebx
mov ecx, dword [esp + 0x900]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x503405
call fcn.00482ea0
lea esi, [esp + 0x108]
mov ecx, esi
push eax
push 2
push 0x76
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00482fd0
lea eax, [esp + 0x110]
push 0x12
push 0x5d6caa
push eax
call fcn.00401baa
add esp, 0xc
push 0xb6
push str.bool___cdecl_crashpad::_anonymous_namespace_::ReadStruct_HANDLE__crashpad::WinVMAddress__T____T__crashpad::process_types::PEB_LDR_DATA_crashpad::process_types::internal::Traits64__
jmp 0x50338d
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x503405
lea esi, [esp + 0x108]
mov ecx, esi
push 2
push 0x7a
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00482590
lea eax, [esp + 0x110]
push 0x12
push 0x5d6caa
push eax
call fcn.00401baa
add esp, 0xc
push 0xb6
push str.bool___cdecl_crashpad::_anonymous_namespace_::ReadStruct_HANDLE__crashpad::WinVMAddress__T____T__crashpad::process_types::PEB_LDR_DATA_crashpad::process_types::internal::Traits64__
jmp 0x5033e5
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x503521
lea esi, [esp + 0x108]
mov ecx, esi
push 2
push 0x7a
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00482590
lea eax, [esp + 0x110]
push 0x12
push 0x5d6caa
push eax
call fcn.00401baa
add esp, 0xc
push 0xbe
push str.bool___cdecl_crashpad::_anonymous_namespace_::ReadStruct_HANDLE__crashpad::WinVMAddress__T____T__crashpad::process_types::LDR_DATA_TABLE_ENTRY_crashpad::process_types::internal::Traits64__
push eax
call fcn.00401baa
add esp, 0xc
push 0xf
push str._incorrect_size
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.00482940
cmp byte [esp + 0x23], 0
jns 0x503534
push dword [esp + 0x18]
call fcn.005909b6
add esp, 4
mov bl, 1
jmp 0x503407
mov ecx, dword [esp]
call fcn.00479c7c