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

Disassembly:
push 0xffffffffffffffff
push 0x4388b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, 0x43a49c
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], ebx
mov ebp, 0x43a4a4
mov dword [esp + 0x8c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x60], ebp
mov eax, dword [0x4400a0]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 4
call fcn.00413520
mov eax, dword [0x4400a0]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x94]
mov byte [esp + 0x8c], 6
cmp esi, edi
jne 0x413071
mov edx, dword [0x4400a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x413008
add eax, 0xfffffff4
push eax
call dword [0x43a228]
test eax, eax
jg 0x413008
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004296a4
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 1
call fcn.00403fa0
lea ecx, [esp + 0x3c]
call fcn.00403fa0
lea ecx, [esp + 0x38]
call fcn.00403fa0
mov dword [esp + 0x60], ebp
push edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 8
call fcn.0040d1a0
push edi
lea ecx, [esp + 0x68]
call fcn.0040d160
lea ecx, [esp + 0x68]
call fcn.0040d280
lea ecx, [esp + 0x64]
call fcn.0040d240
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], ebx
call fcn.0040d290
xor eax, eax
jmp 0x413502
push 0xc
call fcn.0042a10b
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
mov byte [esp + 0x8c], 9
je 0x413099
push str.version1.0_encodingutf_16
mov ecx, eax
call fcn.0040dde0
jmp 0x41309b
xor eax, eax
cmp eax, edi
mov byte [esp + 0x8c], 6
mov dword [esp + 0x18], eax
jne 0x4130b5
push 0x8007000e
call fcn.004296da
mov bl, 0xa
push 0xc
mov byte [esp + 0x90], bl
call fcn.0042a10b
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
mov byte [esp + 0x8c], 0xb
je 0x4130e2
push esi
mov ecx, eax
call fcn.0040dde0
jmp 0x4130e4
xor eax, eax
cmp eax, edi
mov byte [esp + 0x8c], bl
mov dword [esp + 0x14], eax
jne 0x4130fd
push 0x8007000e
call fcn.004296da
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x7c]
push eax
call fcn.0040dc80
lea ecx, [esp + 0x14]
push edi
mov esi, 0x43a4a0
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x94], 0xf
mov dword [esp + 0x78], esi
call fcn.0040e8e0
lea ecx, [esp + 0x14]
call fcn.0040dd90
mov bl, 0x11
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], bl
call fcn.0040dd90
push edi
lea ecx, [esp + 0x78]
call fcn.0040d210
test al, al
je 0x41321b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], esi
call fcn.0040dd90
lea ecx, [esp + 0x78]
call fcn.0040dd90
lea ecx, [esp + 0x74]
call fcn.0040d240
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4400a4]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4131ae
add eax, 0xfffffff4
push eax
call dword [0x43a228]
test eax, eax
jg 0x4131ae
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004296a4
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 1
call fcn.00403fa0
lea ecx, [esp + 0x3c]
call fcn.00403fa0
lea ecx, [esp + 0x38]
call fcn.00403fa0
mov dword [esp + 0x60], ebp
push edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 0x14
call fcn.0040d1a0
push edi
lea ecx, [esp + 0x68]
call fcn.0040d160
lea ecx, [esp + 0x68]
call fcn.0040d280
lea ecx, [esp + 0x64]
call fcn.0040d240
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0x43a49c
call fcn.0040d290
xor eax, eax
jmp 0x413502
push 0xc
call fcn.0042a10b
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
mov byte [esp + 0x8c], 0x15
je 0x413243
push str.Unlock_UIConfig_Prompt_PromptItem
mov ecx, eax
call fcn.0040dde0
jmp 0x413245
xor eax, eax
cmp eax, edi
mov byte [esp + 0x8c], bl
mov dword [esp + 0x1c], eax
jne 0x41325e
push 0x8007000e
call fcn.004296da
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x78]
mov byte [esp + 0x94], 0x16
call fcn.0040efb0
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 8]
push edx
lea ecx, [esp + 0x50]
call fcn.00414130
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0x43a49c
call fcn.0040d290
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], bl
call fcn.0040dd90
mov eax, dword [esp + 0x48]
xor ebp, ebp
cmp eax, edi
mov dword [esp + 0x34], eax
jle 0x4134ad
push 0x444d64
lea ecx, [esp + 0x3c]
call fcn.0040a520
push 0x444d64
lea ecx, [esp + 0x40]
call fcn.0040a520
push 0x444d64
lea ecx, [esp + 0x44]
call fcn.0040a520
lea eax, [esp + 0x50]
push ebp
push eax
lea ecx, [esp + 0x4c]
call fcn.0040e310
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x90], 0x17
call fcn.00412790
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c], bl
call fcn.0040df30
push str.Used
lea ecx, [esp + 0x20]
call fcn.0040dca0
lea ecx, [esp + 0x20]
push edi
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x18
mov dword [esp + 0x2c], edi
call fcn.00415280
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], bl
call fcn.0040dd90
cmp dword [esp + 0x20], edi
je 0x4134a0
push str.Name
lea ecx, [esp + 0x28]
call fcn.0040dca0
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x19
call fcn.0040e070
lea ecx, [esp + 0x24]
mov esi, eax
mov byte [esp + 0x8c], bl
call fcn.0040dd90
cmp esi, edi
je 0x4134a0
lea ecx, [esp + 0x10]
call fcn.00414f20
lea ecx, [esp + 0x10]
call fcn.00414e20
lea edx, [esp + 0x10]
lea ecx, [esp + 0x38]
push edx
call fcn.00414a30
push str.PictureName
lea ecx, [esp + 0x2c]
call fcn.0040dca0
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x1a
call fcn.0040e070
lea ecx, [esp + 0x28]
mov esi, eax
mov byte [esp + 0x8c], bl
call fcn.0040dd90
cmp esi, edi
je 0x4134a0
lea ecx, [esp + 0x10]
call fcn.00414f20
lea ecx, [esp + 0x10]
call fcn.00414e20
lea edx, [esp + 0x10]
lea ecx, [esp + 0x3c]
push edx
call fcn.00414a30
push str.TextName
lea ecx, [esp + 0x30]
call fcn.0040dca0
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x1b
call fcn.0040e070
lea ecx, [esp + 0x2c]
mov esi, eax
mov byte [esp + 0x8c], bl
call fcn.0040dd90
cmp esi, edi
je 0x4134a0
lea ecx, [esp + 0x10]
call fcn.00414f20
lea ecx, [esp + 0x10]
call fcn.00414e20
lea edx, [esp + 0x10]
lea ecx, [esp + 0x40]
push edx
call fcn.00414a30
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
lea ecx, [eax + 0x20]
mov eax, dword [eax + 0x28]
push eax
call fcn.004145c0
mov eax, dword [esp + 0x34]
inc ebp
cmp ebp, eax
jl 0x4132c0
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 6
call fcn.0040e830
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 5
call fcn.00403fa0
lea ecx, [esp + 0x38]
call fcn.00410cc0
lea ecx, [esp + 0x60]
mov byte [esp + 0x8c], 0
call fcn.0040df30
lea ecx, [esp + 0x44]
mov dword [esp + 0x8c], 0xffffffff
call fcn.0040e2f0
mov eax, 1
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 4