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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c35bc
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x6521c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x44], ebx
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x88], eax
test ecx, ecx
je 0x533c2b
mov eax, dword [ecx]
call dword [eax + 0x68]
mov ecx, dword [edi + 0x84]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + 1]
lea edx, [edx + edx*2]
shl edx, 2
mov dword [ebp - 0x68], edx
cmp edx, ecx
jle 0x533c5b
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
lea eax, [eax + eax*2]
shl eax, 2
sub edx, eax
mov dword [ebp - 0x68], edx
xor edi, edi
mov dword [ebp - 0x48], edi
test edx, edx
jle 0x5344b6
imul eax, esi, 0x2d0
mov dword [ebp - 0x58], 0x6433a8
mov dword [ebp - 0x54], eax
nop dword [eax + eax]
mov dword [ebp - 0x138], 0x5d52cc
mov dword [ebp - 0x128], 0x5d52d4
mov dword [ebp - 0xd0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
or ebx, 2
lea ecx, [ebp - 0x138]
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x5c], ebx
call fcn.004e1a70
lea eax, [ebp - 0x128]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x12c], eax
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x13c], eax
mov eax, dword [ebp - 0x138]
push 8
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x13c], eax
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005682a5
mov esi, eax
add esp, 4
test esi, esi
je 0x533d76
push 1
mov byte [ebp - 4], 5
call fcn.00566cad
add esp, 4
mov dword [esi + 4], eax
jmp 0x533d78
xor esi, esi
lea eax, [ebp - 0x11c]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
push edi
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 6
push str.sum_name_
push eax
call fcn.004cd780
add esp, 8
mov ecx, eax
call fcn.00507180
push 0xc0
call fcn.005682a5
mov esi, eax
add esp, 4
mov dword [ebp - 0x6c], esi
test esi, esi
je 0x534093
mov ecx, dword [ebp - 0xe4]
or ebx, 0x20
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x44], ebx
test cl, 2
jne 0x533eaa
mov eax, dword [ebp - 0x100]
mov edx, dword [eax]
test edx, edx
je 0x533eaa
mov eax, dword [ebp - 0x110]
cmp edx, dword [ebp - 0xe8]
cmovb edx, dword [ebp - 0xe8]
mov ecx, dword [eax]
sub edx, ecx
push edx
jmp 0x533ed0
test cl, 4
jne 0x533ed9
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
test edx, edx
je 0x533ed9
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax]
sub eax, ecx
add eax, edx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004b7cd0
mov ebx, dword [ebp - 0x5c]
and ebx, 0xffffffdf
mov ecx, dword [ebp - 0x58]
or ebx, 0x11
mov dword [ebp - 4], 9
mov dword [ebp - 0x44], ebx
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx + 4]
mov ecx, esi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b4ff0
mov dword [esi + 0x48], 1
mov dword [esi + 0x4c], 1
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi], vtable.ButtonActor.0
mov dword [ebp - 4], 0xa
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
lea eax, [esi + 0x7c]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov dword [ebp - 0x84], eax
mov byte [eax], 0
lea eax, [esi + 0x94]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov dword [ebp - 0x50], eax
mov byte [eax], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.004cac10
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esi + 0x54], ecx
mov edi, dword [esi + 0x58]
mov dword [esi + 0x58], edx
test edi, edi
je 0x533fe1
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x533fe1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x533fe1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x13c]
test edi, edi
je 0x53400c
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x53400c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x53400c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x140], ecx
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0x144], ecx
mov eax, dword [esi + 0x54]
mov dword [eax + 0x148], 0x43c90000
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x84]
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0xb0], 0
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x53406f
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x534084
mov eax, dword [eax]
mov byte [eax], 0
mov dword [esi + 0xac], 0
jmp 0x534095
xor esi, esi
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xf
push esi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.0052dcd0
mov dword [ebp - 4], 0x11
test bl, 1
je 0x53410b
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffe
cmp edx, 0x10
jb 0x5340f9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5340ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5344df
push edx
push ecx
call fcn.005682d5
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x88]
mov edi, ebx
push str..prs
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + ecx*4]
add eax, 0x24
add eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004d1db0
add esp, 0xc
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x148]
push edx
mov byte [ebp - 4], 0x12
mov eax, dword [ecx]
call dword [eax + 0x54]
mov esi, dword [eax]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
add eax, dword [0x643118]
or ebx, 0x80
push eax
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x44], ebx
call fcn.004d7550
cmp dword [0x64311c], 0x10
lea ecx, [ebp - 0x28]
push dword [0x643118]
mov eax, 0x643108
cmovae eax, dword [0x643108]
push eax
call fcn.004b7b70
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.004b7b70
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push 1
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [ebp - 0x14]
mov ebx, edi
and ebx, 0xffffff7f
mov byte [ebp - 4], 0x13
cmp edx, 0x10
jb 0x534206
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5341fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5344df
push edx
push ecx
call fcn.005682d5
add esp, 8
mov esi, dword [ebp - 0x144]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x12
test esi, esi
je 0x534247
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x534247
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x534247
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x64]
push 0x10
mov dword [edi + 0x74], 1
mov dword [edi + 0x68], 0
call fcn.005682a5
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
je 0x534284
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax], vtable.function_callback_vm1_class_CCgEventView__int_.0
mov dword [eax + 4], 0x53193e
mov dword [eax + 0xc], ecx
jmp 0x534286
xor eax, eax
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
mov dword [ebp - 0x78], 0
call fcn.004bc2d0
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x5342ab
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x7c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 0x64]
mov edi, dword [edi + 0x60]
mov dword [eax + 0x60], esi
test edi, edi
je 0x5342df
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x5342df
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x5342df
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test esi, esi
je 0x534304
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x534304
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x534304
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
test esi, esi
je 0x53431d
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], esi
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x74]
push edx
mov byte [ebp - 4], 0x15
mov ecx, dword [eax + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, dword [ebp - 0x70]
test edi, edi
je 0x534361
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x534361
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x534361
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x11
cmp edx, 0x10
jb 0x534399
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x53438f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5344df
push edx
push ecx
call fcn.005682d5
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test esi, esi
je 0x5343d0
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5343d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5343d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x13c], eax
lea ecx, [ebp - 0x120]
call fcn.004ce520
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x13c], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x12c], eax
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x13c], eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0x16
push eax
mov dword [ebp - 0xd0], vtable.std::ios_base.0
call fcn.00566f85
mov edi, dword [ebp - 0x48]
add esp, 4
add dword [ebp - 0x54], 0x3c
inc edi
add dword [ebp - 0x58], 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x48], edi
cmp edi, dword [ebp - 0x68]
jl 0x533c80
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x7c]
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056857d
mov esp, ebp
pop ebp
ret 0xc
call fcn.0058546b
int3