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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x84]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x9c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005b0420
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5c35f6
jmp 0x5c4154
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov cl, byte [eax + 8]
mov byte [edx + 0x88], cl
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x88]
test eax, eax
je 0x5c3691
mov ecx, dword [ebp - 8]
add ecx, 0xc
mov edx, dword [ebp + 8]
add edx, 0x8c
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0x9c], eax
mov dword [edx + 0xa0], ecx
mov eax, dword [ebp + 8]
add eax, 0x8c
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x2c]
push eax
call fcn.005af4d0
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x9c
push edx
call fcn.005adfb0
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0xdc], ecx
cmp dword [ebp - 0xdc], 0x636f6d70
je 0x5c3ae2
cmp dword [ebp - 0xdc], 0x6f75746c
je 0x5c36d6
jmp 0x5c3e95
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x88]
test eax, eax
je 0x5c3707
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa0]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x9c]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x6c
push edx
call fcn.005aac80
add esp, 0xc
mov eax, dword [ebp - 0x14]
movsx ecx, word [eax + 0x6e]
add ecx, 4
je 0x5c3736
mov edx, dword [ebp - 0x18]
movsx eax, word [edx + 0x16]
mov ecx, dword [ebp - 0x18]
movsx edx, word [ecx + 0x3a]
add eax, edx
mov ecx, dword [ebp - 0x14]
movsx edx, word [ecx + 0x6e]
lea eax, [eax + edx + 4]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 4]
ja 0x5c376e
mov edx, dword [ebp - 0x14]
movsx eax, word [edx + 0x6c]
test eax, eax
je 0x5c3762
mov ecx, dword [ebp - 0x18]
movsx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x18]
movsx ecx, word [eax + 0x38]
add edx, ecx
mov eax, dword [ebp - 0x14]
movsx ecx, word [eax + 0x6c]
add edx, ecx
mov eax, dword [ebp - 0x18]
cmp edx, dword [eax + 8]
ja 0x5c376e
mov dword [ebp - 0xe0], 0
jmp 0x5c3793
mov ecx, dword [ebp - 0x14]
movsx edx, word [ecx + 0x6c]
push edx
mov eax, dword [ebp - 0x14]
movsx ecx, word [eax + 0x6e]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.005aef80
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5c37a7
jmp 0x5c4154
mov ecx, dword [ebp - 0x14]
movsx edx, word [ecx + 0x6e]
shl edx, 3
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x70]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x3c]
push eax
call fcn.004f4690
add esp, 0xc
mov ecx, dword [ebp - 0x14]
movsx edx, word [ecx + 0x6c]
shl edx, 1
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x44]
push eax
call fcn.004f4690
add esp, 0xc
mov ecx, dword [ebp - 0x14]
movsx edx, word [ecx + 0x6e]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x74]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x40]
push eax
call fcn.004f4690
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ax, word [edx + 0x6e]
mov word [ecx + 0x3a], ax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ax, word [edx + 0x6c]
mov word [ecx + 0x38], ax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
mov dword [ecx + 0xa4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xa8], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.005acb90
add esp, 8
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xac], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0xb0], ecx
mov edx, dword [ebp - 0x14]
movsx eax, word [edx + 0x6e]
test eax, eax
jne 0x5c3884
jmp 0x5c3e9c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
cmp dword [edx + 0x1c], 0
je 0x5c38ab
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x38
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 1
je 0x5c3a5d
mov ecx, dword [ebp - 0x1c]
add ecx, 0x2c
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
imul edx, edx, 0x30
mov eax, dword [ebp - 0x48]
lea ecx, [eax + edx - 0x30]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0xc], 1
jle 0x5c39f5
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x64]
and ecx, 4
jne 0x5c39f5
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0xac]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 8]
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x40], 0x18
jge 0x5c3941
mov eax, dword [ebp - 0x38]
sub eax, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x4c], 0x18
jge 0x5c3950
mov ecx, dword [ebp - 0x30]
add ecx, 8
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x38]
add edx, 0x20
and edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax + 0xa4], edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x20
and ecx, 0xffffffc0
mov edx, dword [ebp + 8]
mov dword [edx + 0xac], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
cmp ecx, dword [ebp - 0x3c]
jl 0x5c399d
cmp dword [ebp - 0x40], 0
jle 0x5c399d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa4]
sub eax, 0x40
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 8]
jg 0x5c39c9
cmp dword [ebp - 0x4c], 0
jle 0x5c39c9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xac]
add eax, 0x40
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xac], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa4]
sub eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x90], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xac]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x94], eax
jmp 0x5c3a5b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xac]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x54]
add eax, 0x20
and eax, 0xffffffc0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa4], eax
mov edx, dword [ebp - 0x50]
add edx, 0x20
and edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax + 0xac], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
sub edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x90], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xac]
sub edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x94], edx
jmp 0x5c3ad1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x70]
mov ecx, dword [ebp - 0x5c]
lea edx, [ecx + eax + 0x20]
and edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax + 0xa4], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x74]
mov eax, dword [ebp - 0x58]
lea ecx, [eax + edx + 0x20]
and ecx, 0xffffffc0
mov edx, dword [ebp + 8]
mov dword [edx + 0xac], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
sub ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x90], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
sub ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x94], ecx
mov eax, dword [ebp - 0x18]
push eax
call fcn.005b09e0
add esp, 4
jmp 0x5c3e9c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x18]
movsx ecx, word [eax + 0x16]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.005aeed0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5c3b16
jmp 0x5c4154
mov ecx, dword [ebp - 0x70]
shl ecx, 5
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x84]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x58]
push edx
call fcn.004f4690
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x54], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], 0
jmp 0x5c3b5a
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x70]
jae 0x5c3e93
mov eax, dword [ebp - 0x60]
shl eax, 5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x34]
add edx, eax
mov eax, dword [ebp - 0x68]
shl eax, 5
add edx, eax
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
mov eax, dword [ecx + 0xa8]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xac]
mov eax, dword [ecx + 0xb0]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x18]
movsx edx, word [ecx + 0x16]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp + 0x18]
add eax, 1
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005c3590
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5c3bee
jmp 0x5c4154
mov eax, dword [ebp - 0x60]
shl eax, 5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x34]
add edx, eax
mov eax, dword [ebp - 0x68]
shl eax, 5
add edx, eax
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x64]
movzx edx, word [ecx + 4]
and edx, 0x200
je 0x5c3c4b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
mov edx, dword [eax + 0xa8]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
mov edx, dword [eax + 0xb0]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], edx
jmp 0x5c3c7e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x94]
mov dword [eax + 0xa4], ecx
mov edx, dword [ebp - 0x90]
mov dword [eax + 0xa8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x84]
mov dword [eax + 0xac], ecx
mov edx, dword [ebp - 0x80]
mov dword [eax + 0xb0], edx
mov eax, dword [ebp - 0x18]
movsx ecx, word [eax + 0x16]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
sub edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x64]
movzx ecx, word [eax + 4]
and ecx, 0xc8
je 0x5c3d07
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x88]
lea edx, [eax + ecx*8]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x98]
lea edx, [ecx + eax*8]
mov dword [ebp - 0x9c], edx
jmp 0x5c3ce1
mov eax, dword [ebp - 0x98]
add eax, 8
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [ebp - 0x9c]
jae 0x5c3d07
mov edx, dword [ebp - 0x64]
add edx, 0x10
push edx
mov eax, dword [ebp - 0x98]
push eax
call fcn.005adfb0
add esp, 8
jmp 0x5c3cd2
mov ecx, dword [ebp - 0x64]
movzx edx, word [ecx + 4]
and edx, 2
jne 0x5c3dcc
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xa8]
cmp ecx, dword [ebp - 0x88]
jae 0x5c3d4e
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0x8c]
jb 0x5c3d5a
mov dword [ebp - 4], 0x15
jmp 0x5c4154
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x6c]
lea ecx, [edx + eax*8]
mov edx, dword [ebp - 0xa8]
lea eax, [ecx + edx*8]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x6c]
lea ecx, [edx + eax*8]
mov edx, dword [ebp - 0xac]
lea eax, [ecx + edx*8]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ecx]
sub eax, dword [edx]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
mov dword [ebp - 0x78], eax
jmp 0x5c3e22
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 8]
push ecx
call fcn.005acb90
add esp, 8
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xc]
push eax
call fcn.005acb90
add esp, 8
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x7c]
add edx, 0x20
and edx, 0xffffffc0
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x78]
add eax, 0x20
and eax, 0xffffffc0
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
mov edx, dword [ecx]
mov dword [ebp - 0xc0], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xbc], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0xb8], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0xbc]
lea ecx, [eax + edx*8]
mov dword [ebp - 0xbc], ecx
mov dx, word [ebp - 0x8c]
mov word [ebp - 0xbe], dx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
lea edx, [ebp - 0xc0]
push edx
call fcn.005aac80
add esp, 0xc
jmp 0x5c3b51
jmp 0x5c3e9c
mov dword [ebp - 4], 7
cmp dword [ebp + 0x18], 0
jne 0x5c4154
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x2c]
sub edx, dword [ecx + 0x20]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x30]
sub edx, dword [ecx + 0x24]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
call fcn.005acb90
add esp, 8
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call fcn.005acb90
add esp, 8
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x88]
test ecx, ecx
je 0x5c3f42
mov edx, dword [ebp + 8]
add edx, 0x8c
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x14
push eax
call fcn.005af810
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0x8c
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.005adfb0
add esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0xa4], 0
je 0x5c3f6b
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
neg edx
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x14
push eax
call fcn.005aac80
add esp, 0xc
lea ecx, [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x14
push edx
call fcn.005aacf0
add esp, 8
mov eax, dword [ebp - 0xd8]
and eax, 0xffffffc0
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd4]
and ecx, 0xffffffc0
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd0]
add edx, 0x3f
and edx, 0xffffffc0
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xcc]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xd0]
sub ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xd8]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xcc]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0xc8]
and eax, 0xffffffc0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0xcc]
add edx, dword [ebp - 0xc4]
and edx, 0xffffffc0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
and eax, 4
jne 0x5c405c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.005c1e80
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x5c4094
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x20]
test eax, eax
je 0x5c4094
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.005acb90
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x90], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x94], 0
jmp 0x5c40b5
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x28], 0
je 0x5c40b5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xac]
sub edx, dword [ecx + 0xa4]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x34]
push ecx
call fcn.005acb90
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
add ecx, 0x20
and ecx, 0xffffffc0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x34]
add ecx, 0x20
and ecx, 0xffffffc0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x34], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call fcn.005ac820
add esp, 4
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call fcn.005b08c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5c4120
jmp 0x5c4154
mov edx, dword [ebp - 8]
mov eax, dword [edx]
add eax, 0x14
mov ecx, dword [ebp - 0x14]
add ecx, 0x6c
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x48], 0x6f75746c
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret