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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645bfa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
cmp dword [edi + 0x10c], 0
jne 0x5cd22f
call fcn.005caa80
cmp byte [edi + 0x15d], 0
jne 0x5cd801
mov ecx, dword [edi + 0xc]
push ebx
push esi
push 0x6b084c
mov byte [edi + 0x15d], 1
call fcn.005b21e0
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp dword [edi + 0x78], ebx
jle 0x5cd2cf
fldz
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, dword [edi + 0x108]
add esi, eax
test ecx, ecx
je 0x5cd2b8
push 1
push 1
push 1
lea eax, [esi + 0xc]
fstp st(0)
push eax
push 0
push ebx
push str.CRGoffset
call fcn.005bbae0
test al, al
je 0x5cd2b3
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 8]
push 1
push 1
push 1
push eax
push 1
push ebx
push str.CRGoffset
call fcn.005bbae0
fldz
test al, al
mov eax, dword [ebp - 0x14]
jne 0x5cd2be
jmp 0x5cd2b8
fldz
mov eax, dword [ebp - 0x14]
fst dword [esi + 0xc]
fst dword [esi + 8]
mov ecx, dword [ebp - 0x1c]
inc ebx
add eax, 0x60
mov dword [ebp - 0x14], eax
cmp ebx, dword [edi + 0x78]
jl 0x5cd265
fstp st(0)
mov ecx, dword [edi + 0xc]
push 0x6affd8
call fcn.005b21e0
mov edx, dword [edi + 0x78]
xor ebx, ebx
mov dword [ebp - 0x2c], eax
mov ecx, edx
mov dword [ebp - 0x18], ebx
test edx, edx
jle 0x5cd393
xor esi, esi
mov dword [ebp - 0x14], esi
jmp 0x5cd300
mov ecx, dword [ebp - 0x2c]
add esi, dword [edi + 0x108]
push 1
push 0
push ebx
push 0xffffffffffffffff
call fcn.005b2240
mov edi, 0xffffffeb
lea ebx, [esi + 0x15]
mov ecx, eax
sub edi, esi
mov dword [ebp - 0x28], ecx
mov esi, 0x20
lea esp, [esp]
push 1
push 1
push 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
push eax
push 0
lea eax, [edi + ebx]
push eax
push str.Cdecomp
call fcn.005bb810
mov ecx, dword [ebp - 0x1c]
lea ebx, [ebx + 1]
mov al, cl
sar ecx, 1
and cl, 1
and al, 1
add cl, byte [ebx + 0x20]
add al, byte [ebx - 1]
mov byte [ebx + 0x21], cl
mov ecx, dword [ebp - 0x28]
mov byte [ebx], al
sub esi, 1
jne 0x5cd330
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc ebx
add esi, 0x60
mov dword [ebp - 0x18], ebx
mov edx, dword [edi + 0x78]
mov ecx, edx
mov dword [ebp - 0x14], esi
cmp ebx, edx
jl 0x5cd300
cmp dword [edi + 8], 0
je 0x5cd79b
mov ebx, dword [edi + 0x11c]
test ebx, ebx
jne 0x5cd40b
mov esi, edx
xor ecx, ecx
shl esi, 5
add esi, edx
mov edx, 0x50
mov eax, esi
mov dword [ebp - 0x34], esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004b28b8
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x5cd3fc
push 0x5c79c0
push 0x5c74b0
push esi
lea ebx, [eax + 4]
mov dword [eax], esi
push 0x50
push ebx
call fcn.004b28c6
jmp 0x5cd3fe
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x11c], ebx
fld qword [0x6a7dc0]
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [edi + 0x78]
xor edx, edx
mov dword [ebp - 0x18], edx
test ecx, ecx
jle 0x5cd593
mov dword [ebp - 0x1c], edx
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x34], eax
test eax, eax
je 0x5cd46d
fstp st(0)
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx + 0x2c]
mov dword [ebx + 0x30], eax
mov dword [ecx + 0x30], 0
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebx + 0x34]
mov ecx, dword [ecx + 4]
call fcn.005f3070
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x34], eax
test eax, eax
jne 0x5cd435
fld qword [0x6a7dc0]
mov edx, dword [ebp - 0x18]
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov dword [ebx + 8], edx
mov ecx, dword [edi + 0xdc]
mov eax, dword [edi + 0xe4]
mov esi, dword [edi + 0xd8]
add eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0xe0]
add eax, esi
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x108]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov edi, dword [eax + 4]
test ecx, ecx
jg 0x5cd4b1
mov eax, ecx
cdq
idiv edi
jmp 0x5cd4b8
lea eax, [ecx - 1]
cdq
idiv edi
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov ecx, dword [ecx]
test esi, esi
jg 0x5cd4ce
mov eax, esi
cdq
idiv ecx
mov dword [ebp - 0x24], eax
jmp 0x5cd4da
lea eax, [esi - 1]
cdq
idiv ecx
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x30]
test eax, eax
jg 0x5cd4e8
cdq
idiv edi
mov esi, eax
jmp 0x5cd4ef
dec eax
cdq
idiv edi
lea esi, [eax + 1]
mov eax, dword [ebp - 0x34]
test eax, eax
jg 0x5cd4fb
cdq
idiv ecx
jmp 0x5cd500
dec eax
cdq
idiv ecx
inc eax
mov edx, dword [ebp - 0x14]
dec eax
mov ecx, dword [ebp - 0x20]
dec esi
add dword [ebp - 0x1c], 0x60
movzx edi, byte [edx + ecx + 0x15]
movzx ecx, byte [edx + ecx + 0x36]
mov edx, dword [ebp - 0x24]
dec edx
sar eax, cl
sar edx, cl
mov ecx, edi
mov edi, dword [ebp - 0x10]
sub eax, edx
mov edx, dword [ebp - 0x28]
dec edx
sar esi, cl
sar edx, cl
sub esi, edx
mov dword [ebx + 0x20], 0
imul esi
fst qword [ebx + 0x48]
fst qword [ebx + 0x40]
mov esi, dword [ebp - 0x14]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x2c], edx
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
inc edx
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
add ebx, 0x50
mov ecx, dword [edi + 0x78]
mov dword [ebp - 0x18], edx
cmp edx, ecx
jl 0x5cd429
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x21
jl 0x5cd416
cmp dword [edi + 8], 0
fstp st(0)
je 0x5cd79b
cmp dword [edi + 0x14c], 0
mov word [edi + 0x148], 0
jne 0x5cd628
lea esi, [ecx + 1]
mov edx, 0x328
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004b28b8
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x5cd616
push 0x5c7ad0
push 0x5c7570
push esi
lea ebx, [eax + 4]
mov dword [eax], esi
push 0x328
push ebx
call fcn.004b28c6
jmp 0x5cd618
xor ebx, ebx
mov ecx, dword [edi + 0x78]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x14c], ebx
or eax, 0xffffffff
mov dword [ebp - 0x18], eax
cmp ecx, eax
jle 0x5cd79b
mov esi, 0xfffffcd8
jmp 0x5cd640
mov ecx, dword [ebp - 0x2c]
push 0
push eax
push 0xffffffffffffffff
call fcn.005b24e0
mov edi, dword [edi + 0x14c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + edi + 0x32c]
test ecx, ecx
je 0x5cd678
push ecx
call fcn.004b28c1
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [esi + edi + 0x32c], 0
mov dword [esi + edi + 0x328], 0
mov dword [ebp - 0x28], 0
mov dword [esi + edi + 0x330], 0xffffffff
test eax, eax
je 0x5cd780
push 1
xor ebx, ebx
lea ecx, [ebp - 0x20]
push ebx
push ebx
push ecx
push ebx
push ebx
push str.Creslengths
mov ecx, eax
mov dword [ebp - 0x24], ebx
call fcn.005bb810
test al, al
je 0x5cd76a
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jg 0x5cd721
lea eax, [eax*2 + 8]
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
mov ebx, eax
add esp, 4
mov eax, dword [esi + edi + 0x32c]
test eax, eax
je 0x5cd718
mov ecx, dword [esi + edi + 0x328]
shl ecx, 3
push ecx
push eax
push ebx
call fcn.004b3b20
push dword [esi + edi + 0x32c]
call fcn.004b28c1
add esp, 0x10
mov dword [esi + edi + 0x32c], ebx
jmp 0x5cd728
mov ebx, dword [esi + edi + 0x32c]
mov ecx, dword [esi + edi + 0x328]
mov eax, dword [ebp - 0x20]
push 1
push 0
cdq
mov dword [ebx + ecx*8], eax
lea eax, [ebp - 0x20]
push 0
mov dword [ebx + ecx*8 + 4], edx
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
inc ebx
inc dword [esi + edi + 0x328]
push eax
push 0
push ebx
push str.Creslengths
mov dword [ebp - 0x24], ebx
call fcn.005bb810
test al, al
jne 0x5cd6c0
cmp dword [esi + edi + 0x328], 0
mov edi, dword [ebp - 0x10]
jle 0x5cd783
mov byte [edi + 0x148], 1
jmp 0x5cd783
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add esi, 0x328
mov ecx, dword [edi + 0x78]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, ecx
jl 0x5cd640
cmp byte [edi + 0x74], 0
je 0x5cd7ff
push dword [edi + 0x10c]
lea ebx, [edi + 0x6c]
push dword [edi + 0x80]
lea eax, [edi + 0x68]
push dword [edi + 0x108]
push ecx
push 0xffffffffffffffff
push dword [edi + 0xc]
push ebx
push eax
call fcn.005cbdf0
add esp, 0x20
cmp dword [ebx], 0
je 0x5cd7ff
xor esi, esi
cmp dword [edi + 0x80], esi
jle 0x5cd7ff
xor edx, edx
lea ebx, [ebx]
mov eax, dword [ebx]
lea edx, [edx + 0x28]
mov ecx, dword [edi + 0x10c]
inc esi
mov eax, dword [eax + 0x14]
mov eax, dword [eax + edx - 0x20]
mov dword [edx + ecx - 0x20], eax
cmp esi, dword [edi + 0x80]
jl 0x5cd7e0
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret