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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], 0x66dc40
mov dword [ebp - 4], 0x66dc40
mov dword [ebp - 0x10], 0x66dc40
push ebx
call fcn.00655c99
add esp, 4
cmp eax, 0
jne 0x568436
push ebx
push 0x69f3ec
call fcn.004c1470
add esp, 8
push eax
call fcn.0065d308
add esp, 4
mov eax, 0
jmp 0x568e6e
push ebx
push 0x69f43c
call fcn.004c1470
add esp, 8
mov ebx, eax
push 1
push 1
push ebx
call fcn.0065650c
add esp, 0xc
mov dword [ebp - 0x2c], eax
push 0x67701c
call fcn.004c2770
add esp, 4
mov dword [ebp - 8], eax
mov esi, dword [0x681ad0]
mov eax, esi
push eax
mov eax, dword [eax]
call dword [eax + 0x8c]
add esp, 4
mov ebx, eax
jmp 0x5684ee
mov eax, ebx
push 0x675424
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
add esp, 4
push eax
call fcn.004c27b0
add esp, 8
mov edx, eax
cmp edx, 0x66dc40
je 0x5684ee
cmp dword [edx + 0x14], 0x52
jne 0x5684ee
mov eax, dword [edx + 0x110]
cmp eax, 0
setne al
movzx eax, al
cmp eax, 0
je 0x5684ca
mov eax, dword [edx + 0x110]
cmp eax, 3
setne al
movzx eax, al
cmp eax, 0
je 0x5684de
mov eax, dword [edx + 0x110]
cmp eax, 0x63
setne al
movzx eax, al
cmp eax, 0
je 0x5684ee
push edx
call fcn.004f7979
add esp, 4
jmp 0x5684ee
mov eax, ebx
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
add esp, 4
cmp eax, 0
jne 0x56847e
push 0x677650
call fcn.004c2770
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
lea eax, [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
lea eax, [eax + 0xc]
push eax
push dword [0x682970]
call fcn.00568385
add esp, 0xc
mov ebx, dword [ebp - 4]
push dword [0x680a68]
call fcn.004c1310
add esp, 4
push eax
call fcn.004c1730
add esp, 4
add eax, 0x2e00
mov dword [ebx + 0x14], eax
cmp dword [0x680a6c], 0xa
jge 0x568584
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x14]
push dword [0x680a6c]
call fcn.004c1310
add esp, 4
push eax
call fcn.004c1730
add esp, 4
shl eax, 0x18
add eax, 0x300000
add ebx, eax
mov dword [esi + 0x14], ebx
jmp 0x5685c4
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
push dword [0x680a6c]
call fcn.004c1310
add esp, 4
movzx eax, word [eax + 0xc]
mov eax, eax
shl eax, 0x10
mov ebx, eax
push dword [0x680a6c]
call fcn.004c1310
add esp, 4
movzx eax, word [eax + 0xe]
mov eax, eax
shl eax, 0x18
add ebx, eax
add esi, ebx
mov dword [edi + 0x14], esi
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0xa8
mov edx, dword [ebp - 4]
mov eax, dword [0x681e54]
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x681e58]
mov dword [edx + 0x1c], eax
push 0
push 0
push dword [0x682bdc]
push dword [0x682bd8]
call fcn.004c1c80
add esp, 0x10
cmp eax, 0
je 0x568615
mov dword [0x682bd8], 0xbd3580
mov dword [0x682bdc], 0
push 0
push 0x3e8
push dword [0x682bdc]
push dword [0x682bd8]
lea eax, [ebp - 0x18]
push eax
call fcn.004c1a30
add esp, 0x14
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 0xdc
mov edx, dword [ebp - 4]
mov eax, dword [0x6829dc]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x6829d8]
mov dword [edx + 0x30], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x6829e4]
mov dword [edx + 0x34], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x6829f0]
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x681b84]
mov dword [edx + 0x3c], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x681b88]
mov dword [edx + 0x40], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x681b8c]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 0
mov edx, dword [ebp - 4]
mov eax, dword [0x682b7c]
mov dword [edx + 0x50], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x68385c]
mov dword [edx + 0x54], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x6835b8]
mov dword [edx + 0x58], eax
cmp dword [0x6835b4], 0
jge 0x56870b
push dword [0x6835b4]
call fcn.004c1310
add esp, 4
push eax
push 0x69f464
call fcn.004c1470
add esp, 8
push eax
call fcn.004e7d92
add esp, 4
mov dword [0x6835b4], 0
mov eax, 0
jmp 0x568e6e
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x5c], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x682948]
mov dword [edx + 0x68], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x68294c]
mov dword [edx + 0x6c], eax
push 0xa8
mov eax, dword [ebp - 4]
lea eax, [eax + 8]
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push 0xa8
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
mov eax, dword [ebp - 8]
lea eax, [eax + 0xc]
push eax
mov eax, dword [ebp - 8]
lea eax, [eax + 8]
push eax
push dword [0x682990]
call fcn.00568385
add esp, 0xc
push 8
mov eax, dword [ebp - 8]
lea eax, [eax + 8]
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push 8
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
mov dword [ebp - 0x24], 0
mov edi, dword [0x68385c]
jmp 0x56894c
mov edx, dword [0x683858]
mov eax, dword [ebp - 0x24]
mov esi, dword [edx + eax*4 + 0x18]
mov eax, dword [esi + 8]
push dword [eax + 0x10]
mov eax, dword [esi + 8]
lea eax, [eax + 0x18]
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
mov eax, dword [esi + 8]
push dword [eax + 0x10]
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
lea eax, [esi + 0x1c]
mov ebx, 4
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
mov ebx, 4
lea eax, [esi + 0x20]
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
mov ebx, 4
lea eax, [esi + 0x24]
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
mov ebx, 4
lea eax, [esi + 0x28]
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
lea eax, [esi + 0x2c]
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
lea eax, [esi + 0x30]
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
lea eax, [esi + 0x34]
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
lea eax, [esi + 0x38]
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
lea eax, [esi + 0x3c]
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
lea eax, [esi + 0x40]
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
lea eax, [esi + 0x44]
push ebx
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
add dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], edi
jl 0x5687a6
mov eax, dword [ebp - 8]
lea eax, [eax + 0xc]
push eax
mov eax, dword [ebp - 8]
lea eax, [eax + 8]
push eax
push dword [0x6829b0]
call fcn.00568385
add esp, 0xc
push 8
mov eax, dword [ebp - 8]
lea eax, [eax + 8]
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push 8
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
mov dword [ebp - 0x24], 0
mov ebx, dword [0x6835b8]
jmp 0x5689dc
mov edx, dword [0x6835b0]
mov eax, dword [ebp - 0x24]
mov eax, dword [edx + eax*4 + 0x18]
mov dword [ebp - 0xc], eax
push 0x60
mov eax, dword [ebp - 0xc]
lea eax, [eax + 8]
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push 0x60
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
add dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], ebx
jl 0x5689a4
mov eax, dword [ebp - 8]
lea eax, [eax + 0xc]
push eax
mov eax, dword [ebp - 8]
lea eax, [eax + 8]
push eax
push dword [0x6829d0]
call fcn.00568385
add esp, 0xc
push 8
mov eax, dword [ebp - 8]
lea eax, [eax + 8]
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
push 8
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
push 0x677a50
call fcn.004c2770
add esp, 4
mov dword [ebp - 0x10], eax
push 0xdc
mov eax, dword [ebp - 0x10]
lea eax, [eax + 8]
push eax
call fcn.0065a460
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [0x681e58]
mov dword [ebp - 0x30], eax
jmp 0x568e50
mov edi, 0
mov eax, dword [0x681e54]
mov dword [ebp - 0x28], eax
jmp 0x568e43
mov ecx, dword [0x681e48]
mov eax, edi
mov edx, dword [0x681e48]
imul eax, dword [edx + 0x18]
add eax, dword [ebp - 0x20]
mov esi, dword [ecx + eax*4 + 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x2c]
mov dword [edx + 8], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 8]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xf0]
mov dword [edx + 0x70], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xf4]
mov dword [edx + 0xd0], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xfc]
mov dword [edx + 0xcc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x34]
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x3c]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x40]
mov dword [edx + 0x7c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x104]
mov dword [edx + 0x90], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x5c]
mov dword [edx + 0x2c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x60]
mov dword [edx + 0x50], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x64]
mov dword [edx + 0x54], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x68]
mov dword [edx + 0x58], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x128]
mov dword [edx + 0xe0], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x120]
mov dword [edx + 0xd8], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x124]
mov dword [edx + 0xdc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x70]
mov dword [edx + 0x5c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x74]
mov dword [edx + 0x60], eax
mov ebx, dword [ebp - 0x10]
fld dword [esi + 0x78]
sub esp, 8
fstp qword [esp]
call fcn.0065d35c
add esp, 8
mov dword [ebx + 0x64], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x118]
mov dword [edx + 0xd4], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x10c]
mov dword [edx + 0x68], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x110]
mov dword [edx + 0x6c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x88]
mov dword [edx + 0x34], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xb4]
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xb8]
mov dword [edx + 0x3c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xbc]
mov dword [edx + 0x40], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xc0]
mov dword [edx + 0x74], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xc4]
mov dword [edx + 0x78], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0xcc]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp eax, 1
sete al
movzx eax, al
cmp eax, 0
je 0x568c15
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
cmp eax, 0
sete al
movzx eax, al
cmp eax, 0
je 0x568d2d
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x70], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xd0], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xcc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x7c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x90], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x54], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x58], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xe0], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xd8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xdc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x60], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xd4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x6c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x78], 0
mov ecx, dword [0x681e48]
mov eax, edi
mov edx, dword [0x681e48]
imul eax, dword [edx + 0x18]
add eax, dword [ebp - 0x20]
mov eax, dword [ecx + eax*4 + 0x1c]
mov edx, dword [eax + 0x1c]
cmp edx, 0x66dc40
jne 0x568d9c
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 0
jmp 0x568e2d
add dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x9c]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18c]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x140]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x114]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14c]
mov dword [ecx + 0x44], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x150]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x17c]
mov dword [ecx + 0x80], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x180]
mov dword [ecx + 0x84], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x184]
mov dword [ecx + 0x88], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x188]
mov dword [ecx + 0x8c], eax
push dword [ebp - 0x2c]
push 0xdc
push dword [ebp - 0x1c]
call fcn.0056a1c3
add esp, 0xc
add edi, 1
cmp edi, dword [ebp - 0x28]
jl 0x568a75
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x20], eax
jl 0x568a63
push dword [ebp - 0x2c]
call fcn.0065c833
add esp, 4
mov eax, 0
jmp 0x568e6e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret