Function at 0x43fe80
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x64dff0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 4], 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.CPlayerManager::LoadPlayerData
push str.__s__:_path__s___name__s_
call fcn.00404190
push eax
call fcn.00425940
add esp, 0x14
lea eax, [ebp + 8]
lea esi, [edi + 0x2c]
mov ecx, esi
push eax
call fcn.00403f70
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [edi + 0x30]
call fcn.00403f70
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.0047ea67
lea eax, [edi + 0x30]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.0041ad30
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x8c]
or esi, 0xffffffff
mov dword [ebp - 0x80], eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x43ff54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x44030b
lea eax, [edi + 0x30]
push eax
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041ad30
add esp, 0xc
push 0
push 0x8010
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push dword [eax]
call fcn.0047ef63
test eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x80]
mov eax, esi
sete byte [ebp - 0x79]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ffa9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x79], 0
je 0x440015
call fcn.00404190
push str.CPlayerManager::LoadPlayerData
push str.__s__:_open_fail
push eax
call fcn.00425940
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.0047ea98
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ffed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4401ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4401ae
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.0047ee9d
test edx, edx
ja 0x44009e
jb 0x44002f
cmp eax, 1
jae 0x44009e
push str.CPlayerManager::LoadPlayerData
push str.__s__:_file_size_zero
call fcn.00404190
push eax
call fcn.00425940
add esp, 0xc
mov ecx, edi
call fcn.0043edd0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x79], al
call fcn.0047ea98
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x440077
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x440096
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x79]
jmp 0x4401b0
push 0x3c
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 6
push 0
push eax
call fcn.005a7a20
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.00402f40
push ecx
mov ecx, esp
mov byte [ebp - 4], 7
push 0x61c5e8
call fcn.00406cf0
lea ecx, [ebp - 0x78]
call fcn.004030f0
test al, al
jne 0x440103
call fcn.00404190
push str.CPlayerManager::LoadPlayerData
push str.__s__:_crypto.DeriveKey_fail
push eax
call fcn.00425940
add esp, 0xc
mov ecx, edi
call fcn.0043bee0
lea ecx, [ebp - 0x78]
call fcn.00403070
jmp 0x43ffc7
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
call fcn.0045f9b7
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0047ee9d
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x80], edx
call fcn.0045fae2
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.0047ee9d
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x80], edx
call fcn.0047f139
lea ecx, [ebp - 0x28]
call fcn.0047ed22
lea eax, [edi + 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x78]
call fcn.00403280
test al, al
jne 0x4401ce
call fcn.00404190
push str.CPlayerManager::LoadPlayerData
push str.__s__:_Decrypt_fail
push eax
call fcn.00425940
add esp, 0xc
mov ecx, edi
call fcn.0043bee0
lea ecx, [ebp - 0x3c]
call fcn.0045f9ce
lea ecx, [ebp - 0x78]
call fcn.00403070
lea ecx, [ebp - 0x28]
call fcn.0047ea98
lea ecx, [ebp + 8]
call fcn.00404030
lea ecx, [ebp + 0xc]
call fcn.00404030
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a3521
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x28]
call fcn.004819ee
push eax
push 0x61b534
call fcn.0041ac70
add esp, 8
mov byte [ebp - 0x79], al
lea ecx, [ebp - 0x80]
call fcn.00404030
cmp byte [ebp - 0x79], 0
je 0x440201
lea ecx, [ebp - 0x28]
call fcn.0047ed22
mov esi, dword [edi + 0x54]
test esi, esi
je 0x44021b
mov eax, dword [esi + 8]
lea ecx, [edi + 0x6c]
mov esi, dword [esi]
add eax, 0x1c
push eax
call fcn.004467a0
jmp 0x440204
push dword [edi + 0x70]
push dword [edi + 0x6c]
call fcn.00446a30
mov eax, dword [edi + 0x70]
add esp, 8
sub eax, dword [edi + 0x6c]
sar eax, 2
test eax, eax
je 0x440257
mov eax, dword [edi + 0x70]
lea ecx, [edi + 0x6c]
sub eax, dword [edi + 0x6c]
sar eax, 2
dec eax
push eax
call fcn.00446810
sub esp, 0x18
mov ecx, esp
mov edx, dword [eax]
call fcn.00448390
jmp 0x440266
sub esp, 0x18
mov ecx, esp
push 0x62144c
call fcn.00409140
lea ecx, [edi + 0x88]
call fcn.0043a9e0
add esp, 0x18
lea ecx, [ebp - 0x3c]
call fcn.0045f9ce
lea ecx, [ebp - 0x78]
call fcn.00403070
lea ecx, [ebp - 0x28]
call fcn.0047ea98
lea ecx, [ebp + 8]
call fcn.00404030
lea ecx, [ebp + 0xc]
call fcn.00404030
mov al, 1
jmp 0x4401b0
mov ecx, edi
call fcn.0043edd0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x79], al
call fcn.0047ea98
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x44033b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x44035a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x79]
jmp 0x4401b0