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

Disassembly:
push 0xffffffffffffffff
push 0x43a75e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x2d4]
mov dword [esp + 0x44], esi
call fcn.0041bd20
mov al, byte [esp + 0x13]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x3e4], ebx
mov byte [esp + 0x64], al
call fcn.00402f80
lea ecx, [esp + 0x14]
push ebx
push ecx
mov byte [esp + 0x3e8], 1
call fcn.004190d0
add esp, 8
mov edx, dword [0x43d31c]
lea ecx, [esp + 0x60]
push edx
push ebx
push eax
mov byte [esp + 0x3ec], 2
call fcn.00402d80
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e4], 1
call fcn.00402f80
xor ebp, ebp
push ebp
lea eax, [esp + 0x1d4]
push str.settingsplayer_newplayerini_02d.ini
push eax
call fcn.0042bc76
lea ecx, [esp + 0x1dc]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.004124d0
add esp, 0x18
mov eax, dword [esi]
mov byte [esp + 0x3e0], 3
cmp eax, ebx
jne 0x41297b
push 0x1388
call fcn.0042b765
add esp, 4
mov dword [esi], eax
mov edi, dword [esi]
mov ecx, 0x4e2
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x412993
mov eax, 0x43d2fc
mov ecx, dword [esi]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00412e70
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e4], 1
call fcn.00402f80
inc ebp
add esi, 4
cmp ebp, 0xa
jl 0x412931
lea edx, [esp + 0x60]
push str.settingsplayer_revivalid.ini
lea eax, [esp + 0x78]
push edx
push eax
call fcn.004124d0
add esp, 0xc
lea ecx, [esp + 0xcc]
mov byte [esp + 0x3e0], 4
call fcn.0041bd20
mov eax, dword [esp + 0x78]
mov byte [esp + 0x3e0], 5
cmp eax, ebx
jne 0x412a00
mov eax, 0x43d2fc
push eax
lea ecx, [esp + 0xd0]
call fcn.0041bd80
mov cl, byte [esp + 0x13]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x34], cl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea edx, [esp + 0x34]
lea ecx, [esp + 0xcc]
push edx
mov byte [esp + 0x3e4], 6
call fcn.0041bf40
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov esi, eax
cmp eax, ecx
mov dword [esp + 0x48], esi
je 0x412c25
mov al, byte [esi]
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00402f80
mov ecx, dword [0x43d31c]
push ecx
push ebx
push esi
lea ecx, [esp + 0x20]
call fcn.00402d80
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x3e0], 7
cmp eax, ebx
je 0x412bfb
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x412a93
mov eax, 0x43d2fc
push eax
call fcn.0042c549
mov ebp, eax
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
jne 0x412aab
mov eax, 0x43d2fc
push ebx
push str.Count
push eax
lea ecx, [esp + 0xd8]
call fcn.0041bdb0
mov edi, eax
cmp edi, ebx
jle 0x412bfb
mov dl, byte [esp + 0x13]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x24], dl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
xor esi, esi
cmp edi, ebx
mov byte [esp + 0x3e0], 8
jle 0x412b41
push esi
lea eax, [esp + 0x90]
push str.RevivalId_2.2d
push eax
call fcn.0042bc76
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
jne 0x412b0d
mov eax, 0x43d2fc
lea ecx, [esp + 0x8c]
push ebx
push ecx
push eax
lea ecx, [esp + 0xd8]
call fcn.0041bdb0
lea edx, [esp + 0x70]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
push edx
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.00413610
inc esi
cmp esi, edi
jl 0x412aea
mov cl, byte [esp + 0x24]
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x50], cl
lea ecx, [esp + 0x24]
call fcn.00413590
cmp eax, ebx
jge 0x412b5c
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.0042b765
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x54], eax
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00413830
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x84]
push edx
push eax
add ecx, 0x28
mov byte [esp + 0x3e8], 9
call fcn.00413860
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x3e8], 8
call fcn.00413820
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0041c7f6
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], ebx
push edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.0041c7f6
mov esi, dword [esp + 0x50]
add esp, 8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e4], 6
call fcn.00402f80
mov ecx, dword [esp + 0x3c]
add esi, 0x10
cmp esi, ecx
mov dword [esp + 0x48], esi
jne 0x412a50
mov eax, dword [esp + 0x38]
cmp eax, ecx
mov byte [esp + 0x3e0], 5
mov edi, ecx
mov esi, eax
je 0x412c48
push ebx
mov ecx, esi
call fcn.00414600
add esi, 0x10
cmp esi, edi
jne 0x412c35
mov eax, dword [esp + 0x38]
push eax
call fcn.0041c7f6
add esp, 4
lea ecx, [esp + 0xcc]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x3e0], 4
call fcn.0041bd70
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x3e4], 1
call fcn.00402f80
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x412ca9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x412ca0
cmp al, 0xff
je 0x412ca0
dec al
mov byte [ecx], al
jmp 0x412ca9
push ecx
call fcn.0041c7f6
add esp, 4
lea ecx, [esp + 0x2d4]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x3e0], 0xffffffff
call fcn.0041bd70
mov ecx, dword [esp + 0x3d8]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x3d4
ret