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

Disassembly:
push 0xffffffffffffffff
push 0x4bf06d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebp, ebp
push 0x38
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], ebp
call fcn.004ad909
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov dword [esp + 0x80], ebp
je 0x439ce0
mov ecx, eax
call fcn.00402110
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x439ce6
mov dword [esp + 0x14], ebp
mov edi, ebp
cmp edi, ebp
mov dword [esp + 0x2c], edi
je 0x439cf1
inc dword [edi + 4]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x84], 1
call fcn.0040d4d0
mov ecx, eax
call fcn.0041c180
push 0x5101c4
push eax
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x8c], 2
call fcn.00403020
add esp, 0xc
mov edx, dword [edi]
push ebp
push eax
mov ecx, edi
mov byte [esp + 0x88], 3
call dword [edx + 0x1c]
mov bl, al
mov eax, dword [esp + 0x58]
neg bl
sbb bl, bl
inc bl
cmp eax, 0x10
jb 0x439d57
mov eax, dword [esp + 0x44]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
mov byte [esp + 0x80], 1
jb 0x439d84
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004ade5d
add esp, 4
test bl, bl
je 0x439df9
lea edx, [esp + 0x18]
push edx
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.Highscore_data_not_found___creating_random_data
push 0x51ff70
mov ecx, eax
mov byte [esp + 0x8c], 4
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 + 0x80], 1
je 0x43a04d
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 0x43a04d
mov edx, dword [ecx]
jmp 0x43a049
mov eax, dword [esi + 0x10]
cmp eax, ebp
lea ebx, [esi + 0xc]
jne 0x439e07
xor ecx, ecx
jmp 0x439e09
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.00437630
mov edx, dword [edi]
push 4
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call dword [edx + 8]
cmp dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
jg 0x439e70
mov ecx, esi
call fcn.00438070
mov eax, dword [edi + 4]
dec eax
mov dword [esp + 0x80], 0xffffffff
mov dword [edi + 4], eax
jne 0x439e52
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
xor ebp, ebp
lea esp, [esp]
mov edx, dword [edi]
push 4
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call dword [edx + 8]
push 0x2c
call fcn.004ad909
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, ebp
mov byte [esp + 0x80], 5
je 0x439ef7
mov eax, 0x4f130c
mov dword [esp + 0x20], ebp
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439eb7
sub eax, edx
push eax
push 0x4f130c
lea ecx, [esp + 0x48]
call fcn.00402cd0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
or eax, 1
push edx
mov ecx, esi
mov byte [esp + 0x88], 6
mov dword [esp + 0x18], eax
call fcn.0043a7e0
mov esi, eax
jmp 0x439ef9
xor esi, esi
cmp esi, ebp
mov dword [esp + 0x30], esi
je 0x439f04
inc dword [esi + 4]
test byte [esp + 0x10], 1
mov dword [esp + 0x80], 9
je 0x439f48
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
and ecx, 0xfffffffe
cmp eax, 0x10
mov dword [esp + 0x10], ecx
jb 0x439f37
mov eax, dword [esp + 0x44]
push eax
call fcn.004ade5d
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
push ecx
mov eax, esp
mov dword [eax], edi
mov edx, dword [edi + 4]
inc edx
mov ecx, esi
mov dword [esp + 0x38], esp
mov dword [edi + 4], edx
call fcn.0043a760
test al, al
je 0x43a02c
cmp esi, ebp
je 0x439f6e
inc dword [esi + 4]
cmp esi, ebp
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
je 0x439f99
mov edx, dword [esi + 4]
inc edx
mov ecx, edx
dec ecx
mov eax, ecx
cmp eax, ebp
mov dword [esi + 4], edx
mov dword [esi + 4], ecx
jne 0x439f99
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov edi, dword [ebx + 4]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x38]
push eax
push ecx
push edi
mov ecx, ebx
mov byte [esp + 0x8c], 0xa
call fcn.004370f0
push 1
mov ecx, ebx
mov ebp, eax
call fcn.004376d0
test esi, esi
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov byte [esp + 0x80], 9
je 0x439fe9
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 4], ecx
jne 0x439fe9
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test esi, esi
mov byte [esp + 0x80], 1
je 0x43a00a
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 4], ecx
jne 0x43a00a
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x439e67
mov esi, dword [esp + 0x28]
jmp 0x439e2f
cmp esi, ebp
mov byte [esp + 0x80], 1
je 0x43a04d
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
cmp eax, ebp
mov dword [esi + 4], ecx
jne 0x43a04d
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov eax, dword [edi + 4]
dec eax
mov dword [esp + 0x80], 0xffffffff
mov dword [edi + 4], eax
jne 0x43a069
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret