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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63e6b7
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x6db1a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor eax, eax
mov dword [ebp - 0x24], eax
mov ecx, dword [edi + 0x5c]
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x575889
mov eax, dword [ecx]
call dword [eax + 0x64]
mov ecx, dword [edi + 0x64]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, eax
lea ecx, [edx + 1]
shl ecx, 4
and esi, 0x8000000f
jns 0x5758a4
dec esi
or esi, 0xfffffff0
inc esi
cmp ecx, eax
cmovle esi, ecx
xor ebx, ebx
mov dword [ebp - 0x34], esi
test esi, esi
jle 0x575d7f
mov eax, dword [ebp + 8]
mov edi, 0x6ce2f8
mov dword [ebp - 0x18], edi
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebp - 0x2c], eax
lea eax, [edx + edx*4]
shl eax, 6
mov dword [ebp - 0x14], eax
jmp 0x5758d8
mov edi, dword [ebp - 0x18]
mov eax, dword [0x6ce014]
mov dword [ebp + 0xc], eax
push ebx
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push str.sum_name__d
push eax
call fcn.004fd790
push 0x84
call fcn.005b9a43
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x575a3e
mov eax, dword [edi]
mov ecx, esi
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0xc]
push eax
call fcn.004f8a60
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], 1
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi], vtable.ButtonActor.0
mov eax, dword [0x6ce014]
mov dword [esi + 0x64], eax
mov eax, dword [0x6ce014]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0050b450
push eax
lea ecx, [esi + 0x40]
call fcn.004fb680
mov edi, dword [ebp - 0x54]
mov byte [ebp - 4], 7
test edi, edi
je 0x5759d2
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5759d2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5759d2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
mov dword [eax + 0xe8], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0xec], ecx
lea ecx, [esi + 0x64]
mov eax, dword [esi + 0x40]
mov dword [eax + 0xf0], 0x43c90000
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 1
mov dword [esi + 0x54], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 1
call fcn.004fd710
lea ecx, [esi + 0x6c]
mov dword [esi + 0x68], 0
call fcn.004fd710
jmp 0x575a40
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00559620
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov dword [eax], edx
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 9
test edi, edi
je 0x575a98
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x575a98
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x575a98
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push esi
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.005025f0
add esp, 0xc
mov edi, dword [ebp - 0x1c]
push str..prs
mov byte [ebp - 4], 0xa
mov eax, dword [edi + 0x94]
add eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, 0x10
add eax, dword [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004fb790
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x60]
push edx
mov byte [ebp - 4], 0xb
mov eax, dword [ecx]
call dword [eax + 0x54]
mov esi, dword [eax]
mov eax, dword [0x6ce014]
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
or eax, 2
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
push eax
push dword [eax - 8]
mov eax, dword [0x6e4960]
push eax
push dword [eax - 8]
call fcn.004fd410
mov eax, dword [esi]
lea ecx, [ebp + 0x10]
push 1
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x575b4c
lea ecx, [eax - 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x575b4c
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xe
test esi, esi
je 0x575b83
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x575b83
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x575b83
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebp - 0x40]
push 0x10
mov byte [ebp - 4], 0xb
mov dword [eax + 0x48], 1
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x50], 0
call fcn.005b9a43
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
test esi, esi
je 0x575bc3
mov dword [esi], vtable.function_callback_vm1_class_CCgEventView__int_.0
mov dword [esi + 4], 0x573dfd
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
jmp 0x575bc5
xor esi, esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call fcn.004f6e30
mov edx, dword [ebp - 0x44]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov dword [eax], edx
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x10
test edi, edi
je 0x575c1d
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x575c1d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x575c1d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push esi
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.005025f0
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x48]
add esp, 0xc
lea ecx, [ecx + 0x70]
push eax
call fcn.0055dac0
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x575c71
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x575c71
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x575c71
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x575c8d
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov edi, dword [ebp - 0x1c]
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 0x12
mov ecx, dword [edi + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x13
test esi, esi
je 0x575cd7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x575cd7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x575cd7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x575d03
lea ecx, [eax - 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x575d03
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x14
test esi, esi
je 0x575d3a
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x575d3a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x575d3a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x575d6d
lea ecx, [eax - 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x575d6d
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
add dword [ebp - 0x14], 0x14
inc ebx
add dword [ebp - 0x18], 8
cmp ebx, dword [ebp - 0x34]
jl 0x5758d5
mov ecx, dword [edi + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc