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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b1444
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x5116ec]
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 0x357e84
mov eax, ebx
call fcn.00357610
mov dword [esp + 0x20], eax
test eax, eax
je 0x357e84
mov edi, dword [eax + 0x14]
call fcn.003fee00
xor edi, edi
cmp esi, edi
je 0x357e61
cmp dword [esi + 0x30], edi
jne 0x3579a7
mov eax, dword [esi + 0x78]
shr eax, 5
test al, 1
je 0x357e61
add ebx, 0x3c
cmp esi, ebx
je 0x3579bf
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
push esi
mov ecx, ebx
call fcn.00318a30
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.00400660
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 1
call fcn.00375100
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 0
call fcn.003746c0
fldz
cmp dword [esp + 0x88], 0x10
fst qword [esp + 0x24]
mov eax, dword [esp + 0x74]
fst qword [esp + 0x2c]
fstp qword [esp + 0x34]
jae 0x357a2e
lea eax, [esp + 0x74]
push eax
xor edx, edx
lea ecx, [esp + 0x28]
call fcn.00378580
mov eax, dword [esi + 0x30]
add esp, 4
xor ebx, ebx
test eax, eax
jle 0x357c4a
lea ebx, [ebx]
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + ebx*4]
mov edi, dword [eax + 0xc]
test edi, edi
jne 0x357a65
mov eax, dword [0x52d6f4]
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.002f9870
xor ecx, ecx
mov byte [esp + 0xd8], 3
cmp dword [esp + 0x68], ecx
jne 0x357ac2
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + ebx*4]
mov edi, dword [eax + 0x20]
cmp edi, ecx
jne 0x357ab0
mov eax, dword [0x52d6f4]
mov edi, dword [eax + 0x20]
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.002f9870
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.00356760
add esp, 4
cmp ebx, dword [esi + 0x14]
jge 0x357bab
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.003648c0
add esp, 4
push 0x4ccbf8
mov eax, edi
push eax
lea ecx, [esp + 0xb4]
push ecx
call fcn.003445b0
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x5c]
mov ecx, eax
mov byte [esp + 0xdc], 8
call fcn.00356ae0
mov esi, 0x10
add esp, 4
mov byte [esp + 0xd8], 6
cmp dword [esp + 0xc0], esi
jb 0x357b8a
mov eax, dword [esp + 0xac]
push eax
call fcn.00438a36
add esp, 4
mov byte [esp + 0xd8], 5
cmp dword [esp + 0xa4], esi
jb 0x357bab
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00438a36
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.003fee80
lea ecx, [esp + 0x24]
push ecx
push ecx
add esi, 0x1a0
push esi
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.00402450
add esp, 4
mov esi, eax
call fcn.003ae030
mov byte [esp + 0xd8], 3
mov esi, dword [esp + 0x24]
xor eax, eax
cmp esi, eax
je 0x357c12
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
push edx
mov eax, esi
call fcn.0035a8e0
add esp, 4
push esi
call fcn.00438a36
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 0x357c3a
mov eax, dword [esp + 0x58]
push eax
call fcn.00438a36
add esp, 4
mov ecx, dword [esp + 0x14]
inc ebx
mov esi, ecx
cmp ebx, dword [ecx + 0x30]
jl 0x357a50
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.00372490
cmp dword [esi + 0x30], 0
je 0x357c82
mov eax, dword [esi + 0x64]
push eax
push ecx
mov eax, ebx
call fcn.00357610
add esp, 4
mov ecx, eax
call fcn.00401160
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 0x357cd6
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x357cba
mov edx, dword [0x52d6f8]
mov eax, dword [edx + 0x50]
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x48]
call fcn.002f9870
cmp dword [esp + 0x50], 0x10
mov ecx, dword [esp + 0x3c]
jae 0x357cda
lea ecx, [esp + 0x3c]
mov eax, dword [ebx + 0x28]
push ecx
push eax
call fcn.00406210
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x357d68
mov eax, dword [eax]
test eax, eax
je 0x357d68
mov edi, dword [eax + 4]
mov ecx, str.candidate_list_page_up
call fcn.00369ef0
mov edi, eax
test edi, edi
je 0x357d68
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push 0xb6fb01fd
push 0x48134377
mov ecx, edi
call edx
test al, al
je 0x357d68
mov eax, dword [esi + 0x78]
shr eax, 0xc
test al, 1
je 0x357d38
cmp dword [esi + 0x6c], 0
je 0x357d38
mov al, 1
jmp 0x357d3a
xor al, al
mov ecx, dword [edi + 0x10]
mov dl, byte [ecx + 0x19c]
shr dl, 1
and dl, 1
cmp dl, al
je 0x357d68
add al, al
xor al, byte [ecx + 0x19c]
and al, 2
xor byte [ecx + 0x19c], al
mov esi, dword [edi + 0x10]
call fcn.0036ffb0
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x357df1
mov eax, dword [eax]
test eax, eax
je 0x357df1
mov edi, dword [eax + 4]
mov ecx, str.candidate_list_page_down
call fcn.00369ef0
mov edi, eax
test edi, edi
je 0x357df1
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push 0xb6fb01fd
push 0x48134377
mov ecx, edi
call edx
test al, al
je 0x357df1
mov eax, dword [esi + 0x78]
shr eax, 0xb
test al, 1
je 0x357dc5
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
mov esi, dword [esi + 0x30]
add esi, ecx
cmp eax, esi
jbe 0x357dc5
mov al, 1
jmp 0x357dc7
xor al, al
mov ecx, dword [edi + 0x10]
mov dl, byte [ecx + 0x19c]
shr dl, 1
and dl, 1
cmp dl, al
je 0x357df1
add al, al
xor al, byte [ecx + 0x19c]
and al, 2
xor byte [ecx + 0x19c], al
mov esi, dword [edi + 0x10]
call fcn.0036ffb0
mov esi, ebx
call fcn.00358210
cmp byte [ebx + 0xd7], 0
je 0x357e09
mov esi, dword [ebx + 0x34]
call fcn.00356d90
mov esi, 0x10
mov byte [esp + 0xd8], 0
cmp dword [esp + 0x50], esi
jb 0x357e29
mov eax, dword [esp + 0x3c]
push eax
call fcn.00438a36
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 0x357e84
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00438a36
add esp, 4
jmp 0x357e84
mov edx, dword [ebx + 0x3c]
mov eax, dword [edx + 0xc]
lea ecx, [ebx + 0x3c]
call eax
test esi, esi
je 0x357e7d
mov esi, dword [esi + 8]
or dword [ebx + 0xb4], 1
mov dword [ebx + 0x44], esi
mov esi, ebx
call fcn.00358210
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.00438a41
mov esp, ebp
pop ebp
ret 4