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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x13a1444
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x1c], 0
cmp dword [ebx + 0x28], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
je 0x1247e84
mov eax, ebx
call fcn.01247610
mov dword [esp + 0x20], eax
test eax, eax
je 0x1247e84
mov edi, dword [eax + 0x14]
call fcn.012eee00
xor edi, edi
cmp esi, edi
je 0x1247e61
cmp dword [esi + 0x30], edi
jne 0x12479a7
mov eax, dword [esi + 0x78]
shr eax, 5
test al, 1
je 0x1247e61
add ebx, 0x3c
cmp esi, ebx
je 0x12479bf
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
push esi
mov ecx, ebx
call fcn.01208a30
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], edi
mov byte [esp + 0x74], 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xdc], edi
call fcn.012f0660
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 1
call fcn.01265100
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 0
call fcn.012646c0
fldz
cmp dword [esp + 0x88], 0x10
fst qword [esp + 0x24]
mov eax, dword [esp + 0x74]
fst qword [esp + 0x2c]
fstp qword [esp + 0x34]
jae 0x1247a2e
lea eax, [esp + 0x74]
push eax
xor edx, edx
lea ecx, [esp + 0x28]
call fcn.01268580
mov eax, dword [esi + 0x30]
add esp, 4
xor ebx, ebx
test eax, eax
jle 0x1247c4a
lea ebx, [ebx]
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + ebx*4]
mov edi, dword [eax + 0xc]
test edi, edi
jne 0x1247a65
mov eax, dword [0x141d6f4]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
call fcn.011e9870
xor ecx, ecx
mov byte [esp + 0xd8], 3
cmp dword [esp + 0x68], ecx
jne 0x1247ac2
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + ebx*4]
mov edi, dword [eax + 0x20]
cmp edi, ecx
jne 0x1247ab0
mov eax, dword [0x141d6f4]
mov edi, dword [eax + 0x20]
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.011e9870
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 5
call fcn.01246760
add esp, 4
cmp ebx, dword [esi + 0x14]
jge 0x1247bab
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
mov byte [esp + 0xd8], 6
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + ebx*4]
push 1
lea edi, [esp + 0x94]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edx
call fcn.012548c0
add esp, 4
push 0x13bcbf8
mov eax, edi
push eax
lea ecx, [esp + 0xb4]
push ecx
call fcn.012345b0
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x5c]
mov ecx, eax
mov byte [esp + 0xdc], 8
call fcn.01246ae0
mov esi, 0x10
add esp, 4
mov byte [esp + 0xd8], 6
cmp dword [esp + 0xc0], esi
jb 0x1247b8a
mov eax, dword [esp + 0xac]
push eax
call fcn.01328a36
add esp, 4
mov byte [esp + 0xd8], 5
cmp dword [esp + 0xa4], esi
jb 0x1247bab
mov ecx, dword [esp + 0x90]
push ecx
call fcn.01328a36
add esp, 4
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x14]
lea eax, [esp + 0x58]
push eax
push ebx
push esi
call fcn.012eee80
lea ecx, [esp + 0x24]
push ecx
push ecx
add esi, 0x1a0
push esi
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.012f2450
add esp, 4
mov esi, eax
call fcn.0129e030
mov byte [esp + 0xd8], 3
mov esi, dword [esp + 0x24]
xor eax, eax
cmp esi, eax
je 0x1247c12
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
push edx
mov eax, esi
call fcn.0124a8e0
add esp, 4
push esi
call fcn.01328a36
add esp, 4
xor eax, eax
mov byte [esp + 0xd8], 0
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
jb 0x1247c3a
mov eax, dword [esp + 0x58]
push eax
call fcn.01328a36
add esp, 4
mov ecx, dword [esp + 0x14]
inc ebx
mov esi, ecx
cmp ebx, dword [ecx + 0x30]
jl 0x1247a50
mov ebx, dword [esp + 0x18]
mov dl, byte [ebx + 0xaf]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x18], dl
mov eax, dword [esp + 0x18]
push eax
call fcn.01262490
cmp dword [esi + 0x30], 0
je 0x1247c82
mov eax, dword [esi + 0x64]
push eax
push ecx
mov eax, ebx
call fcn.01247610
add esp, 4
mov ecx, eax
call fcn.012f1160
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0xd8], 9
mov ecx, dword [esi + 0x78]
shr ecx, 5
test cl, 1
je 0x1247cd6
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x1247cba
mov edx, dword [0x141d6f8]
mov eax, dword [edx + 0x50]
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x48]
call fcn.011e9870
cmp dword [esp + 0x50], 0x10
mov ecx, dword [esp + 0x3c]
jae 0x1247cda
lea ecx, [esp + 0x3c]
mov eax, dword [ebx + 0x28]
push ecx
push eax
call fcn.012f6210
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1247d68
mov eax, dword [eax]
test eax, eax
je 0x1247d68
mov edi, dword [eax + 4]
mov ecx, str.candidate_list_page_up
call fcn.01259ef0
mov edi, eax
test edi, edi
je 0x1247d68
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push 0xb6fb01fd
push 0x48134377
mov ecx, edi
call edx
test al, al
je 0x1247d68
mov eax, dword [esi + 0x78]
shr eax, 0xc
test al, 1
je 0x1247d38
cmp dword [esi + 0x6c], 0
je 0x1247d38
mov al, 1
jmp 0x1247d3a
xor al, al
mov ecx, dword [edi + 0x10]
mov dl, byte [ecx + 0x19c]
shr dl, 1
and dl, 1
cmp dl, al
je 0x1247d68
add al, al
xor al, byte [ecx + 0x19c]
and al, 2
xor byte [ecx + 0x19c], al
mov esi, dword [edi + 0x10]
call fcn.0125ffb0
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1247df1
mov eax, dword [eax]
test eax, eax
je 0x1247df1
mov edi, dword [eax + 4]
mov ecx, str.candidate_list_page_down
call fcn.01259ef0
mov edi, eax
test edi, edi
je 0x1247df1
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push 0xb6fb01fd
push 0x48134377
mov ecx, edi
call edx
test al, al
je 0x1247df1
mov eax, dword [esi + 0x78]
shr eax, 0xb
test al, 1
je 0x1247dc5
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
mov esi, dword [esi + 0x30]
add esi, ecx
cmp eax, esi
jbe 0x1247dc5
mov al, 1
jmp 0x1247dc7
xor al, al
mov ecx, dword [edi + 0x10]
mov dl, byte [ecx + 0x19c]
shr dl, 1
and dl, 1
cmp dl, al
je 0x1247df1
add al, al
xor al, byte [ecx + 0x19c]
and al, 2
xor byte [ecx + 0x19c], al
mov esi, dword [edi + 0x10]
call fcn.0125ffb0
mov esi, ebx
call fcn.01248210
cmp byte [ebx + 0xd7], 0
je 0x1247e09
mov esi, dword [ebx + 0x34]
call fcn.01246d90
mov esi, 0x10
mov byte [esp + 0xd8], 0
cmp dword [esp + 0x50], esi
jb 0x1247e29
mov eax, dword [esp + 0x3c]
push eax
call fcn.01328a36
add esp, 4
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x88], esi
jb 0x1247e84
mov ecx, dword [esp + 0x74]
push ecx
call fcn.01328a36
add esp, 4
jmp 0x1247e84
mov edx, dword [ebx + 0x3c]
mov eax, dword [edx + 0xc]
lea ecx, [ebx + 0x3c]
call eax
test esi, esi
je 0x1247e7d
mov esi, dword [esi + 8]
or dword [ebx + 0xb4], 1
mov dword [ebx + 0x44], esi
mov esi, ebx
call fcn.01248210
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.01328a41
mov esp, ebp
pop ebp
ret 4