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

Disassembly:
push 0xffffffffffffffff
push 0x4bef6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
xor ebp, ebp
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], ebp
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.Loading_profile_data...
push 0x51ff70
mov ecx, eax
mov dword [esp + 0x80], ebp
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [esp + 0x74], 0xffffffff
je 0x4394fb
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x28], edx
jne 0x4394fb
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x38
call fcn.004ad909
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov dword [esp + 0x74], 1
je 0x439524
mov ecx, eax
call fcn.00402110
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x43952a
mov dword [esp + 0x14], ebp
mov edi, ebp
cmp edi, ebp
mov dword [esp + 0x2c], edi
je 0x439535
inc dword [edi + 4]
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x78], 2
call fcn.0040d4d0
mov ecx, eax
call fcn.0041c180
push 0x5101a8
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x80], 3
call fcn.00403020
add esp, 0xc
mov edx, dword [edi]
push ebp
push eax
mov ecx, edi
mov byte [esp + 0x7c], 4
call dword [edx + 0x1c]
mov bl, al
mov eax, dword [esp + 0x4c]
neg bl
sbb bl, bl
mov esi, 0x10
inc bl
cmp eax, esi
jb 0x439599
mov eax, dword [esp + 0x38]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebp
mov byte [esp + 0x38], 0
mov byte [esp + 0x74], 2
jb 0x4395c2
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004ade5d
add esp, 4
test bl, bl
je 0x439634
lea edx, [esp + 0x18]
push edx
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.Profile_data_not_found
push 0x51ff88
mov ecx, eax
mov byte [esp + 0x80], 5
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov byte [esp + 0x74], 2
je 0x439945
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x28], eax
jne 0x439945
mov edx, dword [ecx]
jmp 0x439941
mov edx, dword [edi]
push 4
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
cmp eax, 1
jl 0x439964
cmp eax, 6
jg 0x439964
cmp eax, ebp
mov dword [esp + 0x18], ebp
jle 0x43981a
push 0x6e8
call fcn.004ad909
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
cmp esi, ebp
mov byte [esp + 0x74], 7
je 0x4396d2
mov eax, 0x4f130c
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebp
mov byte [esp + 0x38], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4396a0
sub eax, edx
push eax
push 0x4f130c
lea ecx, [esp + 0x3c]
call fcn.00402cd0
or dword [esp + 0x10], 1
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov byte [esp + 0x78], 8
call fcn.0043ec10
mov esi, eax
jmp 0x4396d4
xor esi, esi
cmp esi, ebp
mov dword [esp + 0x28], esi
je 0x4396df
inc dword [esi + 4]
test byte [esp + 0x10], 1
mov dword [esp + 0x74], 0xb
je 0x439720
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
and ecx, 0xfffffffe
cmp eax, 0x10
mov dword [esp + 0x10], ecx
jb 0x43970f
mov edx, dword [esp + 0x38]
push edx
call fcn.004ade5d
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebp
mov byte [esp + 0x38], 0
push ecx
mov eax, esp
mov dword [eax], edi
inc dword [edi + 4]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x34], esp
call dword [eax + 8]
test al, al
je 0x4398ab
lea ecx, [esp + 0x20]
push ecx
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push 0x4f4964
lea edx, [esi + 8]
push edx
push str.User_data_loaded_for:__
push 0x51ff70
mov ecx, eax
mov byte [esp + 0x88], 0xd
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403370
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov byte [esp + 0x74], 0xb
je 0x4397b7
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x30], eax
jne 0x4397b7
mov edx, dword [ecx]
push 1
call dword [edx]
mov edi, dword [esp + 0x24]
mov ebp, dword [edi + 0xc]
mov ecx, dword [ebp + 4]
add edi, 8
lea eax, [esp + 0x28]
push eax
push ecx
push ebp
mov ecx, edi
call fcn.0040ea10
push 1
mov ecx, edi
mov ebx, eax
call fcn.00439140
mov dword [ebp + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov byte [esp + 0x74], 2
mov dword [esi + 4], ecx
jne 0x4397ff
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
inc eax
xor ebp, ebp
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x439664
lea ecx, [esp + 0x28]
push ecx
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.Profile_data_loaded_success
push 0x51ff70
mov ecx, eax
mov byte [esp + 0x80], 0xe
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov byte [esp + 0x74], 2
je 0x43987d
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x30], edx
jne 0x43987d
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 4]
dec eax
mov dword [esp + 0x74], 0xffffffff
mov dword [edi + 4], eax
jne 0x439896
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov al, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
lea eax, [esp + 0x24]
push eax
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push 0x51ff63
push str._corrupted_
inc ecx
push ecx
push str.Profile_
push 0x51ff88
mov ecx, eax
mov byte [esp + 0x88], 0xc
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00405a80
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov byte [esp + 0x74], 0xb
je 0x439927
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x30], edx
jne 0x439927
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebp
mov byte [esp + 0x74], 2
je 0x439945
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
cmp eax, ebp
mov dword [esi + 4], ecx
jne 0x439945
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov eax, dword [edi + 4]
dec eax
mov dword [esp + 0x74], 0xffffffff
mov dword [edi + 4], eax
jne 0x4399e0
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x4399e0
lea eax, [esp + 0x28]
push eax
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.Profile_format_is_corrupted
push 0x51ff88
mov ecx, eax
mov byte [esp + 0x80], 6
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov byte [esp + 0x74], 2
je 0x4399c7
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x30], edx
jne 0x4399c7
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 4]
dec eax
mov dword [esp + 0x74], 0xffffffff
mov dword [edi + 4], eax
jne 0x4399e0
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret